/* ============================================================
   SHARED DESIGN TOKENS (scoped to navbar/footer usage)
   ============================================================ */
:root {
  --gold:        #FFD233;
  --gold-dark:   #FFA800;
  --accent:      #ff5733;
  --dark:        #0f0f0f;
  --dark-2:      #1a1a1a;
  --dark-3:      #242424;
  --text-light:  #f0f0f0;
  --text-muted:  #aaaaaa;
  --white:       #ffffff;
  --glass-bg:    rgba(255,255,255,0.08);
  --glass-border:rgba(255,255,255,0.15);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --shadow-sm:   0 4px 15px rgba(0,0,0,0.12);
  --shadow-md:   0 8px 30px rgba(0,0,0,0.2);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.35);
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
  --font-main:   'Outfit', 'Poppins', sans-serif;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-main); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.modern-navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 24px;
  transition: padding var(--transition);
}

/* Gold/yellow at top */
.modern-navbar.at-top {
  background: rgba(255, 210, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

/* Deeper gold on scroll */
.modern-navbar.scrolled {
  background: linear-gradient(135deg, #FFD233, #FFC300);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.modern-navbar.scrolled .nav-container {
  padding: 4px 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.modern-navbar.scrolled .nav-logo-img-wrap { width: 64px; height: 64px; }
.nav-logo-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: none;
}
.nav-logo:hover .nav-logo-img-wrap { transform: rotate(-5deg) scale(1.05); }

.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.nav-logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item a {
  display: block;
  color: #111;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative;
  background: rgba(255,255,255,0.15);
}
.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-item a:hover,
.nav-item.active a {
  color: #FFC300;
  background: #fff;
  font-weight: 700;
}
.nav-item a:hover::after,
.nav-item.active a::after {
  background: #FFC300;
  transform: scaleX(1);
}

/* CTA nav button */
.nav-cta a {
  background: #fff !important;
  color: #111 !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.nav-cta a::after { display: none !important; }
.nav-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
  background: #fff !important;
  color: #FFC300 !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: #111;
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}
/* Animated X */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: linear-gradient(180deg, #FFD233 0%, #FFC300 100%);
    padding: 100px 20px 30px;
    gap: 6px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -6px 0 30px rgba(0,0,0,0.25);
    align-items: flex-start;
    overflow-y: auto;
  }
  .nav-menu.show { right: 0; }

  .nav-item { width: 100%; }
  .nav-item a {
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 1rem;
    color: #111;
    background: rgba(255,255,255,0.2);
  }
  .nav-item a::after { display: none; }
  .nav-item a:hover, .nav-item.active a {
    background: #fff;
    color: #FFC300;
    padding-left: 24px;
  }
  .nav-cta { width: 100%; margin-top: 10px; }
  .nav-cta a { text-align: center !important; justify-content: center; border-radius: var(--radius-sm) !important; }

  /* Nav overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav-overlay.show { display: block; }
}

@media (max-width: 480px) {
  .nav-logo-title { font-size: 0.95rem; }
  .nav-logo-sub { display: none; }
  .nav-logo-img-wrap { width: 58px; height: 58px; }
  .nav-container { padding: 6px 14px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #FFD700;
  color: #111;
  padding: 60px 0 0;
  font-size: 0.92rem;
  font-family: var(--font-main);
}

.footer-brand h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand h2 span { color: #7a5800; }
.footer-brand p { color: rgba(0,0,0,0.65); line-height: 1.8; font-size: 0.9rem; }

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* Social icons */
.footer-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.footer-social a img { width: 18px; height: 18px; object-fit: contain; }
.footer-social a:hover {
  background: #c43e20;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255,87,51,0.4);
}
/* Tooltip */
.footer-social a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.footer-social a:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Quick Links */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(0,0,0,0.7);
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
}
.footer-links a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.footer-links a:hover { color: #7a5800; padding-left: 4px; }
.footer-links a:hover::before { background: #7a5800; transform: scale(1.4); }

/* Contact items */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(0,0,0,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 500;
}
.footer-contact-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #111;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.footer-contact-item:hover { color: #7a5800; }
.footer-contact-item:hover .footer-contact-icon {
  background: #111;
  color: var(--gold);
  transform: scale(1.1);
}

/* Footer divider */
.footer-divider {
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin: 40px 0 0;
}
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: rgba(0,0,0,0.6);
  font-size: 0.82rem;
}
.footer-bottom span { color: #7a5800; font-weight: 700; }

@media (max-width: 768px) {
  .site-footer [class*="col-"] { margin-bottom: 36px; }
  .footer-social { flex-wrap: wrap; }
}

/* Footer Modal (shared style) */
.footer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.footer-modal-box {
  background: #fff;
  width: 90%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fmPopupFade 0.35s ease;
  position: relative;
  padding: 32px 28px 24px;
}
.footer-modal-box h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; color: #111; }
.footer-modal-box p { color: #555; font-size: 0.95rem; line-height: 1.7; margin-bottom: 22px; }
.footer-modal-close-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.08);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer-modal-close-icon:hover { background: rgba(0,0,0,0.2); }
.btn-footer-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(255,168,0,0.35);
}
.btn-footer-modal-close:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,168,0,0.5); }

@keyframes fmPopupFade {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Page-top padding for fixed navbar */
.page-content-start {
  padding-top: 90px;
}
