/* ================================================================
   shared.css  –  Freyza The Salon  –  Global Stylesheet
   ================================================================ */

/* ---------------------------------------------------------------
   CSS VARIABLES
--------------------------------------------------------------- */
:root {
  --bg:         #2e221a;
  --bg-card:    #3a2a1e;
  --bg-dark:    #1e1208;
  --bg-darker:  #1a100a;
  --gold:       #d4a84b;
  --gold-light: #f0d080;
  --gold-dark:  #a07830;
  --text:       #f0e0c0;
  --muted:      #b09070;
  --border:     rgba(212,168,75,0.28);
  --sage:       #8a9e8a;
}

/* ---------------------------------------------------------------
   RESET & BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; }
.text-gold { color: var(--gold) !important; }

/* ---------------------------------------------------------------
   NAVBAR
--------------------------------------------------------------- */
.navbar {
  background: rgba(28,18,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(22,13,7,0.99);
  /* padding stays 0.85rem — no size shift on any page */
  box-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.navbar-brand { display:flex; align-items:center; }
.navbar-brand img {
  height: 64px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,168,75,0.4));
  transition: filter 0.3s;
}
.navbar-brand img:hover { filter: drop-shadow(0 0 14px rgba(212,168,75,0.75)); }

.navbar-toggler {
  border: 1px solid rgba(212,168,75,0.45) !important;
  padding: 0.3rem 0.55rem; border-radius: 3px;
}
.navbar-toggler i      { color: var(--gold); }
.navbar-toggler:focus  { box-shadow: 0 0 0 3px rgba(212,168,75,0.2); }

.nav-link {
  font-size: 0.77rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #e8d5a8 !important;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.25s;
}
.nav-link:hover,
.nav-link.active { color: var(--gold) !important; }

/* Services dropdown */
.freyza-dropdown {
  background: #1e1208 !important;
  border: 1px solid rgba(212,168,75,0.25) !important;
  border-radius: 0 !important;
  min-width: 230px;
  padding: 0.5rem 0;
}
.freyza-dropdown .dropdown-item {
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: #e0c898 !important;
  padding: 0.6rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.freyza-dropdown .dropdown-item:hover {
  background: rgba(212,168,75,0.12) !important;
  color: var(--gold-light) !important;
}

.btn-book-nav {
  background: var(--gold) !important;
  color: #1a100a !important;
  border-radius: 0 !important;
  padding: 0.5rem 1.3rem !important;
  letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s;
}
.btn-book-nav:hover { background: var(--gold-light) !important; color: #1a100a !important; }

/* Mobile menu */
  @media (max-width:991.98px) {
    .navbar-collapse {
      background: rgba(18,10,5,0.99);
      border-top: 1px solid rgba(212,168,75,0.2);
      margin-top: 0.75rem;
      padding: 0.8rem 0.5rem 1.1rem;
      border-radius: 0 0 5px 5px;
    }
    .nav-link { padding: 0.65rem 1rem !important; border-bottom: 1px solid rgba(212,168,75,0.08); font-size: 0.82rem; }
    .nav-link:last-of-type { border-bottom: none; }
    .btn-book-nav { display:block; text-align:center; margin:0.8rem 1rem 0; padding:0.72rem 1.2rem !important; }
    .freyza-dropdown { margin-left: 1rem !important; border: none !important; background: rgba(212,168,75,0.06) !important; }
    }

/* ---------------------------------------------------------------
   PAGE BANNER  (used on all inner pages)
--------------------------------------------------------------- */
.page-banner {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  margin-top: 92px;            /* offset fixed navbar */
}
.page-banner img.banner-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.page-banner .banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,10,4,0.78) 0%, rgba(20,10,4,0.45) 60%, rgba(20,10,4,0.55) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
}
.page-banner .banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; color: #fff; line-height: 1.1;
}
.page-banner .banner-title em { font-style: italic; color: var(--gold-light); }
.banner-breadcrumb {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 0.6rem;
}
.banner-breadcrumb a { color: var(--gold); text-decoration: none; }
.banner-breadcrumb a:hover { color: var(--gold-light); }

/* ---------------------------------------------------------------
   SECTION COMMONS
--------------------------------------------------------------- */
.section-wrap { padding: 5rem 0; }
.section-tag {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 0.75rem;
}
.section-tag::before {
  content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.15; color: var(--gold-light);
}
.section-title em { font-style: italic; color: var(--gold); }
.gold-line { width: 44px; height: 2px; background: var(--gold); margin: 1.2rem 0 1.8rem; }

/* ---------------------------------------------------------------
   BOOKING FORM  (shared across pages)
--------------------------------------------------------------- */
.booking-section { background: var(--bg); padding: 5rem 0; }
.booking-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 80px rgba(0,0,0,0.45);
  padding: 3.2rem;
}
@media (max-width:768px) { .booking-wrapper { padding: 1.8rem 1.3rem; } }
@media (max-width:991.98px) { .page-banner { margin-top: 84px; height: 260px; } }

.form-label {
  font-size: 0.71rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem;
}
.form-control, .form-select {
  border: 1px solid var(--border); border-radius: 0;
  padding: 0.72rem 1rem;
  font-family: 'Jost', sans-serif; font-size: 0.9rem;
  color: var(--text); background: #2a1c12;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-control::placeholder { color: #7a6050; }
.form-control:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,75,0.14);
  background: #231510; color: var(--text);
}
.form-select option { background: #2a1c12; color: var(--text); }

.btn-book {
  background: var(--gold); color: #1a100a;
  border: none; border-radius: 0;
  padding: 0.95rem 2.8rem;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  transition: background 0.25s, transform 0.2s; width: 100%;
}
.btn-book:hover  { background: var(--gold-light); color: #1a100a; transform: translateY(-2px); }
.btn-book:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.booking-side-info h3 { font-size: 1.9rem; font-weight: 300; color: var(--gold-light); margin-bottom: 1.3rem; }
.info-row { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.3rem; }
.info-row .icon-wrap {
  width:36px; height:36px; flex-shrink:0;
  background: rgba(212,168,75,0.1);
  border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold); font-size:1rem;
}
.info-row h5 { font-size:0.84rem; font-weight:500; color:var(--gold-light); margin-bottom:0.12rem; }
.info-row p  { font-size:0.81rem; color:var(--muted); line-height:1.6; margin:0; }
.divider-gold { height:1px; background:linear-gradient(to right,var(--gold),transparent); margin:1.4rem 0; }

.alert-success-custom {
  background: rgba(138,158,138,0.12); border-left: 3px solid var(--sage);
  border-radius:0; color: #a8d0a8; padding:1rem 1.3rem; font-size:0.88rem; line-height:1.6;
}
.alert-danger-custom {
  background: rgba(201,112,112,0.1); border-left: 3px solid #c97070;
  border-radius:0; color: #e8a8a8; padding:1rem 1.3rem; font-size:0.88rem;
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
footer { background: var(--bg-darker); padding: 4rem 0 2rem; }
.footer-brand { margin-bottom: 0.8rem; }
footer p { font-size:0.82rem; color:rgba(255,255,255,0.42); line-height:1.8; }
.footer-heading { font-size:0.7rem; letter-spacing:0.22em; text-transform:uppercase; color:var(--gold); margin-bottom:1.1rem; }
.footer-link { display:block; font-size:0.84rem; color:rgba(255,255,255,0.48); text-decoration:none; margin-bottom:0.5rem; transition:color 0.2s; }
.footer-link:hover { color: var(--gold-light); }
.footer-divider { border-color:rgba(255,255,255,0.07); margin:2.4rem 0 1.4rem; }
.footer-copy { font-size:0.74rem; color:rgba(255,255,255,0.28); }
.social-link {
  width:34px; height:34px; border:1px solid rgba(255,255,255,0.12);
  display:inline-flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.48); text-decoration:none;
  transition: border-color 0.25s, color 0.25s; margin-right:0.4rem; font-size:0.88rem;
}
.social-link:hover { border-color:var(--gold); color:var(--gold); }

/* ---------------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------------- */
.fade-up { opacity:0; transform:translateY(26px); transition:opacity 0.7s ease,transform 0.7s ease; }
.fade-up.visible { opacity:1; transform:none; }
.fade-up-2 { transition-delay:0.12s; }
.fade-up-3 { transition-delay:0.24s; }
.fade-up-4 { transition-delay:0.36s; }

/* loading dots */
.loading-dots span {
  display:inline-block; width:6px; height:6px; background:currentColor;
  border-radius:50%; margin:0 2px; animation:dot-bounce 1.2s infinite ease-in-out both;
}
.loading-dots span:nth-child(1){animation-delay:-0.32s;}
.loading-dots span:nth-child(2){animation-delay:-0.16s;}
@keyframes dot-bounce {
  0%,80%,100%{transform:scale(0);opacity:0.4;}
  40%{transform:scale(1);opacity:1;}
}
