/* ===== Ocean Curls Salon — coastal, feminine, fancy ===== */
:root {
  --teal-deep: #1b7d8c;
  --teal: #2ca6b8;
  --aqua: #7fd4dd;
  --aqua-soft: #d7f0f2;
  --gold: #d68a3c;
  --gold-light: #e6b366;
  --sand: #f3e7d6;
  --cream: #fbf7f1;
  --cream-2: #f6efe6;
  --ink: #23424a;
  --ink-soft: #4a6169;
  --white: #ffffff;
  --shadow: 0 18px 45px -20px rgba(27, 125, 140, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(35, 66, 74, 0.4);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Sacramento", cursive;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.script { font-family: var(--script); color: var(--gold); font-weight: 400; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.9rem; border-radius: 100px;
  font-family: var(--sans); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: linear-gradient(120deg, var(--teal), var(--teal-deep)); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { box-shadow: 0 22px 50px -18px rgba(27, 125, 140, 0.6); }
.btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.6); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--teal-deep); }
.btn--outline { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--nav { padding: 0.6rem 1.3rem; background: linear-gradient(120deg, var(--gold-light), var(--gold)); color: #fff; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0; transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
/* scrim behind the transparent top nav so the white logo reads over any photo area */
.nav:not(.scrolled) { background: linear-gradient(to bottom, rgba(16,44,51,0.6) 0%, rgba(16,44,51,0.28) 50%, rgba(16,44,51,0) 100%); }
.nav.scrolled { background: rgba(251, 247, 241, 0.92); backdrop-filter: blur(12px); box-shadow: 0 6px 30px -20px rgba(35,66,74,0.5); padding: 0.7rem 0; }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand__mark { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 0.95; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #fff; letter-spacing: 0.01em; text-shadow: 0 1px 10px rgba(27,66,74,0.45); transition: color 0.4s ease, text-shadow 0.4s ease; }
.brand__sub { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase; color: rgba(255,255,255,0.9); padding-left: 2px; text-shadow: 0 1px 8px rgba(27,66,74,0.4); transition: color 0.4s ease, text-shadow 0.4s ease; }
/* over the cream nav (scrolled): switch to brand colors, drop the shadow */
.nav.scrolled .brand__name { color: var(--teal-deep); text-shadow: none; }
.nav.scrolled .brand__sub { color: var(--gold); text-shadow: none; }
/* logo mark: white waves over the hero, teal once scrolled */
.nav:not(.scrolled) .brand__mark svg path:last-child { stroke: #fff; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); font-weight: 400; transition: color 0.3s; }
.nav__links a:not(.btn):hover { color: var(--aqua); }
.nav.scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav.scrolled .nav__links a:not(.btn):hover { color: var(--teal); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1633681926022-84c23e8cb2d6?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  transform: scale(1.05); animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.16); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(27,125,140,0.82) 0%, rgba(27,125,140,0.4) 45%, rgba(35,66,74,0.55) 100%);
}
.hero__content { position: relative; z-index: 3; max-width: var(--max); margin: 0 auto; padding: 6rem 1.5rem 4rem; width: 100%; }
.hero__eyebrow { color: var(--sand); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 1.1rem; font-weight: 400; }
.hero__title { color: #fff; font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 500; }
.hero__title .script { color: var(--gold-light); font-size: 1.15em; display: inline-block; }
.hero__lede { color: rgba(255,255,255,0.92); max-width: 30rem; margin: 1.6rem 0 2.4rem; font-size: 1.12rem; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; }
.hero__wave path { fill: var(--cream); }

/* ===== Marquee strip ===== */
.strip { background: linear-gradient(120deg, var(--teal-deep), var(--teal)); overflow: hidden; padding: 0.85rem 0; }
.strip__track { display: flex; gap: 2rem; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.strip__track span { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: rgba(255,255,255,0.92); letter-spacing: 0.03em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { max-width: var(--max); margin: 0 auto; padding: 6rem 1.5rem; }
.section__head { max-width: 44rem; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow { color: var(--gold); letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.78rem; font-weight: 500; margin-bottom: 0.8rem; }
.section__lede { margin-top: 1rem; font-size: 1.08rem; }

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  border: 1px solid rgba(44,166,184,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { color: var(--teal-deep); margin-bottom: 0.7rem; }
.service-card p { font-size: 0.98rem; }
.service-card__price { display: inline-block; margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); }

/* ===== Gallery ===== */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery__item { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__cta { text-align: center; margin-top: 2.5rem; }

/* ===== About ===== */
.about { max-width: var(--max); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.about__img {
  border-radius: var(--radius); min-height: 460px; box-shadow: var(--shadow);
  background: url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1000&q=80") center/cover;
  position: relative;
}
.about__img::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); background: linear-gradient(160deg, transparent 60%, rgba(27,125,140,0.25)); }
.about__text h2 { margin-bottom: 1.2rem; }
.about__text p { margin-bottom: 1rem; font-size: 1.05rem; }
.about__points { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.about__points li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 400; }
.about__points li::before { content: "❋"; position: absolute; left: 0; color: var(--gold); font-size: 1.1rem; }

/* ===== Testimonials ===== */
.testimonials { background: linear-gradient(160deg, var(--aqua-soft), var(--cream-2)); max-width: 100%; border-radius: 0; }
.testimonials .section__head, .testimonials .testimonials__grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.8rem; }
.quote__stars { color: var(--gold-light); letter-spacing: 0.15em; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.22rem; color: var(--ink); line-height: 1.45; }
.quote cite { font-style: normal; color: var(--teal-deep); font-weight: 500; letter-spacing: 0.05em; font-size: 0.9rem; }

/* ===== Visit ===== */
.visit__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: stretch; }
.visit__info h2 { margin: 0.4rem 0 0.8rem; }
.visit__list { list-style: none; margin: 2rem 0; display: grid; gap: 1.4rem; }
.visit__list li { display: grid; gap: 0.15rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(44,166,184,0.18); }
.visit__label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.visit__value { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
a.visit__value:hover { color: var(--teal); }
.visit__note { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.visit__hours { margin: 1.5rem 0 2rem; }
.visit__hours h3 { color: var(--teal-deep); margin-bottom: 0.7rem; }
.hours__rows { display: grid; gap: 0.4rem; max-width: 22rem; }
.hours__rows div { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed rgba(44,166,184,0.25); color: var(--ink); }
.visit__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.visit__buttons .btn--ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.visit__buttons .btn--ghost:hover { background: var(--teal); color: #fff; }
.visit__card { border-radius: var(--radius); background: linear-gradient(150deg, var(--teal), var(--teal-deep)); box-shadow: var(--shadow); display: grid; place-items: center; padding: 2rem; text-align: center; position: relative; overflow: hidden; }
.visit__card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.08); top: -80px; right: -80px; }
.visit__card::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(230,179,102,0.18); bottom: -70px; left: -60px; }
.visit__card-inner { position: relative; z-index: 2; }
.visit__card-script { font-size: 3rem; color: var(--gold-light); line-height: 1; }
.visit__card-text { color: rgba(255,255,255,0.9); margin-top: 0.8rem; max-width: 20rem; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.8); padding: 3.5rem 1.5rem 2rem; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand .brand__name { color: #fff; font-size: 1.5rem; }
.footer__brand p { color: rgba(255,255,255,0.65); margin-top: 0.3rem; }
.footer__loc { font-size: 0.85rem; letter-spacing: 0.04em; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 1.2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: flex-end; }
.footer__links a { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); transition: color 0.3s; }
.footer__links a:hover { color: var(--aqua); }
.footer__copy { max-width: var(--max); margin: 1.5rem auto 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

/* ===== Social icons ===== */
.socials { display: inline-flex; align-items: center; gap: 0.7rem; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--teal); color: var(--teal-deep);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.socials a:hover { transform: translateY(-3px); background: linear-gradient(120deg, var(--teal), var(--teal-deep)); color: #fff; box-shadow: var(--shadow); }
.socials--inline { margin-left: 0.4rem; }
.socials--footer a { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }
.socials--footer a:hover { border-color: transparent; background: linear-gradient(120deg, var(--gold-light), var(--gold)); color: #fff; }
.gallery__cta { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services__grid, .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .about__img { min-height: 320px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px); flex-direction: column;
    background: var(--cream); padding: 6rem 2rem 2rem; gap: 1.6rem; align-items: flex-start;
    transform: translateX(100%); transition: transform 0.4s ease; box-shadow: -20px 0 60px -30px rgba(0,0,0,0.4);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { color: var(--ink) !important; font-size: 1rem; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.3rem; }
  .quote p { font-size: 1.1rem; }
}
