/* ========================================
   Healthy Vibes — Custom Styles
   Burgundy + Blush · Warm & Friendly
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-deeper: #3D141C;
  --blush: #D4A0A0;
  --blush-light: #F0D4D4;
  --blush-lighter: #F9E8E8;
  --blush-lightest: #FDF4F4;
  --cream: #FFFAF8;
  --warm-white: #FFF8F6;
  --text-dark: #2D1518;
  --text-body: #4A2528;
  --text-muted: #7A5055;
  --text-light: #9A7075;
  --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06), 0 1px 2px rgba(123, 45, 59, 0.04);
  --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.08), 0 2px 6px rgba(123, 45, 59, 0.06);
  --shadow-lg: 0 12px 40px rgba(123, 45, 59, 0.12), 0 4px 12px rgba(123, 45, 59, 0.08);
  --shadow-xl: 0 24px 60px rgba(123, 45, 59, 0.14), 0 8px 20px rgba(123, 45, 59, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.2;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--burgundy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--blush-lighter);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-label.light-label {
  color: var(--blush);
  background: rgba(212, 160, 160, 0.2);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}

.section-title.light-title {
  color: #fff;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
}

.section-subtitle.light-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 250, 248, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--burgundy);
}

.nav-logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--blush-lighter);
  color: var(--burgundy);
}

.nav-cta {
  background: var(--burgundy) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--burgundy-dark) !important;
  color: #fff !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--blush-lightest) 0%, var(--cream) 50%, var(--blush-lighter) 100%);
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(212, 160, 160, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(123, 45, 59, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 30%, rgba(212, 160, 160, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Stat Cards */
.hero-cards {
  position: relative;
  height: 480px;
}

.stat-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-xl);
}

.stat-card--1 {
  top: 0;
  left: 0;
  animation: float1 6s ease-in-out infinite;
}

.stat-card--2 {
  top: 100px;
  right: 0;
  animation: float2 7s ease-in-out infinite;
}

.stat-card--3 {
  bottom: 120px;
  left: 30px;
  animation: float3 5.5s ease-in-out infinite;
}

.stat-card--4 {
  bottom: 20px;
  right: 20px;
  animation: float4 6.5s ease-in-out infinite;
}

.stat-card-icon {
  width: 52px;
  height: 52px;
  background: var(--blush-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-text {
  display: flex;
  flex-direction: column;
}

.stat-card-text strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
}

.stat-card-text span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

/* --- About --- */
.about {
  padding: 100px 24px;
  background: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--blush-lighter);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content {
  max-width: 480px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--blush-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.value-item span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Products --- */
.products {
  padding: 100px 24px;
  background: var(--cream);
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  overflow: hidden;
  height: 220px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-card-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Community / Testimonials --- */
.community {
  padding: 100px 24px;
  background: var(--burgundy);
  position: relative;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(212, 160, 160, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(212, 160, 160, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.community-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.testimonial-quote {
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.testimonial-location {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Visit / Contact --- */
.visit {
  padding: 100px 24px;
  background: #fff;
}

.visit-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-content {
  max-width: 480px;
}

.visit-description {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.visit-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--blush-lighter);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visit-detail strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.visit-detail a:hover {
  color: var(--burgundy);
  text-decoration: underline;
}

.visit-form-wrapper {
  width: 100%;
  max-width: 480px;
}

.visit-form-card {
  background: var(--blush-lightest);
  border: 1px solid var(--blush-light);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.visit-form-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.visit-form-card > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--blush-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h4 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--burgundy);
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* --- Footer --- */
.footer {
  background: var(--burgundy-deeper);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 24px 0;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand .nav-logo {
  color: #fff;
}

.footer-brand .nav-logo-icon circle {
  fill: rgba(212, 160, 160, 0.3);
}

.footer-brand .nav-logo-icon path {
  stroke: rgba(212, 160, 160, 0.8);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--blush);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--blush);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p:last-child {
  text-align: right;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-cards {
    height: 280px;
    order: -1;
  }

  .stat-card {
    padding: 16px 20px;
  }

  .stat-card-icon {
    width: 44px;
    height: 44px;
  }

  .stat-card-text strong {
    font-size: 19px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper img {
    height: 400px;
  }

  .about-content {
    max-width: 100%;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .visit-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .visit-content {
    max-width: 100%;
  }

  .visit-form-wrapper {
    max-width: 100%;
  }

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

  .footer-top > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 250, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover {
    background: var(--blush-lighter);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-cards {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    order: -1;
  }

  .stat-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    animation: none !important;
  }

  .stat-card:hover {
    transform: none !important;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .visit-form-card {
    padding: 28px;
  }

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

  .footer-top > div:first-child {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-bottom p:last-child {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .about-image-accent {
    display: none;
  }
}
