/* ============================================================
   DOLL BEAUTIQUE NAILS — Premium Stylesheet
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --color-bg:          #1a1a1a;
  --color-bg-deep:     #111111;
  --color-surface:     #222222;
  --color-charcoal:    #2a2a2a;
  --color-rose-gold:   #c9956b;
  --color-rose-light:  #d4a982;
  --color-blush:       #e8c4b8;
  --color-champagne:   #f5e6d3;
  --color-white:       #faf8f6;
  --color-text:        #e8e2dc;
  --color-text-muted:  #9a9490;
  --color-glass-bg:    rgba(42, 42, 42, 0.45);
  --color-glass-border:rgba(201, 149, 107, 0.15);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Segoe UI', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-glow: 0 0 30px rgba(201, 149, 107, 0.25),
                 0 0 60px rgba(201, 149, 107, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  --transition-fast:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth:  0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:    0.8s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--color-rose-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blush);
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Glassmorphism Utility ---------- */
.glass-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ---------- Section Shared Styles ---------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-rose-gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-rose-gold), transparent);
  margin: 0 auto;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 50px;
  border: 2px solid var(--color-rose-gold);
  color: var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-rose-gold), var(--color-rose-light));
  transition: left var(--transition-smooth);
  z-index: -1;
}

.btn:hover {
  color: var(--color-bg-deep);
}

.btn:hover::before {
  left: 0;
}

.btn-glow {
  box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(201, 149, 107, 0.4),
              0 0 80px rgba(201, 149, 107, 0.15);
}

.btn-full {
  display: block;
  text-align: center;
  width: 100%;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  height: var(--header-height);
}

.site-header.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-doll {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 2px;
}

.logo-beautique {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-rose-gold);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(201, 149, 107, 0.1);
}

.nav-cta {
  border: 1.5px solid var(--color-rose-gold);
  color: var(--color-rose-gold);
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--color-rose-gold);
  color: var(--color-bg-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.6) 0%,
    rgba(17, 17, 17, 0.4) 40%,
    rgba(17, 17, 17, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-preheading {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-rose-gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-blush);
  margin-bottom: 40px;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(201, 149, 107, 0.5);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--color-rose-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50%      { top: 20px; opacity: 0.3; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--color-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-blush);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  padding: 28px 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-rose-gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--color-bg-deep);
}

.service-category-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-blush);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.service-category-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-rose-gold);
  margin: 12px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.service-card {
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-rose-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 149, 107, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 1.6rem;
  color: var(--color-rose-gold);
  margin-bottom: 16px;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-rose-gold);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 17, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 1px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background: var(--color-bg-deep);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 36px 32px;
  transition: transform var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-stars {
  color: var(--color-rose-gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
}

.review-source {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   LOCATION & HOURS
   ============================================================ */
.location {
  background: var(--color-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.location-map iframe {
  width: 100%;
  border-radius: var(--radius-md);
}

.info-card {
  padding: 32px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.info-icon {
  width: 20px;
  height: 20px;
  color: var(--color-rose-gold);
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}

.info-card p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.info-phone a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-rose-gold);
}

.info-phone a:hover {
  color: var(--color-blush);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 149, 107, 0.1);
  font-size: 0.92rem;
}

.hours-table td:first-child {
  color: var(--color-text);
  font-weight: 500;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-muted);
}

.hours-table tr.closed td {
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-deep);
  border-top: 1px solid rgba(201, 149, 107, 0.1);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-rose-gold);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--color-rose-gold);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 149, 107, 0.25);
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.social-link:hover {
  background: var(--color-rose-gold);
  border-color: var(--color-rose-gold);
}

.social-link:hover svg {
  color: var(--color-bg-deep);
  stroke: var(--color-bg-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 149, 107, 0.1);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 149, 107, 0.25);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: var(--color-rose-gold);
}

.back-to-top:hover {
  background: var(--color-rose-gold);
  border-color: var(--color-rose-gold);
}

.back-to-top:hover svg {
  color: var(--color-bg-deep);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.services-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.services-grid .animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }

.gallery-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.gallery-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.gallery-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
.gallery-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
.gallery-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }
.gallery-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.4s; }

.reviews-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.reviews-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.reviews-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
.reviews-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
.reviews-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
  }

  .stat-card {
    flex: 1;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 80px 32px 40px;
    background: rgba(17, 17, 17, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
  }

  /* About stats */
  .about-stats {
    flex-direction: column;
  }

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

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

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

  .btn {
    padding: 14px 32px;
    font-size: 0.82rem;
  }
}
