/* ================================================================
   Gel Nails — gelnailslv.com
   Modern Luxury Minimal Theme
   ================================================================ */

/* --- CSS Variables --- */
:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-accent: #c9a087;
  --color-gold: #d4a574;
  --color-text: #2d2d2d;
  --color-text-secondary: #6b6362;
  --color-subtle: #f5ede8;
  --color-border: #e8ddd6;
  --color-rose-light: #f0ddd4;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
  --transition: .3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--color-subtle); }
.text-center { text-align: center; }
.section-subtitle {
  font-family: var(--font-body);
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  margin: 16px auto 24px;
  border: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--color-subtle);
  border-color: var(--color-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-call {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-call:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}
.btn-sm { padding: 10px 24px; font-size: .85rem; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar-logo img {
  height: 48px;
  width: auto;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.navbar-nav a {
  color: var(--color-text);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }
.navbar-nav a:hover { color: var(--color-accent); }
.navbar-cta { margin-left: 12px; }
.navbar-cta .btn { padding: 10px 24px; font-size: .85rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(45,45,45,.45) 0%,
    rgba(45,45,45,.55) 50%,
    rgba(45,45,45,.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
  max-width: 700px;
}
.hero-content h1 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 6vw, 4rem);
}
.hero-content .hero-tagline {
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 20px auto 24px;
  border: none;
}
.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Services Overview (Home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.service-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-subtle);
  color: var(--color-accent);
}
.service-card-icon svg {
  width: 28px;
  height: 28px;
}
.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.service-card .price {
  color: var(--color-accent);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--color-text-secondary);
  font-size: .9rem;
  margin-bottom: 0;
}

/* --- Gallery Preview (Home) + Gallery Page --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,45,45,0);
  transition: background var(--transition);
}
.gallery-item:hover::after { background: rgba(45,45,45,.15); }
.gallery-view-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 2;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: var(--color-text);
}
.gallery-item:hover .gallery-view-icon { transform: translate(-50%, -50%) scale(1); }
.gallery-link {
  text-align: center;
  margin-top: 32px;
}

/* Full gallery page: wider grid */
.gallery-page .gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-page .gallery-item {
  aspect-ratio: auto;
}
.gallery-page .gallery-item img {
  aspect-ratio: 3/4;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* --- Trust / Features --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 32px 16px;
}
.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.trust-item p { color: var(--color-text-secondary); font-size: .85rem; margin-bottom: 0; }

/* --- Location Section --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.location-map iframe { width: 100%; height: 100%; border: 0; }
.location-info h3 { margin-bottom: 20px; }
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.location-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.location-detail a { color: var(--color-text); }
.location-detail a:hover { color: var(--color-accent); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 6px 0; font-size: .95rem; }
.hours-table td:first-child { font-weight: 500; padding-right: 24px; }
.hours-table td:last-child { color: var(--color-text-secondary); }
.hours-table tr.today td { color: var(--color-accent); font-weight: 600; }

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand img { height: 44px; margin-bottom: 16px; filter: invert(1); }
.footer-brand p { font-size: .9rem; max-width: 300px; }
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: .85rem;
}

/* --- Pricing Page --- */
.pricing-section { margin-bottom: 48px; }
.pricing-section h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.pricing-note {
  color: var(--color-text-secondary);
  font-size: .9rem;
  margin-bottom: 24px;
  font-style: italic;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table thead th {
  background: var(--color-subtle);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-secondary);
  padding: 14px 20px;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}
.pricing-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--color-subtle); }
.pricing-table .service-name { font-weight: 500; }
.pricing-table .service-sub {
  padding-left: 36px;
  color: var(--color-text-secondary);
  font-size: .9rem;
}
.pricing-table .price-col {
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}
.pricing-table .price-regular {
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.pricing-cta {
  text-align: center;
  padding: 48px 24px;
  background: var(--color-subtle);
  border-radius: var(--radius);
  margin-top: 48px;
}
.pricing-cta h2 { margin-bottom: 12px; }
.pricing-cta p { color: var(--color-text-secondary); margin-bottom: 24px; }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--color-subtle);
  margin-top: var(--nav-height);
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: var(--color-text-secondary); font-size: 1.05rem; }

/* --- Floating Call Button (mobile) --- */
.floating-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: all var(--transition);
}
.floating-call:hover {
  background: var(--color-gold);
  color: #fff;
  transform: scale(1.08);
}
.floating-call svg { width: 24px; height: 24px; }

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Navbar mobile */
  .navbar-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .navbar-nav.open { transform: translateX(0); }
  .navbar-nav li { width: 100%; text-align: center; }
  .navbar-nav a {
    display: block;
    padding: 16px 24px;
    font-size: 1.1rem;
  }
  .navbar-nav a::after { display: none; }
  .navbar-cta { margin: 16px 24px 0; width: calc(100% - 48px); }
  .navbar-cta .btn { width: 100%; justify-content: center; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }

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

  /* Location */
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .location-map { aspect-ratio: 16/9; }

  /* Floating call */
  .floating-call { display: flex; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Pricing table responsive */
  .pricing-table { font-size: .9rem; }
  .pricing-table thead th,
  .pricing-table tbody td { padding: 10px 12px; }

  /* Lightbox nav */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-item { padding: 20px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-page .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 60vh; }
  .btn { padding: 12px 24px; font-size: .85rem; }
}
