/* Custom styles that complement Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194, 112, 78, 0.1);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 20px -4px rgba(61, 43, 31, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: #3d2b1f;
  flex-shrink: 0;
}

.nav-logo-text {
  font-weight: 400;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #C2704E;
  flex-shrink: 0;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: #a85a3c;
}

.mobile-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(194, 112, 78, 0.1);
}

.mobile-link {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  color: #3d2b1f;
  transition: background 0.2s, color 0.2s;
}

.mobile-link:hover {
  background: #fce3d8;
  color: #C2704E;
}

.mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: #C2704E;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fdfbf7 0%, #fce3d8 50%, #f8c4b0 100%);
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194,112,78,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: #3d2b1f;
  margin: 1rem 0 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #5a4030;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #C2704E;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: #8a7060;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(194, 112, 78, 0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

/* Services */
.services {
  background: #fdfbf7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: #3d2b1f;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #5a4030;
}

/* About */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-col {
  position: relative;
}

.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(61, 43, 31, 0.2);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 55%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(61, 43, 31, 0.25);
  border: 5px solid #fff;
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 1rem 0;
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #5a4030;
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #3d2b1f;
  font-weight: 500;
}

/* Why Us */
.why-us {
  background: #fdfbf7;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-content {
  order: 1;
}

.why-us-desc {
  margin-top: 1rem;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.why-feature {
  position: relative;
  padding-left: 4rem;
}

.why-feature-num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  color: rgba(194, 112, 78, 0.2);
  line-height: 1;
}

.why-feature-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: #fdfbf7;
  margin-bottom: 0.5rem;
}

.why-feature-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #f3e8d0;
}

.why-us-img {
  order: 2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(61, 43, 31, 0.25);
}

.why-us-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.testimonials {
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* CTA / Contact */
.cta-contact {
  padding-bottom: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 6rem 0;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #f3e8d0;
}

.cta-info-item svg {
  flex-shrink: 0;
}

/* Contact form */
.contact-form-card {
  background: #fdfbf7;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 16px 48px -12px rgba(61, 43, 31, 0.15);
}

.contact-form-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #3d2b1f;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3d2b1f;
}

.form-input {
  width: 100%;
  background: #fff;
  border: 2px solid #e9d4a8;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: #3d2b1f;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: #C2704E;
  box-shadow: 0 0 0 3px rgba(194, 112, 78, 0.15);
}

.form-input::placeholder {
  color: #b89a80;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem;
  background: #fdf0eb;
  border-radius: 16px;
  margin-top: 1rem;
}

.form-success p {
  color: #5a4030;
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #f3e8d0;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col li a {
  font-size: 0.9375rem;
  color: #b89a80;
  transition: color 0.2s;
}

.footer-col li a:hover {
  color: #C2704E;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 232, 208, 0.15);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #8a7060;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .why-us-inner,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-us-content { order: 1; }
  .why-us-img { order: 2; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-img-stack {
    order: -1;
    max-width: 80%;
    margin: 0 auto 2rem;
  }

  .hero-img-accent {
    left: -16px;
    bottom: -16px;
  }

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

  .about-img-float {
    right: -12px;
    bottom: -20px;
    width: 60%;
  }

  .cta-grid {
    padding: 4rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .cta-btn {
    justify-content: center;
    width: 100%;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }
}
