/* Import Elegant Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Open+Sans&display=swap');

/* Base Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #24513A; /* Updated dark green background */
  color: #f5f0e1; /* Soft gold-tinted off-white */
  text-align: center;
}

/* Hero Section */
/* Hero Section with Background Image */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: visible;

  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center center;   /* ensures center focus */
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* Dark overlay for contrast */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);       /* adjust opacity to match brightness of photo */
  z-index: 0;
}

/* Ensure content stays above overlay */
.hero * {
  position: relative;
  z-index: 1;
}




.logo {
  width: 50%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.25)); /* soft gold glow */
}

.hero-title {
  font-family: 'Playfair Display', serif;
  color: #d4af37; /* base gold tone */
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow:
    0 0 6px rgba(212, 175, 55, 0.4),
    0 0 12px rgba(245, 215, 123, 0.7),
    0 0 18px rgba(212, 175, 55, 0.5);
  animation: goldPulse 5s ease-in-out infinite;
}

@keyframes goldPulse {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(212, 175, 55, 0.4),
      0 0 12px rgba(245, 215, 123, 0.7),
      0 0 18px rgba(212, 175, 55, 0.5);
  }
  50% {
    text-shadow:
      0 0 10px rgba(245, 215, 123, 0.8),
      0 0 20px rgba(212, 175, 55, 0.9),
      0 0 28px rgba(245, 215, 123, 1);
  }
}



/* Gold-highlighted letters in tagline */
.tagline .gold {
  color: #d4af37;           /* gold accent */
  font-weight: 700;
  letter-spacing: 1px;
  animation: goldPulse 5s ease-in-out infinite;
}

@keyframes goldPulse {
  0%, 100% { text-shadow: 0 0 6px rgba(212, 175, 55, 0.4); }
  50% { text-shadow: 0 0 12px rgba(245, 215, 123, 0.8); }
}


.tagline {
  font-size: 1.6rem;
  color: #f5f0e1;
  margin-top: 20px;
  letter-spacing: 1.5px;
  text-align: center;
  max-width: 80%;
  line-height: 1.5;
  font-family: 'Playfair Display', serif;
}


.hero h1 {
  margin-top: 10px;
  font-size: 2.6rem;
}

.tagline {
  margin-top: 15px;
}



.about {
  background-color: #24513A;
  background-image: 
    url('https://www.transparenttextures.com/patterns/white-wall-3.png');
  background-blend-mode: overlay;
  background-size: 300px 300px;
  color: #f5f0e1;
  padding: 90px 20px;
  text-align: center;
}




.about-container {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #d4af37; /* gold accent */
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about p {
  font-size: 1.05rem;
  margin-bottom: 16px;
}


.insights {
  background-color: #24513A;
  color: #f5f0e1;
  text-align: center;
  padding: 100px 40px;
}

.insights h2 {
  color: #d4af37;
  font-size: 2.3em;
  margin-bottom: 30px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.insight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 30px;
}

.insight h3 {
  color: #d4af37;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.insight p {
  line-height: 1.6;
}

.insight a.btn-scroll {
  margin-top: 15px;
  display: inline-block;
}


.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.insight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}

.insight:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.insight h3 a {
  color: #d4af37;
  text-decoration: none;
  font-family: "Playfair Display", serif;
}

.insight h3 a:hover {
  text-decoration: underline;
}


.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.insight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.insight img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(85%);
}

.insight:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.insight h3 {
  font-family: "Playfair Display", serif;
  color: #d4af37;
  font-size: 1.3em;
  margin: 15px 20px 10px;
}

.insight h3 a {
  color: inherit;
  text-decoration: none;
}

.insight h3 a:hover {
  text-decoration: underline;
}

.insight p {
  margin: 0 20px 20px;
  font-size: 1.05em;
  line-height: 1.5;
  opacity: 0.9;
}



.service ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
  line-height: 1.6;
  font-size: 0.95em;
}

.service ul li::before {
  content: "• ";
  color: #d4af37;
  font-weight: bold;
}

.service .highlight {
  color: #f5d77b;
  font-weight: 600;
  margin-top: 10px;
  font-style: italic;
}


.service-highlight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-highlight h3 {
  color: #d4af37;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.service-highlight ul {
  list-style: none;
  text-align: left;
  padding: 0;
  line-height: 1.6;
}

.service-highlight ul li::before {
  content: "• ";
  color: #d4af37;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  margin-top: 60px;
  background: linear-gradient(90deg, rgba(36, 81, 58, 0.8), rgba(24, 58, 40, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cta-section h3 {
  color: #d4af37;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1em;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 25px;
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #d4af37, #f5d77b, #d4af37);
  color: #24513A;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.btn-cta:hover {
  background-position: right center;
  box-shadow: 0 0 20px rgba(245, 215, 123, 0.9);
  transform: translateY(-2px) scale(1.02);
}



.services {
  background-color: #24513A; /* Deep luxury green */
  color: #f5f0e1;
  text-align: center;
  padding: 100px 40px;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 2px;
  background: rgba(212, 175, 55, 0.4); /* Subtle gold line divider */
  transform: translateX(-50%);
}

.services h2 {
  font-size: 2.5em;
  color: #d4af37; /* gold */
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.services .intro {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.1em;
  line-height: 1.6;
  opacity: 0.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.service:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.service h3 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.service p {
  font-size: 1em;
  line-height: 1.5;
  opacity: 0.9;
}




/* Contact Section */
.contact {
  background-color: #2c6a4b; /* Slightly lighter green for contrast */
  padding: 70px 20px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(36, 81, 58, 0.9); /* Updated dark green tone */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #d4af37;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f5f0e1;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d4af37;
  border-radius: 6px;
  background-color: #24513A;
  color: #f5f0e1;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #f5d77b;
  box-shadow: 0 0 5px #d4af37;
}

.btn-submit {
  background-color: #d4af37;
  color: #24513A;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #f5d77b;
}
/* Smooth Scrolling Behavior */
html {
  scroll-behavior: smooth;
}

/* Subtle Gold Glow Animation for Contact Button */
@keyframes goldGlow {
  0% {
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(245, 215, 123, 0.7);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    transform: scale(1);
  }
}

.btn-scroll {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #d4af37; /* gold */
  color: #24513A; /* deep green text */
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
  animation: goldGlow 5s ease-in-out infinite;
}


/* Footer */
.footer {
  padding: 25px;
  background-color: #24513A;
  border-top: 1px solid #d4af37;
  color: #f5f0e1;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
.logo {
  width: 80%;
  max-width: 400px;
}
  .hero {
    background-attachment: scroll;     /* improves mobile behavior */
    background-position: center center; /* keeps the middle visible */
  }
  .form-container {
    padding: 25px;
  }
}



/* Fade + Slide Entrance Animation */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply to hero elements */
.hero .logo,
.hero h1,
.hero .tagline {
  opacity: 0;
  animation: fadeSlideIn 1.4s ease-out forwards;
}

/* Slightly staggered timing for elegant reveal */
.hero .logo {
  animation-delay: 0.2s;
}
.hero h1 {
  animation-delay: 0.6s;
}
.hero .tagline {
  animation-delay: 1s;
}

.hero .btn-scroll {
  opacity: 0;
  animation: fadeSlideIn 1.4s ease-out forwards;
  animation-delay: 1.4s;
}



.hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* sits perfectly at the bottom edge of the hero */
  height: 6px; /* thickness of the line */
  background: linear-gradient(to right, #d4af37, #f5d77b, #d4af37);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  z-index: 3;
}

/* Ensure About section connects seamlessly below */
.about {
  margin-top: 0;
  padding-top: 60px;
  position: relative;
  z-index: 1;
}

.section-divider {
  width: 100%;
  height: 3px; /* thinner line */
  background: linear-gradient(to right, rgba(212,175,55,0.8), rgba(245,215,123,0.6), rgba(212,175,55,0.8));
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4); /* softer glow */
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: none;
}


.btn-scroll {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 36px;
  background: linear-gradient(90deg, #d4af37, #f5d77b, #d4af37);
  background-size: 200% auto;
  color: #24513A;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.5);
  animation: goldGlow 5s ease-in-out infinite alternate;
}

.btn-scroll:hover {
  background-position: right center;
  box-shadow: 0 0 20px rgba(245, 215, 123, 0.9);
  transform: translateY(-2px) scale(1.02);
}


/* ==============================
   Contact Form - W.O.L.F. Wellness
   ============================== */
.contact-section {
  background: radial-gradient(circle at top left, #1b1b1b 60%, #121212 100%);
  padding: 80px 20px;
  color: #f5f0e1;
  text-align: center;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.contact-subtitle {
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.3);
  background-color: #222;
  color: #f5f0e1;
  font-size: 1rem;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
  outline: none;
}

.success-message {
  display: none;
  color: #d4af37;
  font-weight: 600;
  margin-top: 16px;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======= MOBILE BACKGROUND FIX ======= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  section, div {
    width: 100%;
  }
}
