/* ============================================
   UTOPIA NAILS — Wearable Art Gallery
   Bespoke Design System
   ============================================ */

:root {
  --blush: #F2E0D5;
  --black: #1A1A1A;
  --pearl: #FDFBF7;
  --rose-gold: #B76E79;
  --warm-gray: #9C9490;
  --blush-dark: #E6CFC2;
  --rose-gold-light: rgba(183, 110, 121, 0.15);
  --glass-bg: rgba(253, 251, 247, 0.72);
  --glass-border: rgba(183, 110, 121, 0.25);
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 16px 48px rgba(26, 26, 26, 0.14);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--pearl);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 0.75rem;
}

/* ---- GRAIN TEXTURE OVERLAY ---- */
.grain-bg {
  position: relative;
  background-color: var(--blush);
}
.grain-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}
.grain-bg > * { position: relative; z-index: 1; }

/* ---- SVG DIVIDER ---- */
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 0;
}
.diamond-divider .line {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: var(--rose-gold);
  opacity: 0.4;
}
.diamond-divider svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--rose-gold);
  stroke-width: 1.5;
  margin: 0 12px;
  flex-shrink: 0;
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--pearl);
  letter-spacing: 0.06em;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.7);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--rose-gold); }

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pearl);
  border: 1px solid var(--rose-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--rose-gold);
  color: var(--pearl);
}

/* Mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--pearl);
  transition: all var(--transition);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--pearl);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--rose-gold); }
.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.75rem;
  color: var(--pearl);
  line-height: 1;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .site-nav { padding: 1.25rem 3rem; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6) saturate(0.8);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 680px;
}
.hero-label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--pearl);
  margin-bottom: 1rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.4s forwards;
}
.hero-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(253, 251, 247, 0.65);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.6s forwards;
}
.hero-cta {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pearl);
  border: 1px solid var(--rose-gold);
  padding: 0.85rem 2.5rem;
  border-radius: 100px;
  transition: all var(--transition);
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 0.8s forwards;
}
.hero-cta:hover {
  background: var(--rose-gold);
  color: var(--pearl);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(183, 110, 121, 0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 1s forwards;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--rose-gold), transparent);
  margin: 0 auto;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-label, .hero h1, .hero-sub, .hero-cta, .hero-scroll {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ---- STATS RIBBON ---- */
.stats-ribbon {
  background: var(--black);
  padding: 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}
.stat-item {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.7);
  white-space: nowrap;
}
.stat-item strong {
  color: var(--rose-gold);
  font-weight: 400;
}

/* ---- PORTFOLIO / GALLERY ---- */
.portfolio {
  padding: 5rem 1.5rem;
}
.portfolio-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.portfolio-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--black);
  margin-bottom: 0.75rem;
}
.portfolio-header p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-tab {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--blush-dark);
  color: var(--warm-gray);
  background: transparent;
  transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--rose-gold);
  border-color: var(--rose-gold);
  color: var(--pearl);
}

/* Masonry grid */
.gallery-grid {
  columns: 2;
  column-gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(183, 110, 121, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--pearl);
  letter-spacing: 0.03em;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (min-width: 640px) {
  .gallery-grid { columns: 3; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--pearl);
  z-index: 201;
  line-height: 1;
}
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--pearl);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---- ABOUT / ARTISTS ---- */
.artists {
  padding: 5rem 1.5rem;
}
.artists-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.artists-inner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.artists-intro {
  max-width: 560px;
  margin: 0 auto 3rem;
  color: var(--warm-gray);
  font-size: 0.95rem;
}
.artist-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.artist-card {
  background: var(--pearl);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(242, 224, 213, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.artist-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--rose-gold);
}
.artist-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.artist-card .artist-role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1rem;
}
.artist-card p {
  color: var(--warm-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .artist-cards { grid-template-columns: 1fr 1fr; }
}

/* ---- SERVICES ---- */
.services {
  padding: 5rem 1.5rem;
}
.services-inner {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}
.services-inner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}
.services-intro {
  max-width: 480px;
  margin: 0 auto 3rem;
  color: var(--warm-gray);
  font-size: 0.95rem;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.service-card {
  background: var(--pearl);
  border: 1px solid var(--blush-dark);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--rose-gold);
  box-shadow: var(--shadow-sm);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}
.service-card p {
  color: var(--warm-gray);
  font-size: 0.85rem;
  line-height: 1.6;
}
.service-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--rose-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---- TESTIMONIAL ---- */
.testimonial {
  padding: 5rem 1.5rem;
  text-align: center;
}
.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
}
.testimonial-quote {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.5;
  color: var(--black);
  font-style: italic;
  padding: 0 1rem;
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 6rem;
  line-height: 0.8;
  color: var(--rose-gold);
  opacity: 0.3;
  display: block;
  margin-bottom: -0.5rem;
  user-select: none;
}
.testimonial-author {
  margin-top: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.testimonial-stars {
  color: var(--rose-gold);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}

/* ---- HOURS & LOCATION ---- */
.location {
  padding: 5rem 1.5rem;
}
.location-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.location-info h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.hours-list {
  list-style: none;
  margin-bottom: 2rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--blush-dark);
  font-size: 0.9rem;
}
.hours-list .day { font-weight: 400; }
.hours-list .time { color: var(--warm-gray); }
.hours-list .closed { color: var(--rose-gold); font-style: italic; }

.location-address {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.location-address a {
  color: var(--rose-gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.location-address a:hover { border-color: var(--rose-gold); }

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 300px;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
  display: block;
}

@media (min-width: 768px) {
  .location-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section-inner {
  max-width: 600px;
  margin: 0 auto;
}
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: var(--warm-gray);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.cta-button {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--rose-gold);
  color: var(--pearl);
  padding: 1rem 3rem;
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(183, 110, 121, 0.3);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(183, 110, 121, 0.4);
  background: #a45e69;
}
.cta-phone {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
}
.cta-phone a { color: var(--rose-gold); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black);
  color: rgba(253, 251, 247, 0.5);
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--pearl);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--rose-gold); }
.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  transition: all var(--transition);
}
.floating-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pearl);
  background: var(--glass-bg);
  background: rgba(183, 110, 121, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.floating-cta a:hover {
  background: var(--rose-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.floating-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; }

/* ---- PRINT ---- */
@media print {
  .site-nav, .floating-cta, .mobile-menu { display: none; }
  .hero { min-height: auto; padding: 3rem; }
}
