/* ============================================
   Hair Castle Professional — Shared Styles
   (Loader, Navbar, Footer, Page Hero, Utilities)
   ============================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #A07830;
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-card: #1A1A1A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--black); color: #fff; font-family: 'Montserrat', sans-serif; overflow-x: hidden; width: 100%; }
section, footer, header, nav { max-width: 100vw; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::selection { background: var(--gold); color: var(--black); }

/* ============================================
   PAGE LOADER
   ============================================ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}
.loader-logo {
  height: 64px;
  max-width: 200px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.97); }
  50%       { opacity: 1;   transform: scale(1.03); }
}
.loader-bar-wrap {
  width: 180px;
  height: 1px;
  background: rgba(201,168,76,0.15);
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 1px;
  animation: loaderFill 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderFill {
  from { width: 0%; }
  to   { width: 100%; }
}
.loader-text {
  color: rgba(201,168,76,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  animation: loaderBlink 1.2s ease-in-out infinite;
}
@keyframes loaderBlink {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
/* Gold spinner ring */
.loader-ring {
  width: 56px; height: 56px;
  border: 1px solid rgba(201,168,76,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: calc(50% - 80px);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   NAVBAR (shared)
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 rgba(201,168,76,0.12);
}
#navbar.solid {
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.12);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* NO overflow:hidden — dropdowns need to escape this container */
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-width: 0;
}
.nav-logo img {
  height: 38px;
  max-width: 130px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---- Global logo image rule — no clipping, correct rendering ---- */
img[src*="logo.png"],
.site-logo {
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent;
  max-width: 100%;
}
.nav-links { display: none; list-style: none; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.3); filter: brightness(1.1); }
.btn-gold:active { transform: translateY(0); }
/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.ham-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  padding: 5rem 2rem 3rem;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 320px;
}
.mobile-menu ul li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.mobile-menu ul li:last-child { border-bottom: none; margin-top: 1.5rem; }
.mobile-menu .nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu .nav-link:hover { color: var(--gold); }

/* Mobile sub-menu */
.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-sub-toggle:hover { color: var(--gold); }
.mobile-sub-toggle .arrow {
  font-size: 0.6rem;
  transition: transform 0.3s;
  display: inline-block;
}
.mobile-sub-toggle.open .arrow { transform: rotate(180deg); }

.mobile-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  background: rgba(201,168,76,0.04);
  border-radius: 2px;
  margin-bottom: 0.25rem;
}
.mobile-sub-menu.open { max-height: 400px; }
.mobile-sub-menu a {
  display: block;
  padding: 0.65rem 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.mobile-sub-menu a:hover { color: var(--gold); }

/* ============================================
   PAGE HERO BANNER (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 380px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { height: 460px; } }
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.3) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 3rem 1.5rem;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.page-hero-eyebrow {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
}
.page-hero-title em { color: var(--gold); font-style: italic; }
/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.45); font-size: 0.7rem; text-decoration: none; letter-spacing: 0.1em; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); font-size: 0.7rem; }
.breadcrumb .current { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.1em; }

/* ============================================
   SHARED UTILITIES
   ============================================ */
.gold-divider { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-eyebrow { color: var(--gold); font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase; display: block; margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; line-height: 1.15; }
.section-title em { color: var(--gold); font-style: italic; }
.product-tag {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}
.marquee-strip { background: var(--black-soft); border-top: 1px solid rgba(201,168,76,0.12); border-bottom: 1px solid rgba(201,168,76,0.12); overflow: hidden; }
.marquee-track { display: flex; gap: 4rem; animation: marquee 30s linear infinite; width: max-content; padding: 0.85rem 0; }
.marquee-item { color: var(--gold); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   FOOTER (shared)
   ============================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-logo { }
/* footer logo img handled by global rule above */
.footer-tagline { color: rgba(255,255,255,0.35); font-size: 0.8rem; font-weight: 300; line-height: 1.7; }
.footer-heading { color: var(--gold); font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.8rem; font-weight: 300; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(201,168,76,0.08); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.72rem; font-weight: 300; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black); border: none; border-radius: 50%;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; z-index: 200;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.15); transform: translateY(-3px); }

/* Product card */
.product-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 2px; overflow: hidden;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.product-img-wrap { position: relative; overflow: hidden; height: 260px; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-img { transform: scale(1.08); }
.product-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.78); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s; backdrop-filter: blur(4px); }
.product-card:hover .product-overlay { opacity: 1; }
.product-body { padding: 1.4rem; }

/* FAQ */
.faq-item { border: 1px solid rgba(201,168,76,0.15); border-radius: 2px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(201,168,76,0.4); }
.faq-question { width: 100%; background: var(--black-card); border: none; color: #fff; font-family: 'Montserrat',sans-serif; font-size: 0.9rem; font-weight: 500; padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; transition: background 0.3s, color 0.3s; gap: 1rem; }
.faq-question:hover, .faq-item.open .faq-question { background: rgba(201,168,76,0.05); color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 1.3rem; font-weight: 300; flex-shrink: 0; transition: transform 0.3s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); background: rgba(201,168,76,0.03); }
.faq-answer p { padding: 0 1.4rem 1.2rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 300; line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 300px; }

/* Form */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { color: rgba(255,255,255,0.45); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.form-input { background: var(--black-card); border: 1px solid rgba(201,168,76,0.2); border-radius: 2px; color: #fff; font-family: 'Montserrat',sans-serif; font-size: 0.88rem; font-weight: 300; padding: 0.8rem 1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; width: 100%; }
.form-input::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-input.error { border-color: #e53e3e; }
.form-input.success { border-color: #48bb78; }
.form-error { color: #fc8181; font-size: 0.72rem; min-height: 1rem; display: block; }

/* Ingredient flip card */
.ingredient-card { position: relative; height: 220px; cursor: pointer; perspective: 1000px; }
.ingredient-front, .ingredient-back { position: absolute; inset: 0; border: 1px solid rgba(201,168,76,0.2); border-radius: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.ingredient-front { background: var(--black-card); transform: rotateY(0deg); }
.ingredient-back { background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(10,10,10,0.9)); border-color: rgba(201,168,76,0.4); transform: rotateY(180deg); }
.ingredient-card:hover .ingredient-front { transform: rotateY(-180deg); }
.ingredient-card:hover .ingredient-back  { transform: rotateY(0deg); }

/* Testimonial */
.testimonial-carousel { overflow: hidden; position: relative; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.testimonial-slide { min-width: 100%; padding: 0 0.25rem; }
.testimonial-card { background: var(--black-card); border: 1px solid rgba(201,168,76,0.15); border-radius: 2px; padding: 2.5rem; position: relative; }
.testimonial-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--gold), transparent); border-radius: 2px 0 0 2px; }
.testimonial-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(201,168,76,0.3); border: none; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.testimonial-dot.active { background: var(--gold); transform: scale(1.35); }

/* Gallery */
.gallery-grid { columns: 2; column-gap: 0.75rem; }
@media (min-width: 640px)  { .gallery-grid { columns: 3; column-gap: 1rem; } }
@media (min-width: 1024px) { .gallery-grid { columns: 4; column-gap: 1.25rem; } }
.gallery-item { break-inside: avoid; margin-bottom: 0.75rem; position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s; }
.gallery-item.tall img { height: 360px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.gallery-overlay span { color: var(--gold); font-size: 1.8rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(8px); }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 1px solid rgba(201,168,76,0.2); border-radius: 2px; transform: scale(0.9); transition: transform 0.3s, opacity 0.15s; }
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: 1px solid rgba(201,168,76,0.3); color: var(--gold); font-size: 1.1rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: background 0.3s, color 0.3s; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: var(--gold); color: var(--black); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(201,168,76,0.3); color: var(--gold); font-size: 1.8rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; transition: background 0.3s, color 0.3s; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: var(--gold); color: var(--black); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* Footer logo sizing */
.footer-logo img {
  height: 52px;
  max-width: 180px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
  border-radius: 0;
}

/* Page hero logo (inner pages) */
.page-hero-logo {
  height: 60px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

/* ============================================
   DROPDOWN NAV
   ============================================ */
.nav-item {
  position: relative;
  list-style: none;
}
.nav-links .nav-item { display: flex; align-items: center; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(10,10,10,0.97);
  border: 1px solid rgba(201,168,76,0.25);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 4px 4px;
  min-width: 210px;
  padding: 0.75rem 0 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  /* Invisible top padding bridges the gap so cursor doesn't leave nav-item */
  margin-top: 0;
}

/* Show on hover */
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Invisible bridge above dropdown — fills any sub-pixel gap */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}
.nav-dropdown a:hover { color: var(--gold); background: rgba(201,168,76,0.07); }

.nav-dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.55rem;
  vertical-align: middle;
  transition: transform 0.22s ease;
  line-height: 1;
}
.nav-item:hover .nav-dropdown-arrow { transform: rotate(180deg); }

/* JS open class for mobile touch */
.nav-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba-after { position: absolute; inset: 0; overflow: hidden; }
.ba-after img, .ba-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  cursor: ew-resize;
  z-index: 10;
}
.ba-handle::before, .ba-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  top: 50%;
  margin-top: -20px;
}
.ba-handle::before { content: '◀ ▶'; color: var(--black); font-size: 0.55rem; display: flex; align-items: center; justify-content: center; letter-spacing: -2px; }
.ba-handle::after { display: none; }
.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  padding: 3px 8px;
  border-radius: 2px;
}
.ba-label-before { left: 12px; color: rgba(255,255,255,0.7); }
.ba-label-after  { right: 12px; color: var(--gold); }

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.45); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.pricing-card.popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.3), 0 20px 60px rgba(0,0,0,0.4);
}
.popular-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 1.2rem;
  border-radius: 0 0 4px 4px;
}
.pricing-price { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--gold); line-height: 1; }
.pricing-price sup { font-size: 1.5rem; vertical-align: super; }
.pricing-feature { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 300; }
.pricing-feature .check { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }
.pricing-feature .cross { color: rgba(255,255,255,0.2); font-size: 0.75rem; flex-shrink: 0; }

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.service-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s; display: block; }
.service-card:hover .service-img { transform: scale(1.06); }
.service-body { padding: 1.5rem; }
.service-price { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.service-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 0.6rem; }
.service-desc { color: rgba(255,255,255,0.55); font-size: 0.8rem; font-weight: 300; line-height: 1.7; margin-bottom: 1.25rem; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: filter 0.3s, transform 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.btn-wa:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.35s, border-color 0.35s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.4); }
.team-img { width: 100%; height: 280px; object-fit: cover; object-position: top; display: block; transition: transform 0.5s; }
.team-card:hover .team-img { transform: scale(1.04); }
.team-body { padding: 1.5rem 1rem; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: #fff; margin-bottom: 0.25rem; }
.team-role { color: var(--gold); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; }
.team-exp { color: rgba(255,255,255,0.45); font-size: 0.75rem; font-weight: 300; }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.35); }
.blog-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.5s; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-cat { color: var(--gold); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; margin-bottom: 0.6rem; line-height: 1.3; }
.blog-excerpt { color: rgba(255,255,255,0.5); font-size: 0.78rem; font-weight: 300; line-height: 1.7; margin-bottom: 1rem; }
.blog-meta { color: rgba(255,255,255,0.3); font-size: 0.68rem; display: flex; gap: 1rem; }

/* ============================================
   OFFER CARDS
   ============================================ */
.offer-card {
  background: linear-gradient(135deg, var(--black-card), rgba(201,168,76,0.08));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.offer-badge {
  position: absolute;
  top: 1rem; right: -2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
}
.offer-discount { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: var(--gold); line-height: 1; }
.offer-timer { display: flex; gap: 0.75rem; margin-top: 1rem; }
.timer-block { text-align: center; background: rgba(0,0,0,0.4); border: 1px solid rgba(201,168,76,0.2); padding: 0.5rem 0.75rem; border-radius: 2px; min-width: 52px; }
.timer-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); line-height: 1; display: block; }
.timer-label { font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ============================================
   BRIDAL PACKAGE CARDS
   ============================================ */
.bridal-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s;
}
.bridal-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.5); }
.bridal-img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.6s; }
.bridal-card:hover .bridal-img { transform: scale(1.05); }
.bridal-body { padding: 1.75rem; }

/* ============================================
   ENQUIRY FORM
   ============================================ */
.enquiry-select {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.enquiry-select:focus { border-color: var(--gold); }
.enquiry-select option { background: #1A1A1A; }

/* ============================================
   CAREER / JOB CARDS
   ============================================ */
.job-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 2px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: border-color 0.3s, transform 0.3s;
}
.job-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.job-tag { background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25); color: var(--gold); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 2px; display: inline-block; margin-right: 0.4rem; margin-bottom: 0.4rem; }

/* ============================================
   SOCIAL SHARE
   ============================================ */
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid rgba(201,168,76,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

/* ============================================
   POLICY PAGE
   ============================================ */
.policy-section h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 0.75rem; margin-top: 2rem; }
.policy-section p, .policy-section li { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 300; line-height: 1.9; }
.policy-section ul { padding-left: 1.5rem; margin-top: 0.5rem; }
.policy-section li { margin-bottom: 0.4rem; }
px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.enquiry-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.enquiry-select option { background: #1A1A1A; }

/* ============================================
   DROPDOWN OPEN CLASS (JS toggle on mobile)
   ============================================ */
.nav-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* ============================================
   Z-INDEX FIX — proper stacking order
   ============================================ */
#page-loader    { z-index: 99999; }
.lightbox       { z-index: 9000; }
#navbar         { z-index: 1000; }
/* .nav-dropdown z-index set inline in dropdown block above (9999) */
.whatsapp-float { z-index: 500; }
.back-to-top    { z-index: 400; }

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */
@media (max-width: 640px) {
  .testimonial-card { padding: 1.5rem 1.25rem; }
  .gallery-grid { columns: 2; }
  .pricing-card { padding: 2rem 1.25rem; }
  .page-hero { height: 320px; }
  .page-hero-title { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .offer-timer { gap: 0.4rem; }
  .timer-block { min-width: 44px; padding: 0.4rem 0.5rem; }
  .timer-num { font-size: 1.4rem; }
}
@media (max-width: 400px) {
  .gallery-grid { columns: 1; }
  .nav-inner { padding: 0 1rem; }
}

/* ============================================
   HIDDEN UTILITY
   ============================================ */
.hidden { display: none !important; }
