/* ===================================================
   PERSAIS ROYAL HAIR SALON — Global Design System
   Palette: Deep Black | Royal Gold | Ivory White
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&family=Great+Vibes&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C96D;
  --gold-dark:   #9A7A28;
  --black:       #0A0A0A;
  --black-soft:  #121212;
  --black-mid:   #1C1C1C;
  --black-card:  #1A1A1A;
  --ivory:       #F8F3EC;
  --white:       #FFFFFF;
  --text-light:  #D0C5B4;
  --text-muted:  #8A8070;
  --border:      rgba(201,168,76,0.25);
  --border-glow: rgba(201,168,76,0.5);

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', sans-serif;
  --font-script: 'Great Vibes', cursive;

  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --shadow-gold: 0 0 40px rgba(201,168,76,0.2);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 2px;
  --radius-lg: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--black);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Selection ── */
::selection { background: var(--gold); color: var(--black); }

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 65px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 55px;
  width: 55px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.4));
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img { height: 45px; width: 45px; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .script { font-family: var(--font-script); color: var(--gold); font-size: 1.5rem; }
.nav-logo-text .sub { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: var(--transition-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 24px;
  font-size: 0.7rem !important;
  letter-spacing: 0.2em;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
}
.mobile-menu a:hover { color: var(--gold); }

/* ===================================================
   GOLD DIVIDER & UTILITIES
   =================================================== */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.gold-divider::after { background: linear-gradient(to left, transparent, var(--gold)); }
.gold-divider span {
  color: var(--gold);
  font-size: 1.2rem;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold-light); }

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 16px;
}

/* ── Section Container ── */
.section {
  padding: 100px 5%;
}
.section-center { text-align: center; }
.section-center .section-subtitle { margin: 16px auto 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  color: var(--black);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
}
.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 12px 40px rgba(201,168,76,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--ivory);
  transform: translateY(-2px);
}

/* ── Gold Line ── */
.gold-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 20px auto;
}

/* ===================================================
   HERO (shared)
   =================================================== */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  transform: scale(1.05);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-content .section-label { justify-content: center; }
.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}
.page-hero-content h1 em { color: var(--gold-light); font-style: italic; }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 80px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-logo img { height: 60px; width: 60px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(201,168,76,0.3)); }
.footer-logo-text .script { font-family: var(--font-script); color: var(--gold); font-size: 1.6rem; }
.footer-logo-text .sub { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 14px; }
.social-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item .icon { color: var(--gold); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.contact-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.contact-item a { color: var(--text-muted); transition: var(--transition-fast); }
.contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); }

/* ===================================================
   CARDS / COMPONENTS
   =================================================== */
.card {
  background: var(--black-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover { border-color: var(--border-glow); transform: translateY(-6px); box-shadow: var(--shadow-card), var(--shadow-gold); }
.card:hover::before { opacity: 1; }

/* ── Animate on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   RESPONSIVE HELPERS
   =================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 70px 6%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 60px 5%; }
}
