
/* Nail Garden Interlaken - Premium Single Page Styles */
/* Variables */
:root {
  --bg: #111111;
  --bg-2: #1a1a1a;
  --text: #eaeaea;
  --muted: #bdbdbd;
  --gold: #E7C08F;
  --accent: #e9d2ac;
  --danger: #ff4d4f;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Reset / base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang] body { font-feature-settings: "liga" 1, "kern" 1; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0; z-index: 2000;
  background: linear-gradient(180deg, rgba(17,17,17,.95), rgba(17,17,17,.6) 70%, rgba(17,17,17,0));
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 150px; height: auto; }
.brand-name { font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: .3px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-weight: 600; color: var(--text); opacity: .9 }
.nav a:hover { opacity: 1 }
.lang-switch {
  appearance: none; background: var(--bg-2); color: var(--text); border: 1px solid #2a2a2a;
  padding: 8px 12px; border-radius: 8px;
}

/* Hero - split header inspired */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b0b0b;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 30%, rgba(231,192,143,.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  opacity: .75;
}
.hero-grid .strip {
  background-position: center;
  background-size: cover;
  filter: saturate(.95) contrast(1.05);
  clip-path: inset(0 0 0 0 round 8px);
  transform: translateY(0);
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
@media (prefers-reduced-motion: reduce) { .hero-grid .strip { transition: none } }

.hero-content {
  position: relative; z-index: 2; text-align: center; padding: 6rem 1rem;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 0 0 .5rem;
  letter-spacing: .3px;
  text-shadow: 0 8px 40px rgba(231,192,143,.25);
}
.hero p.sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem); color: #dcdcdc; opacity: .95;
}
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px;
  background: linear-gradient(180deg, #E7C08F, #d3aa76);
  color: #171717; font-weight: 700; letter-spacing: .3px;
  border: none; cursor: pointer; box-shadow: var(--shadow);
}
.cta:hover { transform: translateY(-1px) }
.cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Sections */
section { padding: 80px 0; position: relative; }
.section-title {
  font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}
.section-sub { color: var(--muted); margin-bottom: 28px; }

/* About */
.about {
  background: radial-gradient(60% 60% at 10% -10%, rgba(231,192,143,.2), transparent 50%), var(--bg);
  border-top: 1px solid #2a2a2a;
}

/* Services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.card {
  background: var(--bg-2);
  border: 1px solid #2a2a2a;
  border-radius: 16px; padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transform: translateY(0); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.35) }
.card h3 { margin-top: 0; font-family: "Playfair Display", Georgia, serif; }
.card .meta { color: var(--muted) }
.card .price { color: var(--gold); font-weight: 700 }

/* Before/After */
.before-after {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.compare {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid #2a2a2a;
}
.compare img { width: 100%; display: block; }
.compare .handle {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 4px; background: var(--gold); height: 100%;
  box-shadow: 0 0 0 1px #000, 0 0 14px rgba(231,192,143,.6);
}
.compare .label {
  position: absolute; top: 12px; left: 12px; font-weight: 700; background: rgba(0,0,0,.5); padding: 6px 10px; border-radius: 10px;
}
.compare .label.right { right: 12px; left: auto; }

/* Testimonials */
.testimonials {
  background: radial-gradient(40% 50% at 100% 0, rgba(231,192,143,.12), transparent 60%), var(--bg);
}
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial { background: var(--bg-2); border: 1px solid #2a2a2a; border-radius: 16px; padding: 20px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }

/* Contact */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) {
  .before-after { grid-template-columns: 1.2fr 1fr; align-items: center }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
}

.form {
  background: var(--bg-2); border: 1px solid #2a2a2a; padding: 20px; border-radius: 16px;
}
label { display: block; margin-bottom: 8px; font-weight: 600 }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #2a2a2a; background: #121212; color: var(--text);
}
textarea { min-height: 120px }
button[type=submit] { margin-top: 12px }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.info-list li { display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 12px }
.badge { display: inline-block; padding: 6px 10px; background: #1f1f1f; border: 1px solid #2a2a2a; border-radius: 999px; color: var(--muted) }

/* Footer */
footer { background: #0f0f0f; border-top: 1px solid #2a2a2a; padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.small { font-size: .92rem; color: var(--muted) }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; border-top: 1px solid #2a2a2a; padding-top: 18px; }

/* Cookie banner */
.cookie-banner {
  position: fixed; z-index: 5000; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: #101010; border: 1px solid #2a2a2a; border-radius: 14px; box-shadow: var(--shadow);
  padding: 16px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 14px; border-radius: 10px; border: 1px solid #2a2a2a; background: #1a1a1a; color: var(--text); cursor: pointer }
.cookie-actions .primary { background: linear-gradient(180deg, #E7C08F, #d3aa76); color: #171717; border: none; }
.cookie-actions .linklike { background: transparent; border: none; color: var(--muted); text-decoration: underline; }

/* Cookie modal */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; z-index: 6000; align-items: center; justify-content: center;
}
.modal.show { display: flex }
.modal .dialog { background: #0f0f0f; border: 1px solid #2a2a2a; border-radius: 16px; padding: 20px; width: min(720px, 96%); }
.modal .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed #2a2a2a; }
.switch { position: relative; width: 46px; height: 28px; border-radius: 999px; background: #2a2a2a; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .knob {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%;
  transition: transform .2s ease; transform: translateX(0);
}
.switch input:checked + .knob { transform: translateX(18px); background: var(--gold); }

/* Focus */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Sparkles (CSS-only fallback for Lottie) */
.sparkles {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(2px 2px at 20% 30%, rgba(231,192,143,.35), rgba(231,192,143,0) 40%),
                    radial-gradient(2px 2px at 80% 25%, rgba(231,192,143,.35), rgba(231,192,143,0) 40%),
                    radial-gradient(2px 2px at 60% 70%, rgba(231,192,143,.35), rgba(231,192,143,0) 40%),
                    radial-gradient(2px 2px at 35% 65%, rgba(231,192,143,.35), rgba(231,192,143,0) 40%);
  animation: twinkle 6s cubic-bezier(.4,.0,.2,1) infinite;
  opacity: .6;
}
@keyframes twinkle {
  0%, 100% { opacity: .6 }
  50% { opacity: .1 }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }
.hidden-visually { position: absolute!important; height: 1px;width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Maps placeholder iframe container */
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid #2a2a2a; min-height: 320px }


/* v4 refinements */
:root{--gold:#E7C08F}
/* Centered section titles with gold underline */
section > h2, section > h3{ text-align:center; position:relative; margin:0 auto 18px; padding:0 0 12px; }
section > h2::after, section > h3::after{ content:""; display:block; width:80px; height:2px; background:var(--gold); margin:12px auto 0; border-radius:2px; }
/* Tighten gap between intro and services */
section.intro{ margin:0 0 8px; padding:0 0 8px; }
section.intro + section{ margin-top:0 !important; }
/* Services grid 4 in a row on desktop */
.services-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; align-items:stretch; }
@media(max-width:1024px){ .services-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Testimonials: one row of 4 */
.testimonials-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; align-items:stretch; }
@media(max-width:1024px){ .testimonials-row{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Gallery grid */
#gallery .grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
@media(max-width:1024px){ #gallery .grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
#gallery img{ width:100%; height:260px; object-fit:cover; border-radius:12px; display:block; }
/* Prevent nav wrapping */
header nav a{ white-space:nowrap; }
/* Map container styling */
.contact-map{ width:100%; height:380px; border:0; border-radius:12px; display:block; }


/* ===== Fixes v5 ===== */
/* Centered section titles with elegant gold underline */
.section-title {
  text-align: center;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 28px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

/* Reduce excessive gap between About and Services */
.about { padding-bottom: 24px !important; }
#services { padding-top: 36px !important; margin-top: 0 !important; }

/* Testimonials: ensure proper spacing */
.testimonials .testimonial-grid { margin-top: 10px; }
.testimonials .container { max-width: 1100px; }

/* Contact: map container and layout */
.map-wrap { margin-top: 14px; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }

/* Gallery: spacing and container width */
.gallery .container { max-width: 1200px; }
.gallery .grid img { border: 1px solid #2a2a2a; }

/* Mobile tweaks */
@media (max-width: 600px) {
  .section-title { margin-bottom: 22px; }
  #gallery img { height: 220px; }
}


/* v5.1: testimonials 4-up row and nicer "More" button spacing */
@media (min-width: 1100px) {
  .testimonial-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.testimonials .more .cta { box-shadow: var(--shadow); }


/* v5.3: hero background video */
.hero-media { position:absolute; inset:0; z-index: 0; overflow:hidden; }
.hero-video { width:100%; height:100%; object-fit: cover; display:block; filter: saturate(.95) contrast(1.05); }
/* Ensure content sits above video */
.hero-content { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .hero { min-height: 82vh; }
  .hero-video { object-position: center; }
}


/* v5.5: Mobile header & hero polish, prevent horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 840px) {
  .site-header { background: rgba(17,17,17,.92); }
  .header-inner { padding: 10px 0; gap: 8px; flex-wrap: wrap; }
  .brand img { width: 120px; }
  .nav { gap: 14px; flex: 1 1 100%; justify-content: space-between; flex-wrap: wrap; }
  .site-header .nav a { white-space: normal; }
  .cta { padding: 10px 14px; border-radius: 10px; }
  .hero-content { padding-top: calc(76px + env(safe-area-inset-top)); padding-bottom: 10vh; }
  .hero h1 { line-height: 1.1; }
}

@media (max-width: 420px) {
  .brand img { width: 104px; }
  .nav { gap: 10px; justify-content: center; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .hero p.sub { font-size: .98rem; }
}

/* Ensure video covers without side gaps */
.hero-media { position:absolute; inset:0; overflow:hidden; }
.hero-video { width:100%; height:100%; object-fit: cover; object-position: center; }


/* v5.6: Mobile hamburger menu */
.hamburger { display:none; width:42px; height:40px; border-radius:10px; border:1px solid #2a2a2a; background:#171717; align-items:center; justify-content:center; gap:4px; }
.hamburger span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; }
.hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 840px) {
  .hamburger { display:inline-flex; }
  /* Turn nav into dropdown panel */
  .site-header .nav { 
    position: fixed; left:12px; right:12px; top:64px; 
    background: var(--bg-2); border:1px solid #2a2a2a; border-radius:14px;
    padding:14px; display:none; flex-direction:column; gap:12px; z-index: 4000;
    box-shadow: var(--shadow);
  }
  .site-header.open .nav { display:flex; }
  .site-header .nav a, .site-header .nav .cta { width:100%; text-align:center; }
  .site-header .nav .cta { margin-top:4px; }
  .site-header .nav .lang-switch { width:100%; }
  /* Keep header row tight */
  .header-inner { align-items:center; }
}

.body-lock { overflow:hidden; }
