/* Anna's Nagelstudio — clean beauty aesthetic, pink & white */

:root {
  --bg: #fffafc;
  --bg-elevated: #ffffff;
  --ink: #2a1f28;
  --muted: #6b5a66;
  --accent: #e891b8;
  --accent-deep: #c75d8f;
  --accent-soft: #fce4ef;
  --line: rgba(199, 93, 143, 0.18);
  --shadow: 0 24px 60px rgba(42, 31, 40, 0.08);
  --shadow-soft: 0 12px 40px rgba(199, 93, 143, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero-bg,
  .gallery-item img,
  .service-card,
  .about-img-wrap img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
}

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

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.5s var(--ease-out);
}

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

.header-inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo span {
  display: block;
  font-size: 0.62em;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 450;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent-deep);
  transition: width 0.45s var(--ease-out);
}

.nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff !important;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 250, 252, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s var(--ease-out), opacity 0.45s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* —— Hero —— */
.hero {
  min-height: min(92vh, 900px);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: min(1120px, 92vw);
  margin-inline: auto;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0 -8vw 20% -8vw;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(232, 145, 184, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(252, 228, 239, 0.9), transparent 50%);
  z-index: -1;
  opacity: 0;
  animation: heroFade 1.4s var(--ease-out) 0.2s forwards;
}

@keyframes heroFade {
  to {
    opacity: 1;
  }
}

.hero-content {
  padding-right: 1rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.45rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, filter 0.45s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  text-decoration: none;
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.hero-visual:hover .hero-card img {
  transform: scale(1.06);
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.hero-badge-score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
}

.hero-badge-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 2rem);
  }
  .hero-content {
    padding-right: 0;
    order: 1;
  }
  .hero-visual {
    order: 2;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-reverse .hours-card {
  order: 2;
}
.split-reverse .hours-visual {
  order: 1;
}

@media (max-width: 880px) {
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }
  .split-reverse .hours-card,
  .split-reverse .hours-visual {
    order: unset;
  }
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

.about-text p {
  margin: 0 0 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.about-figure:hover .about-img-wrap img {
  transform: scale(1.04);
}

/* Services */
.section-services {
  background: linear-gradient(180deg, var(--bg) 0%, #fff5f9 40%, var(--bg) 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s, border-color 0.55s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(199, 93, 143, 0.28);
}

.service-icon {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.service-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

/* Pricing */
.pricing-wrap {
  max-width: 640px;
  margin-inline: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.price-table th,
.price-table td {
  padding: 1rem 1.35rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Gallery */
.section-gallery {
  padding-bottom: 3rem;
}

.gallery-outer {
  position: relative;
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: max(4vw, 1rem);
}

.gallery-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery-track:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.gallery-item {
  flex: 0 0 min(72vw, 320px);
  scroll-snap-align: center;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out);
}

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

.gallery-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--accent-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.4s, transform 0.4s var(--ease-out);
}

.gallery-nav:hover {
  background: var(--accent-soft);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .gallery-nav {
    display: none;
  }
}

.gallery-dots-wrap {
  margin-top: 0.5rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.4s, transform 0.4s;
}

.gallery-dot.is-active {
  background: var(--accent-deep);
  transform: scale(1.15);
}

/* Rating strip */
.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  background: linear-gradient(135deg, #fff5fa, var(--accent-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  text-align: center;
}

.rating-stars {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: #e6b800;
}

.rating-banner p {
  margin: 0;
  color: var(--muted);
}

.rating-banner strong {
  color: var(--accent-deep);
  font-size: 1.35rem;
}

/* Hours */
.hours-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 1.25rem;
}

.hours-list {
  margin: 0 0 1rem;
}

.hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-list dt {
  font-weight: 500;
}

.hours-list dd {
  margin: 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.hours-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hours-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 0.75rem;
}

.contact-block address {
  font-style: normal;
  margin: 1.25rem 0;
  line-height: 1.7;
}

.contact-line a {
  font-size: 1.25rem;
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.footer-logo span {
  display: block;
  font-size: 0.55em;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
}

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

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(42, 31, 40, 0.88);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 2rem;
  animation: lbIn 0.45s var(--ease-out);
}

@keyframes lbIn {
  from {
    opacity: 0;
  }
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out);
}

.lightbox-close:hover {
  transform: scale(1.06);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease-out) var(--delay, 0ms),
    transform 0.9s var(--ease-out) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
