/* ========================================
   WOODEN PUZZLE-BOX MARKETPLACE - MAIN CSS
   ======================================== */

/* Bootstrap 5 CDN Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Lato:wght@300;400;700&display=swap');

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-wood: #804812;
  --primary-mahogany: #b5380e;
  --primary-oak: #caa88e;
  --primary-walnut: #594438;
  --primary-cedar: #84bb82;
  
  /* Light Shades */
  --light-wood: #db800c;
  --light-mahogany: #f48554;
  --light-oak: #ffdeb5;
  --light-walnut: #7c554b;
  --light-cedar: #c3eac3;
  
  /* Dark Shades */
  --dark-wood: #573717;
  --dark-mahogany: #7e000b;
  --dark-oak: #c09e00;
  --dark-walnut: #2c1a18;
  --dark-cedar: #698043;
  
  /* Gradients */
  --gradient-wood: linear-gradient(135deg, var(--primary-wood), var(--light-wood));
  --gradient-mahogany: linear-gradient(135deg, var(--primary-mahogany), var(--light-mahogany));
  --gradient-oak: linear-gradient(135deg, var(--primary-oak), var(--light-oak));
  --gradient-nature: linear-gradient(135deg, var(--primary-cedar), var(--primary-oak));
  --gradient-dark: linear-gradient(135deg, var(--dark-walnut), var(--primary-wood));
  
  /* Typography */
  --font-primary: 'Merriweather', serif;
  --font-secondary: 'Lato', sans-serif;
  
  /* Conservative Sizes */
  --navbar-brand-size: 1.2rem;
  --h1-size: 2rem;
  --p-size: 0.95rem;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--p-size);
  line-height: 1.6;
  color: var(--dark-walnut);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--h1-size);
  color: var(--dark-wood);
}

h2 {
  font-size: 1.80rem;
  color: var(--primary-mahogany);
}

h3 {
  font-size: 1.57rem;
  color: var(--primary-wood);
}

p {
  font-size: var(--p-size);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--primary-mahogany);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dark-mahogany);
  text-decoration: underline;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.navbar-brand {
  font-size: var(--navbar-brand-size);
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--dark-wood);
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(13px);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

/* Bootstrap 5 Navbar Toggler Styling */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(176, 58, 0, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2899, 69, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

.navbar-nav .nav-link {
  color: var(--dark-walnut);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 29px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: var(--gradient-oak);
  color: var(--dark-wood);
  transform: translateY(-7px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  min-height: 100vh;
  background: var(--gradient-nature);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 2710px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-dark);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.57rem;
}

.hero-subtitle {
  font-size: 1.53rem;
  color: var(--primary-mahogany);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.22rem;
  color: var(--dark-walnut);
  max-width: 500px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 21px;
  box-shadow: 0 23px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.63rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-mahogany);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.23rem;
  color: var(--primary-mahogany);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--dark-walnut);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
  background: linear-gradient(135deg, var(--light-oak), var(--light-cedar));
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-mahogany);
}

.feature-card:hover {
  transform: translateY(-11px);
  box-shadow: 0 23px 40px rgba(0, 0, 0, 0.15);
}

.feature-card h4 {
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--dark-walnut);
  margin-bottom: 0;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  background: white;
}

.service-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-17px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-mahogany);
}

.service-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-content {
  padding: 1.5rem;
}

.service-name {
  font-size: 1.41rem;
  font-weight: 700;
  color: var(--primary-wood);
  margin-bottom: 0.59rem;
}

.service-desc {
  color: var(--dark-walnut);
  margin-bottom: 1rem;
  font-size: 1.01rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.service-features li {
  padding: 0.3rem 0;
  color: var(--dark-walnut);
  font-size: 0.89rem;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-cedar);
  margin-right: 0.5rem;
}

.service-price {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--primary-mahogany);
  text-align: center;
  background: var(--gradient-oak);
  padding: 0.75rem;
  border-radius: 11px;
  margin-top: 1rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
  background: var(--gradient-nature);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 26px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-mahogany);
  margin-bottom: 1rem;
}

/* ========================================
   PRICE PLAN SECTION
   ======================================== */

.priceplan-section {
  background: white;
}

.price-card {
  background: white;
  border-radius: 21px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 3px solid transparent;
}

.price-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-mahogany);
}

.price-card.featured {
  border-color: var(--primary-mahogany);
  background: var(--gradient-oak);
}

.price-name {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-mahogany);
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--dark-walnut);
}

.price-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-cedar);
  margin-right: 0.5rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
  background: linear-gradient(135deg, var(--light-oak), var(--light-cedar));
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 19px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.team-member:hover {
  transform: translateY(-14px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background-size: cover;
  background-position: center;
  border: 5px solid var(--primary-mahogany);
}

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-wood);
  margin-bottom: 0.70rem;
}

.team-role {
  color: var(--primary-mahogany);
  font-style: italic;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.reviews-section {
  background: white;
}

.review-card {
  background: var(--gradient-oak);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-text {
  font-style: italic;
  color: var(--dark-walnut);
  margin-bottom: 1.73rem;
  font-size: 1rem;
}

.review-text::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-mahogany);
  margin-right: 0.5rem;
}

.review-author {
  font-weight: 700;
  color: var(--primary-wood);
  text-align: right;
}

/* ========================================
   CASE STUDY SECTION
   ======================================== */

.casestudy-section {
  background: var(--gradient-nature);
}

.case-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-card:hover {
  background: white;
  transform: translateY(-14px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.case-title {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
  background: white;
}

.process-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-mahogany);
  transition: all 0.3s ease;
}

.process-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--gradient-mahogany);
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ========================================
   TIMELINE SECTION
   ======================================== */

.timeline-section {
  background: linear-gradient(135deg, var(--light-oak), var(--light-cedar));
}

.timeline-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-mahogany);
  border-radius: 50%;
  border: 4px solid white;
}

/* ========================================
   CAREER SECTION
   ======================================== */

.career-section {
  background: white;
}

.career-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-cedar);
  transition: all 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-left-color: var(--primary-mahogany);
}

/* ========================================
   CORE INFO SECTION
   ======================================== */

.coreinfo-section {
  background: var(--gradient-nature);
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-card i {
  font-size: 2.64rem;
  color: var(--primary-mahogany);
  margin-bottom: 1rem;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.contact-section {
  background: white;
}

.contact-form {
  background: var(--gradient-oak);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--light-oak);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-mahogany);
  box-shadow: 0 0 0 0.2rem rgba(214, 90, 0, 0.25);
}

/* Bootstrap 5 Form Validation */
.form-control.is-valid {
  border-color: var(--primary-cedar);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.8-.77-.8-.77-.8.77.8.77ZM1.5 5.17l1.36-1.36L4.22 5.17l1.36-1.36L6.45 3 4.22.77 1.5 3.4 1.5 5.17Z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus {
  border-color: var(--primary-cedar);
  box-shadow: 0 0 0 0.2rem rgba(143, 188, 135, 0.25);
}

.form-control.is-invalid {
  border-color: var(--primary-mahogany);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4L5.8 7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
  border-color: var(--primary-mahogany);
  box-shadow: 0 0 0 0.2rem rgba(195, 71, 12, 0.25);
}

.form-check-input.is-invalid {
  border-color: var(--primary-mahogany);
}

.form-check-input.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(175, 46, 10, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--dark-wood);
  margin-bottom: 0.57rem;
}

.btn-submit {
  background: var(--gradient-mahogany);
  border: none;
  color: white;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.12rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
  color: var(--primary-wood);
  margin-bottom: 1.61rem;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: var(--primary-mahogany);
  margin-right: 1rem;
  width: 20px;
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog-section {
  background: linear-gradient(135deg, var(--light-oak), var(--light-cedar));
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.29rem;
  font-weight: 700;
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--dark-walnut);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-mahogany);
  font-weight: 600;
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  background: white;
}

.faq-item {
  background: white;
  border: 2px solid var(--light-oak);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-mahogany);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: var(--gradient-oak);
  padding: 1.5rem;
  margin: 0;
  font-weight: 700;
  color: var(--dark-wood);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--dark-walnut);
  border-top: 1px solid var(--light-oak);
}

/* ========================================
   SPACE PAGE
   ======================================== */

#space {
  min-height: 70vh;
  background: var(--gradient-nature);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 80px; /* Account for fixed navbar */
}

#space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/space-bg.webp') center/cover no-repeat;
  opacity: 0.2;
  z-index: 1;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
  background: var(--gradient-nature);
  padding: 80px 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-oak);
  margin-bottom: 1.73rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.65rem;
}

.footer a {
  color: var(--light-mahogany);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
}

.site-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.99rem;
}

/* ========================================
   UTILITIES
   ======================================== */

.text-wood { color: var(--primary-wood); }
.text-mahogany { color: var(--primary-mahogany); }
.text-oak { color: var(--primary-oak); }
.text-walnut { color: var(--primary-walnut); }
.text-cedar { color: var(--primary-cedar); }

.bg-wood { background-color: var(--primary-wood); }
.bg-mahogany { background-color: var(--primary-mahogany); }
.bg-oak { background-color: var(--primary-oak); }
.bg-walnut { background-color: var(--primary-walnut); }
.bg-cedar { background-color: var(--primary-cedar); }

.bg-gradient-wood { background: var(--gradient-wood); }
.bg-gradient-mahogany { background: var(--gradient-mahogany); }
.bg-gradient-oak { background: var(--gradient-oak); }
.bg-gradient-nature { background: var(--gradient-nature); }
.bg-gradient-dark { background: var(--gradient-dark); }

/* ========================================
   ACCESSIBILITY & ANIMATIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus indicators */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-mahogany);
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.23rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ENHANCED PRODUCTION FEATURES
   ======================================== */

/* Image Loading States & Error Handling */
img.loading {
    opacity: 0.5;
    filter: blur(2px);
    transition: all 0.3s ease;
}

img.loaded {
    opacity: 1;
    filter: none;
    transition: all 0.3s ease;
}

img.error {
    opacity: 0.3;
    filter: grayscale(100%);
    background: var(--light-oak);
    border: 2px dashed var(--primary-walnut);
}

.lozad-bg.error {
    background: var(--light-oak) !important;
    border: 2px dashed var(--primary-walnut);
    position: relative;
}

.lozad-bg.error::after {
    content: 'Image not available';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-walnut);
    font-size: 1.02rem;
    text-align: center;
}

/* Enhanced Navbar States */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* FAQ Active States */
.faq-item.active .faq-question {
    background: var(--primary-mahogany);
    color: white;
}

.faq-item.active .faq-question::after {
    content: '\f068';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
}

.faq-question::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
}

/* Notification Styles */
.notification {
    font-family: var(--font-secondary);
    font-size: 1.01rem;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.26rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Enhanced Accessibility */
@media (prefers-contrast: high) {
    .service-card,
    .feature-card,
    .price-card,
    .team-member,
    .review-card,
    .faq-item {
        border: 2px solid var(--dark-walnut);
    }
    
    .btn-submit {
        border: 2px solid var(--dark-mahogany);
    }
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary-mahogany);
    outline-offset: 2px;
}

/* Reduced Motion Enhancements */
@media (prefers-reduced-motion: reduce) {
    .fa-spin {
        animation: none;
    }
    
    .notification {
        transition: none;
    }
    
    .faq-answer {
        transition: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
