/* ===========================
   Vivere Benessere — Earth Tones
   =========================== */

:root {
  --sage: #7a8b6f;
  --sage-light: #9aab8f;
  --sage-dark: #5a6b4f;
  --beige: #f5f0e8;
  --beige-dark: #e8dfd3;
  --cream: #faf8f4;
  --brown: #6b5344;
  --brown-light: #8b7364;
  --brown-dark: #4a3728;
  --text: #3a3330;
  --text-light: #6b6360;
  --gold: #c4a97d;
  --gold-light: #d4c9a7;
  --white: #ffffff;
  --shadow: rgba(58, 51, 48, 0.08);
  --shadow-md: rgba(58, 51, 48, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500; font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer; border: none;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,139,111,0.3); }

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

.btn-large { padding: 18px 42px; font-size: 1.05rem; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 10px 0;
}
.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--brown-dark); }
.logo-icon { font-size: 1.6rem; }
.nav-logo-img {
  height: 44px; width: auto;
  filter: brightness(10);
  transition: filter var(--transition);
}
.navbar.scrolled .nav-logo-img { filter: none; }

.nav-menu {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-menu a {
  text-decoration: none; color: rgba(255,255,255,0.85);
  font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition);
  letter-spacing: 0.3px;
}
.nav-menu a:hover { color: var(--white); }
.navbar.scrolled .nav-menu a { color: var(--text-light); }
.navbar.scrolled .nav-menu a:hover { color: var(--sage-dark); }

.nav-cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
}
.nav-cta:hover { background: var(--sage-dark) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--brown-dark); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--sage-dark) 50%, var(--brown) 100%);
  overflow: hidden;
  text-align: center;
}
.hero.has-image {
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,51,48,0.4) 0%, rgba(58,51,48,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; padding: 0 24px;
}
.hero-logo {
  width: 180px; height: auto;
  margin-bottom: 24px;
  filter: brightness(10);
  opacity: 0.95;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-indicator {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  margin: 8px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--sage);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brown-dark);
  margin-bottom: 16px;
}
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--sage), var(--gold));
  margin: 0 auto;
}
.section-header p {
  max-width: 560px; margin: 20px auto 0;
  color: var(--text-light); font-size: 1.05rem;
}

/* ===== Riflessologia ===== */
.section-riflessologia { background: var(--white); }
.riflessologia-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.lead { font-size: 1.15rem; color: var(--brown); font-weight: 500; margin-bottom: 16px; }

.benefits-list { list-style: none; margin-top: 24px; }
.benefits-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--beige-dark);
}
.benefits-list li:last-child { border-bottom: none; }
.benefit-icon { color: var(--sage); font-size: 1.2rem; margin-top: 2px; }
.benefits-list strong { display: block; color: var(--brown-dark); margin-bottom: 2px; }
.benefits-list span { font-size: 0.9rem; color: var(--text-light); }

.riflessologia-image, .valentyna-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.riflessologia-image img, .valentyna-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
  border-radius: var(--radius);
  min-height: 300px;
}
.image-placeholder p { font-size: 1rem; margin-top: 12px; font-weight: 500; }

/* ===== Benefici ===== */
.section-benefici { background: var(--cream); }
.benefici-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.beneficio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
  position: relative;
  padding-left: 80px;
}
.beneficio-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--shadow-md); }
.beneficio-num {
  position: absolute; left: 24px; top: 24px;
  width: 40px; height: 40px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 700;
}
.beneficio-card h3 {
  font-size: 1.2rem; color: var(--brown-dark);
  margin-bottom: 8px;
}
.beneficio-card p { color: var(--text-light); font-size: 0.92rem; }

/* ===== Services ===== */
.section-servizi { background: var(--beige); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-md); }
.service-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.service-card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 28px; }
.service-card-body h3 {
  font-size: 1.5rem; color: var(--brown-dark); margin-bottom: 4px;
}
.service-duration {
  font-size: 0.85rem; color: var(--sage); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}
.service-card-body p { color: var(--text-light); font-size: 0.95rem; }

/* ===== Valentyna ===== */
.section-valentyna { background: var(--white); }
.valentyna-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.valentyna-image { aspect-ratio: 3/4; }
.valentyna-image .image-placeholder.portrait { aspect-ratio: 3/4; min-height: 400px; }
.valentyna-text h2 { font-size: 2.4rem; color: var(--brown-dark); margin-bottom: 4px; }
.valentyna-text h3 { font-size: 1.1rem; color: var(--sage); font-weight: 500; margin-bottom: 20px; }
.valentyna-bio { color: var(--text-light); font-size: 1.02rem; margin-bottom: 24px; }

.specialties {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.specialty-tag {
  background: var(--beige);
  color: var(--brown);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
}

/* ===== Gallery ===== */
.section-galleria { background: var(--beige); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 8px 30px var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { text-align: center; color: var(--text-light); grid-column: 1 / -1; padding: 40px; }

/* ===== Prenota ===== */
.section-prenota {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--sage-dark) 100%);
  text-align: center;
}
.section-prenota .section-tag { color: var(--gold-light); }
.section-prenota .section-header h2 { color: var(--white); }
.section-prenota .section-header p { color: rgba(255,255,255,0.8); }
.section-prenota .section-divider { background: linear-gradient(to right, var(--gold), var(--gold-light)); }
.prenota-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px;
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-outline-calendar {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-calendar:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-2px); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

/* Buono Regalo */
.buono-regalo-block { margin-top: 48px; padding-top: 40px; text-align: center; }
.buono-regalo-divider { width: 60px; height: 2px; margin: 0 auto 24px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); }
.buono-regalo-icon { font-size: 2.5rem; margin-bottom: 16px; }
.buono-regalo-block h3 { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 12px; }
.buono-regalo-block p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 24px; font-size: 1rem; line-height: 1.7; }
.btn-buono { background: linear-gradient(135deg, #c5a55a, #e2c97e); color: var(--brown-dark); font-weight: 600; box-shadow: 0 4px 20px rgba(197,165,90,0.3); }
.btn-buono:hover { background: linear-gradient(135deg, #d4b56a, #f0d88e); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(197,165,90,0.4); }

.footer-logo-img {
  height: 36px; width: auto;
  filter: brightness(10);
  opacity: 0.85;
}

/* ===== Contatti ===== */
.section-contatti { background: var(--white); }
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.contatto-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--beige);
  border-radius: var(--radius);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px;
  transition: all var(--transition);
}
.contatto-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }
.contatto-icon { margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.contatto-card h3 { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: 8px; }
.contatto-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 8px; }
.contatto-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--sage);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.contatto-link:hover { color: var(--sage-dark); }

.social-links {
  text-align: center; margin-top: 32px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.social-links a {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 24px;
  border: 2px solid var(--sage);
  border-radius: 50px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-links a:hover { background: var(--sage); color: var(--white); }
.social-links a:hover svg { fill: var(--white); }

/* ===== Footer ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--white);
}
.footer-private {
  color: rgba(255,255,255,0.3);
  text-decoration: none; font-size: 0.8rem;
}
.footer-private:hover { color: rgba(255,255,255,0.6); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 2rem; color: var(--white);
  background: none; border: none; cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--cream);
    flex-direction: column; padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -8px 0 40px var(--shadow-md);
    transition: right var(--transition);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { color: var(--text) !important; font-size: 1.1rem; }

  .riflessologia-content,
  .valentyna-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .valentyna-image { order: -1; aspect-ratio: 4/3; }
  .valentyna-image .image-placeholder.portrait { aspect-ratio: 4/3; }

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

  .hero-actions { flex-direction: column; align-items: center; }

  .footer-content { flex-direction: column; text-align: center; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Music Toggle ===== */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(122,139,111,0.4);
  transition: all var(--transition);
}
.music-toggle:hover {
  background: var(--sage-dark);
  transform: scale(1.1);
}
.music-toggle.playing {
  animation: musicPulse 2s ease-in-out infinite;
}
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(122,139,111,0.4); }
  50% { box-shadow: 0 4px 30px rgba(122,139,111,0.7); }
}

/* Language Selector — Dropdown */
.lang-selector {
  position: relative;
  margin-left: 12px;
}
.lang-current {
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}
.lang-current:hover {
  background: var(--sage-dark);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(58,51,48,0.15);
  overflow: hidden;
  z-index: 1002;
  min-width: 90px;
}
.lang-dropdown.open {
  display: block;
}
.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  text-align: left;
  transition: background 0.15s;
}
.lang-option:hover {
  background: var(--beige);
}
.lang-option.active {
  background: var(--sage);
  color: #fff;
}

@media (max-width: 768px) {
  .lang-selector {
    position: fixed;
    top: 14px;
    right: 56px;
    z-index: 1001;
    margin-left: 0;
  }
  .lang-current {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}
