:root {
  --color-primary: #4A4A4A;
  --color-secondary: #8C6A3C;
  --color-background: #F7F5EC;
  --color-accent: #6A7B8D;
  --color-gold: #D3A95E;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background-color: var(--color-background);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 18px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-background);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--color-accent);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-background);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 180px;
  height: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: all 0.2s ease-out;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.call-now {
  font-size: 14px;
  color: var(--color-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-background);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 40px 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  margin-top: 60px;
}

.mobile-nav-link {
  display: block;
  padding: 15px 0;
  font-size: 24px;
  border-bottom: 1px solid var(--color-accent);
}

.mobile-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 245, 236, 0.85);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-accent);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.problem-card {
  text-align: center;
  padding: 30px;
}

.problem-icon {
  margin-bottom: 20px;
}

.problem-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.problem-desc {
  color: var(--color-accent);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-icon {
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-desc {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.service-link {
  color: var(--color-secondary);
  font-weight: 700;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 60px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  color: var(--color-background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.step-content {
  width: 45%;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Why Section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-img {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.why-list {
  list-style: none;
  margin-top: 30px;
}

.why-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--color-accent);
}

/* Testimonials */
.testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  scroll-snap-align: center;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-secondary);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-accent);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

/* Meet David */
.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.meet-img {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
  text-align: center;
}

.cta-title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--color-accent);
}

.accordion-header {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 20px 20px;
  color: var(--color-accent);
}

/* Final CTA */
.final-cta {
  position: relative;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.final-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 74, 74, 0.8);
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.cta-link {
  color: #fff;
  font-size: 1.1rem;
  border-bottom: 1px solid #fff;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-contact a {
  color: #fff;
}

.footer-hours {
  font-size: 0.85rem;
  opacity: 0.7;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .problem-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .meet-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .problem-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    left: 20px;
  }

  .step-content {
    width: 100%;
    margin-left: 50px;
  }

  .step-number {
    left: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}