/* ===== HOLISTIC HEARTS - MAIN STYLESHEET ===== */
/* Mobile-first responsive design */

/* --- CSS Variables --- */
:root {
  --color-primary: #7B6B8A;       /* Muted purple */
  --color-primary-dark: #5E4F6B;  /* Deep purple */
  --color-primary-light: #A898B8; /* Light purple */
  --color-secondary: #8FA889;     /* Sage green */
  --color-secondary-dark: #6B8A65;
  --color-secondary-light: #B5CCAF;
  --color-accent: #D4A574;        /* Warm gold */
  --color-accent-light: #E8C9A0;
  --color-bg: #FAF8F5;            /* Warm off-white */
  --color-bg-alt: #F0EDE8;        /* Slightly darker warm */
  --color-text: #3A3238;          /* Dark warm gray */
  --color-text-light: #6B636A;    /* Medium gray */
  --color-text-muted: #9B939A;    /* Light gray */
  --color-white: #FFFFFF;
  --color-border: #E5E0DA;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm: 0 1px 3px rgba(58, 50, 56, 0.08);
  --shadow-md: 0 4px 12px rgba(58, 50, 56, 0.1);
  --shadow-lg: 0 8px 30px rgba(58, 50, 56, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* --- 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-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navigation --- */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo span {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-primary-dark);
  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(6px, -6px);
}

/* Mobile Nav */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-white);
  padding: 80px 30px 40px;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow-y: auto;
}

.main-nav.open {
  right: 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(58, 50, 56, 0.4);
  z-index: 999;
}

.nav-overlay.show {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.nav-cta {
  margin-top: 20px;
}

.nav-cta a {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.nav-cta a:hover {
  background: var(--color-primary-dark);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--color-white);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: #c4955e;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

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

/* --- Section Styling --- */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  color: var(--color-white);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.service-card .btn {
  margin-top: 20px;
  font-size: 0.9rem;
  padding: 10px 20px;
}

/* --- About Preview --- */
.about-preview {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 14px;
  color: var(--color-text-light);
}

.about-text .btn {
  margin-top: 10px;
}

/* --- Credentials List --- */
.credentials {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credential-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.credential-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-secondary-light);
  color: var(--color-secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* --- Contact Section --- */
.contact-section {
  background: linear-gradient(160deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-item a:hover {
  color: var(--color-white);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: var(--color-primary-dark);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  color: var(--color-secondary-dark);
}

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

/* --- Footer --- */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 20px;
}

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

.footer-section h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--color-accent-light);
}

.footer-hours {
  font-size: 0.9rem;
  line-height: 1.8;
}

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

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-secondary) 100%);
  padding: 120px 20px 60px;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Services Detail Page --- */
.service-detail {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.service-detail h2 {
  margin-bottom: 8px;
}

.service-detail h3 {
  color: var(--color-secondary-dark);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.service-detail p {
  color: var(--color-text-light);
  margin-bottom: 14px;
}

/* --- Events Page --- */
.events-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-light);
}

.events-empty h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
}

.event-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
}

.event-date {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.event-card h3 {
  margin-bottom: 8px;
}

.event-location {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* --- Policy Page --- */
.policy-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-bottom: 16px;
}

.policy-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* --- Booking CTA Banner --- */
.cta-banner {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  margin: 40px 0;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }

  .logo span { display: inline; }

  .section { padding: 80px 0; }

  .hero { padding: 120px 20px 80px; }
  .hero h1 { font-size: 3.4rem; }
  .hero-subtitle { font-size: 1.25rem; }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

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

  .about-preview {
    flex-direction: row;
    gap: 50px;
  }

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

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

  .contact-form {
    padding: 36px 32px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-hero {
    padding: 140px 20px 80px;
  }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: none;
    padding: 0;
    box-shadow: none;
    overflow: visible;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 14px;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 8px;
  }

  .nav-cta a {
    padding: 10px 22px;
    font-size: 0.95rem;
  }

  .hero h1 { font-size: 3.8rem; }

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

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .section { padding: 100px 0; }
}

/* ===== LARGE DESKTOP (1280px+) ===== */
@media (min-width: 1280px) {
  .container {
    padding: 0 40px;
  }
}
