/* ========================================
   VINE CLEANING SERVICES — SHARED STYLESHEET
   Used by: index, services, about, testimonials, contact
   ======================================== */

:root {
  --navy: #1B4F8C;
  --navy-deep: #0F3565;
  --navy-soft: #E8EFF7;
  --green: #7FB539;
  --green-dark: #6BA02A;
  --green-soft: #EEF5E0;
  --cream: #FAF8F4;
  --warm-white: #FFFEFB;
  --charcoal: #1A1F2E;
  --grey-text: #5A6373;
  --grey-light: #8A93A3;
  --grey-soft: #E8E5DE;
  --gold: #F4A847;
  --shadow-soft: 0 4px 20px rgba(27, 79, 140, 0.08);
  --shadow-medium: 0 8px 30px rgba(27, 79, 140, 0.12);
  --shadow-strong: 0 20px 60px rgba(27, 79, 140, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 254, 251, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-soft);
  padding: 14px 0;
  transition: padding 0.3s ease;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--warm-white);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover { color: var(--green-dark); }

.nav-links a.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-cta {
  background: var(--navy);
  color: var(--warm-white);
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--navy);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--navy);
  padding: 4px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.btn-primary {
  background: var(--navy);
  color: var(--warm-white);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

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

.btn-green {
  background: var(--green-dark);
  color: var(--warm-white);
}

.btn-green:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ========== SECTIONS ========== */
.section { padding: 90px 28px; }
.section-tight { padding: 60px 28px; }
.section-container { max-width: 1240px; margin: 0 auto; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title .accent {
  color: var(--green-dark);
}

.section-subtitle {
  font-size: 17px;
  color: var(--grey-text);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== STICKY QUOTE BUTTON ========== */
.sticky-quote {
  position: fixed;
  bottom: 24px; left: 24px;
  background: var(--navy);
  color: white;
  padding: 14px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(27, 79, 140, 0.3);
  z-index: 99;
  transition: all 0.3s ease;
}

.sticky-quote:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 99;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover { transform: translateY(-2px); }

.whatsapp-icon {
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-weight: 700;
  font-size: 13px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 254, 251, 0.7);
  padding: 70px 28px 28px;
}

.footer-container { max-width: 1240px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-row img {
  width: 44px; height: 44px;
  border-radius: 9px;
  background: white;
  padding: 3px;
}

.footer-brand h3 {
  color: var(--warm-white);
  font-size: 18px;
  margin: 0;
}

.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: var(--warm-white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: rgba(255, 254, 251, 0.7);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--green); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14.5px;
}

.footer-icon {
  width: 30px; height: 30px;
  background: rgba(127, 181, 57, 0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 254, 251, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }
.fade-in.delay-4 { animation-delay: 0.4s; }

/* ========== SCROLL-TRIGGERED REVEAL ANIMATIONS ========== */
/* JS adds .reveal to sections; .reveal.visible triggers the animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children variants */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========== PREMIUM HOVER ENHANCEMENTS ========== */

/* Universal card lift effect — applied to elements with .lift-on-hover */
.lift-on-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.lift-on-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 79, 140, 0.12);
}

/* Apply consistent lift to existing card-like elements */
.service-card,
.testimonial-card,
.feature-card,
.audience-card,
.review-card,
.faq-item,
.quick-tile {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.service-card:hover,
.testimonial-card:hover,
.feature-card:hover,
.audience-card:hover,
.review-card:hover,
.quick-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 79, 140, 0.12);
}

/* Premium button hover glow */
.btn-primary,
.cta-button,
.form-submit,
.nav-cta {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background-color 0.3s ease;
}

.btn-primary:hover,
.cta-button:hover,
.form-submit:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(107, 160, 42, 0.35),
              0 0 0 3px rgba(127, 181, 57, 0.15);
}

/* Image zoom on hover for card photos */
.service-card-image,
.review-card-image,
.about-photo-frame,
.audience-card-image {
  overflow: hidden;
}

.service-card-image img,
.review-card-image img,
.about-photo-frame img,
.audience-card-image img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img,
.review-card:hover .review-card-image img,
.audience-card:hover .audience-card-image img {
  transform: scale(1.06);
}

/* Smooth link transitions */
a {
  transition: color 0.25s ease;
}

/* ========== STICKY MOBILE QUOTE BAR (already partially defined, refining here) ========== */
.sticky-quote {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--green-dark);
  color: var(--warm-white);
  padding: 14px 22px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(107, 160, 42, 0.35);
  z-index: 999;
  display: none;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(107, 160, 42, 0.45);
}

.sticky-quote svg {
  width: 16px; height: 16px;
}

/* Show sticky-quote on mobile only */
@media (max-width: 768px) {
  .sticky-quote { display: inline-flex; }
}

/* ========== RESPONSIVE BASE ========== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 20px 28px;
    gap: 14px;
    border-bottom: 1px solid var(--grey-soft);
    box-shadow: var(--shadow-soft);
  }

  .logo-img { width: 44px; height: 44px; }
  .logo-text { font-size: 16px; }
  .logo-text small { font-size: 9.5px; }

  .section { padding: 56px 20px; }
  .section-tight { padding: 40px 20px; }
  .section-title { font-size: 28px; }

  .footer { padding: 56px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .sticky-quote { padding: 12px 16px; font-size: 13px; bottom: 16px; left: 16px; }
  .whatsapp-float { padding: 12px 16px; font-size: 13px; bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }
  .nav-container { padding: 0 20px; }
}
