:root {
  /* Primary Colors - Vintage Furniture Palette */
  --primary-dark-walnut: #4f3116;
  --primary-antique-brass: #cc7636;
  --primary-aged-cream: #f5f3f0;
  --primary-sage-green: #a4b88c;
  --primary-burgundy: #792d33;
  
  /* Light Shades */
  --light-walnut: #432914;
  --light-brass: #dfad70;
  --light-cream: #faf9f7;
  --light-sage: #c1cfb9;
  --light-burgundy: #9d505c;
  
  /* Dark Shades */
  --dark-walnut: #23180c;
  --dark-brass: #ae6731;
  --dark-cream: #e2e0de;
  --dark-sage: #889b73;
  --dark-burgundy: #462226;
  
  /* Typography */
  --font-size-base: 14px;
  --font-size-small: 14px;
  --font-size-large: 16px;
  --font-size-h1: 28px;
  --font-size-h2: 24px;
  --font-size-h3: 20px;
  --font-size-h4: 18px;
  --font-size-h5: 16px;
  --font-size-h6: 14px;
  
  /* Spacing */
  --section-padding: 60px 0;
  --container-max-width: 1140px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-dark-walnut);
  background-color: var(--primary-aged-cream);
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--primary-dark-walnut);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
  font-size: var(--font-size-base);
  margin-bottom: 17px;
  color: var(--light-walnut);
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark-walnut), var(--light-walnut));
  padding: 11px 0;
  box-shadow: 0 2px 14px rgba(73, 42, 17, 0.10);
}

.navbar-brand {
  font-size: var(--font-size-large) !important;
  font-weight: 700;
  color: var(--primary-aged-cream) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--primary-aged-cream) !important;
  font-size: var(--font-size-base);
  font-weight: 500;
  padding: 8px 18px !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-antique-brass) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(59, 37, 22, 0.70), rgba(107, 48, 64, 0.70)), 
              url('../DEX_images/hero-bg.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--primary-aged-cream);
  padding: var(--section-padding);
}

.hero-content {
  padding-top: 50px !important;
  background: rgba(245, 243, 240, 0.95);
  padding: 40px;
  border-radius: 12px;
  color: var(--primary-dark-walnut);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 13px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-dark-walnut);
}

.section-subtitle {
  text-align: center;
  color: var(--primary-antique-brass);
  font-style: italic;
  margin-bottom: 110px;
}

.section-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  color: var(--light-walnut);
}

/* About Section */
.about-section {
  background: var(--light-cream);
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(52, 31, 15, 0.10);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 40px;
  color: var(--primary-antique-brass);
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  background: var(--primary-aged-cream);
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 210px rgba(83, 49, 30, 0.10);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 25px;
}

.service-price {
  font-size: var(--font-size-large);
  font-weight: 700;
  color: var(--primary-burgundy);
  margin-top: 15px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.service-features li {
  padding: 5px 0;
  border-bottom: 1px solid var(--dark-cream);
  font-size: var(--font-size-small);
}

/* Features Section */
.features-section {
  background: var(--light-cream);
}

/* Price Plan Section */
.priceplan-section {
  background: var(--primary-aged-cream);
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(46, 30, 16, 0.10);
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.featured {
  border: 3px solid var(--primary-antique-brass);
  transform: scale(1.05);
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-burgundy);
  margin: 20px 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-cream);
}

/* Team Section */
.team-section {
  background: var(--light-cream);
}

.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid var(--primary-antique-brass);
}

.team-member-name {
  font-size: var(--font-size-h4);
  color: var(--primary-dark-walnut);
  margin-bottom: 5px;
}

.team-member-role {
  color: var(--primary-antique-brass);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background: var(--primary-aged-cream);
}

.review-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(60, 37, 14, 0.10);
  margin-bottom: 30px;
  text-align: center;
}

.review-text {
  font-style: italic;
  font-size: var(--font-size-base);
  margin-bottom: 20px;
  color: var(--light-walnut);
}

.review-author {
  font-weight: 700;
  color: var(--primary-dark-walnut);
}

/* Case Study Section */
.casestudy-section {
  background: var(--light-cream);
}

.case-study-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(78, 53, 25, 0.10);
  margin-bottom: 30px;
}

.case-study-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-study-content {
  padding: 25px;
}

/* Process Section */
.process-section {
  background: var(--primary-aged-cream);
}

.process-step {
  text-align: center;
  margin-bottom: 40px;
}

.process-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--primary-antique-brass);
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin-bottom: 20px;
}

/* Timeline Section */
.timeline-section {
  background: var(--light-cream);
}

.timeline-item {
  border-left: 3px solid var(--primary-antique-brass);
  padding-left: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--primary-antique-brass);
  border-radius: 50%;
}

/* Career Section */
.career-section {
  background: var(--primary-aged-cream);
}

.career-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(44, 24, 14, 0.10);
  margin-bottom: 30px;
}

/* Core Info Section */
.coreinfo-section {
  background: var(--light-cream);
}

.info-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(56, 34, 20, 0.10);
  margin-bottom: 30px;
}

.info-card i {
  font-size: 30px;
  color: var(--primary-antique-brass);
  margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
  background: var(--primary-aged-cream);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(86, 62, 31, 0.10);
}

.form-control {
  border: 2px solid var(--dark-cream);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: var(--font-size-base);
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--primary-antique-brass);
  box-shadow: 0 0 0 0.2rem rgba(198, 117, 66, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-antique-brass), var(--light-brass));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(209, 144, 31, 0.30);
}

.contact-info {
  background: var(--primary-dark-walnut);
  color: var(--primary-aged-cream);
  padding: 40px;
  border-radius: 15px;
}

.contact-info h4 {
  color: var(--primary-antique-brass);
  margin-bottom: 25px;
}

.contact-info p {
  color: var(--primary-aged-cream);
  margin-bottom: 15px;
}

/* Blog Section */
.blog-section {
  background: var(--light-cream);
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(40, 27, 16, 0.10);
  margin-bottom: 30px;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 25px;
}

.blog-link {
  color: var(--primary-antique-brass);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-burgundy);
}

/* FAQ Section */
.faq-section {
  background: var(--primary-aged-cream);
}

.faq-card {
  background: white;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(43, 24, 10, 0.10);
}

.faq-question {
  background: var(--light-cream);
  padding: 20px;
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-dark-walnut);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--dark-cream);
}

.faq-answer {
  padding: 20px;
  display: none;
  background: white;
  color: var(--light-walnut);
}

.faq-answer.show {
  display: block;
}

.faq-toggle {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-toggle.rotate {
  transform: rotate(45deg);
}

/* Gallery Section */
.gallery-section {
  background: var(--light-cream);
  padding: var(--section-padding);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(64, 51, 24, 0.10);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-dark-walnut), var(--dark-walnut));
  color: var(--primary-aged-cream);
  padding: 50px 0 20px;
}

.footer h5 {
  color: var(--primary-antique-brass);
  margin-bottom: 20px;
}

.footer p, .footer a {
  color: var(--primary-aged-cream);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--primary-antique-brass);
}

.footer-bottom {
  border-top: 1px solid var(--light-walnut);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb-section {
  background: var(--light-cream);
  padding: 20px 0;
  text-align: center;
}

.breadcrumb-section img {
  max-height: 30px;
  width: auto;
}

/* Space Page */
#space {
  min-height: 60vh;
  background: var(--primary-aged-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 50px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 50px; }

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
