/* ============================================================
   AVANTA — components.css
   Global reusable components: Header, Footer, Floating Elements
   ============================================================ */

/* ═══════════════════════════════════════════
   TOP CONTACT STRIP
   ═══════════════════════════════════════════ */
.top-strip {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 9px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: var(--z-sticky);
}

.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__left,
.top-strip__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-strip__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  transition: color var(--duration-fast);
}

.top-strip__link:hover { color: var(--gold); }

.top-strip__link svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.top-strip__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-strip__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  transition: all var(--duration-fast);
}

.top-strip__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.1);
}

.top-strip__social svg {
  width: 13px;
  height: 13px;
}

.top-strip__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
}

/* ═══════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--duration-base) var(--ease);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(7,27,59,0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.header__logo-icon::before {
  content: '✈';
  font-size: 22px;
  color: var(--gold);
  display: block;
  transform: rotate(-30deg);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__logo-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.header__logo-tagline {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--gray-50);
}

.nav-link.active {
  color: var(--gold);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(7,27,59,0.18), 0 4px 16px rgba(7,27,59,0.08);
  border: 1px solid var(--gray-100);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease);
  z-index: 200;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__header {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mega-menu__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--duration-fast);
}

.mega-menu__item:hover {
  background: var(--gray-50);
  border-color: var(--gray-100);
}

.mega-menu__icon {
  width: 36px;
  height: 36px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.mega-menu__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-dark);
}

.mega-menu__item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.mega-menu__item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__enroll {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all var(--duration-base) var(--ease);
  box-shadow: 0 2px 12px rgba(212,175,55,0.3);
}

.header__enroll:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--white);
  z-index: 400;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav__sub {
  padding: 8px 0 8px 16px;
  display: none;
}

.mobile-nav__sub.open { display: block; }

.mobile-nav__sub-link {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-50);
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer__top {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer__brand .header__logo-name {
  color: var(--white);
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 24px;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--duration-fast);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.1);
}

.footer__social svg { width: 15px; height: 15px; }

.footer__col-title {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__link::before {
  content: '→';
  font-size: 11px;
  color: var(--gold);
  opacity: 0;
  transition: opacity var(--duration-fast), transform var(--duration-fast);
  transform: translateX(-4px);
}

.footer__link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer__contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  align-items: flex-start;
}

.footer__contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(212,175,55,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer__contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

/* Newsletter */
.footer__newsletter {
  margin-top: 24px;
}

.footer__newsletter-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.footer__newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 16px;
  font-size: 0.875rem;
  color: var(--white);
  outline: none;
}

.footer__newsletter-input::placeholder { color: rgba(255,255,255,0.35); }

.footer__newsletter-btn {
  padding: 11px 18px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: background var(--duration-fast);
}

.footer__newsletter-btn:hover { background: var(--gold-light); }

/* Map snippet */
.footer__map {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 16px;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) invert(10%);
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast);
}

.footer__bottom-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   FLOATING ELEMENTS
   ═══════════════════════════════════════════ */

/* WhatsApp */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.float-wa__btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  transition: all var(--duration-base) var(--ease);
  position: relative;
}

.float-wa__btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.2);
  animation: wa-pulse 2s ease infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

.float-wa__btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.50);
}

.float-wa__btn svg {
  width: 26px;
  height: 26px;
  fill: white;
  stroke: none;
}

.float-wa__label {
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Scroll To Top */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 300;
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration-base) var(--ease);
  border: 1px solid rgba(212,175,55,0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  transition: stroke var(--duration-fast);
}

.scroll-top:hover svg { stroke: var(--navy); }

/* Sticky Enquiry */
.sticky-enquiry {
  position: fixed;
  right: -120px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: bottom right;
  z-index: 250;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  transition: right var(--duration-base) var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
  right: 0;
  top: auto;
  bottom: 120px;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

/* ─── override above conflicting rules ─── */
.sticky-enquiry {
  position: fixed;
  top: 50%;
  right: -2px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  z-index: 250;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease);
  box-shadow: -2px 0 12px rgba(212,175,55,0.3);
}

.sticky-enquiry:hover {
  background: var(--gold-light);
  right: 0;
}

/* ═══════════════════════════════════════════
   PAGE TRANSITIONS
   ═══════════════════════════════════════════ */
.page-transition {
  animation: pageIn 0.5s var(--ease) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   TESTIMONIAL CARDS (shared)
   ═══════════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  left: 24px;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 14px;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-card__avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9375rem;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-card__badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--navy);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE HEADER
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .top-strip { display: none; }
  .mega-menu { display: none; }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .sticky-enquiry { display: none; }
}

/* ═══════════════════════════════════════════
   ENROLL CTA SECTION (shared)
   ═══════════════════════════════════════════ */
.enroll-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.enroll-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(212,175,55,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 30%, rgba(26,63,112,0.3) 0%, transparent 50%);
}

.enroll-cta .dot-grid {
  opacity: 0.5;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE GRID RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-preview__grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

