/**
 * GrandVantage Tours — Header & Footer Styles
 *
 * Matching homepage-mockup-v3.html exactly.
 * Warm luxury brown & gold theme.
 *
 * @package GrandVantageTours
 * @since   2.0.0
 */

/* ===================================================================
   1. TOP BAR
   =================================================================== */
.top-bar {
  background: var(--brown-deep, #3B2314);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  padding: 9px 0;
  position: relative;
  z-index: 1001;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition, 300ms ease);
}
.top-bar a:hover {
  color: var(--gold-light, #E8C767);
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-bar-left i {
  margin-right: 5px;
  color: var(--gold, #C9982E);
  font-size: 0.74rem;
}
.top-bar-divider {
  color: rgba(255, 255, 255, 0.25);
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-socials {
  display: flex;
  gap: 12px;
}
.top-bar-socials a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.top-bar-socials a:hover {
  color: var(--gold, #C9982E);
}
.top-bar-badge {
  background: var(--gold, #C9982E);
  color: var(--brown-deep, #3B2314);
  padding: 3px 14px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===================================================================
   2. NAVBAR
   =================================================================== */
.navbar {
  background: var(--brown-rich, #5C3D2E);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--gold, #C9982E);
  transition: all var(--transition, 300ms ease);
}
.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(30, 20, 16, 0.35);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 42px;
  height: 42px;
}
.logo-icon img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}
.logo-text .logo-name {
  font-family: var(--ff-heading, 'Marcellus', Georgia, serif);
  font-size: 1.2rem;
  color: var(--cream, #F5EDE0);
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}
.logo-text .logo-tagline {
  font-family: var(--ff-script, 'Dancing Script', cursive);
  font-size: 0.75rem;
  color: var(--gold-light, #E8C767);
  letter-spacing: 1px;
}
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-family: var(--ff-heading, 'Marcellus', Georgia, serif);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cream, #F5EDE0);
  padding: 22px 16px;
  position: relative;
  transition: all var(--transition, 300ms ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--gold, #C9982E);
  transform: scaleX(0);
  transition: transform var(--transition, 300ms ease);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold-light, #E8C767);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--brown-deep, #3B2314);
  border-top: 2px solid var(--gold, #C9982E);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-radius: 0 0 8px 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-family: var(--ff-body, 'Outfit', sans-serif);
  font-size: 0.88rem;
  color: var(--cream, #F5EDE0);
  text-decoration: none;
  transition: all var(--transition, 300ms ease);
}
.nav-dropdown-content a:hover {
  background: rgba(201, 152, 46, 0.15);
  color: var(--gold-light, #E8C767);
  padding-left: 24px;
}

/* Suppress legacy mega menu artifacts */
.mega-menu,
.mega-hidden,
.nav-mega-parent .mega-menu {
  display: none !important;
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-actions .btn {
  border-radius: 4px;
  font-family: var(--ff-heading, 'Marcellus', Georgia, serif);
  letter-spacing: 1.5px;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 152, 46, 0.4);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-light, #E8C767);
  font-size: 1.15rem;
  background: transparent;
  transition: all var(--transition, 300ms ease);
}
.hamburger:hover {
  background: rgba(201, 152, 46, 0.15);
  border-color: var(--gold, #C9982E);
}

/* ===================================================================
   3. MOBILE MENU OVERLAY & DRAWER
   =================================================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 16, 0.6);
  backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 85vw;
  height: 100%;
  background: var(--brown-deep, #3B2314);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  display: block;
}
.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(201, 152, 46, 0.2);
}
.mobile-menu-header span {
  font-family: var(--ff-heading, 'Marcellus', Georgia, serif);
  font-size: 1rem;
  color: var(--cream, #F5EDE0);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.mobile-menu-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 152, 46, 0.3);
  border-radius: 6px;
  background: transparent;
  color: var(--gold-light, #E8C767);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition, 300ms ease);
}
.mobile-menu-close:hover {
  background: rgba(201, 152, 46, 0.15);
}
.mobile-menu-nav {
  padding: 10px 0;
}
.mobile-menu-nav a {
  display: block;
  padding: 14px 24px;
  font-family: var(--ff-heading, 'Marcellus', Georgia, serif);
  font-size: 0.95rem;
  color: var(--cream, #F5EDE0);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition, 300ms ease);
  text-decoration: none;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  background: rgba(201, 152, 46, 0.12);
  color: var(--gold-light, #E8C767);
  padding-left: 30px;
}
.mobile-menu-nav a i {
  margin-right: 10px;
  color: var(--gold, #C9982E);
  font-size: 0.8rem;
  width: 18px;
  text-align: center;
}
.mobile-menu-cta {
  padding: 20px;
  border-top: 1px solid rgba(201, 152, 46, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
}
.mobile-menu-contact {
  padding: 16px 24px 30px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.mobile-menu-contact a i {
  color: var(--gold, #C9982E);
  width: 18px;
  text-align: center;
}
.mobile-menu-contact a:hover {
  color: var(--gold-light, #E8C767);
}

/* ===================================================================
   4. FOOTER
   =================================================================== */
.footer {
  background: var(--brown-deep, #3B2314);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold, #C9982E) 0px,
    var(--gold, #C9982E) 20px,
    var(--brown-rich, #5C3D2E) 20px,
    var(--brown-rich, #5C3D2E) 40px
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer h4 {
  font-family: var(--ff-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.15rem;
  color: var(--gold-light, #E8C767);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-about p {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold, #C9982E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-deep, #3B2314);
  font-size: 1.1rem;
}
.footer-logo span {
  font-family: var(--ff-heading, 'Marcellus', Georgia, serif);
  font-size: 1.1rem;
  color: var(--cream, #F5EDE0);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(201, 152, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: all var(--transition, 300ms ease);
  text-decoration: none;
}
.footer-socials a:hover {
  background: var(--gold, #C9982E);
  border-color: var(--gold, #C9982E);
  color: var(--brown-deep, #3B2314);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition, 300ms ease);
}
.footer-col ul a::before {
  content: '—';
  color: var(--gold, #C9982E);
  font-size: 0.7rem;
}
.footer-col ul a:hover {
  color: var(--gold-light, #E8C767);
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.65);
}
.footer-contact li i {
  color: var(--gold, #C9982E);
  width: 16px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition, 300ms ease);
}
.footer-contact a:hover {
  color: var(--gold-light, #E8C767);
}

/* Footer Reviews Bar */
.footer-reviews {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-reviews h4 {
  text-align: center;
  margin-bottom: 24px;
}
.footer-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.footer-review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 152, 46, 0.15);
  border-radius: var(--radius, 8px);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition, 300ms ease);
}
.footer-review-card:hover {
  border-color: var(--gold, #C9982E);
  background: rgba(255, 255, 255, 0.06);
}
.footer-review-card i {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.footer-review-card .stars {
  color: var(--gold, #C9982E);
  font-size: 0.72rem;
  margin: 2px 0;
}
.footer-review-card .platform {
  font-weight: 600;
  color: var(--cream, #F5EDE0);
  font-size: 0.92rem;
}
.footer-review-card .rating-info {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition, 300ms ease);
}
.footer-links a:hover {
  color: var(--gold, #C9982E);
}

/* ===================================================================
   5. FLOATING ELEMENTS
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  animation: waFloat 3s ease-in-out infinite;
  text-decoration: none;
  transition: transform var(--transition, 300ms ease);
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 96px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--brown-deep, #3B2314);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #C9982E);
  font-size: 0.88rem;
  box-shadow: var(--shadow-md, 0 4px 20px rgba(59,35,20,.12));
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition, 300ms ease);
  border: 1px solid rgba(201, 152, 46, 0.3);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gold, #C9982E);
  color: var(--brown-deep, #3B2314);
}

/* ===================================================================
   6. RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  .navbar-menu {
    display: none;
  }
  .navbar-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
