/* ===== TRAVEL2AUS — SHARED STYLES (FUN THEME) ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Fredoka+One&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #FF6B1A;
  --orange-dark:  #E05510;
  --orange-light: #FF8C42;
  --pink:         #FF3D7F;
  --yellow:       #FFD23F;
  --yellow-dark:  #F5B800;
  --teal:         #00BFA6;
  --teal-dark:    #009E88;
  --white:        #FFFFFF;
  --off-white:    #FFF8F2;
  --light-bg:     #FFF3E8;
  --text:         #1A1A2E;
  --text-muted:   #6B7280;
  --border:       #FFE0C8;
  --card-bg:      #FFFFFF;
  --nav-h:        100px;

  --ff-display: 'Fredoka One', cursive;
  --ff-body:    'Nunito', sans-serif;

  --shadow:      0 4px 20px rgba(255,107,26,0.15);
  --shadow-lg:   0 12px 48px rgba(255,107,26,0.2);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.08);
  --radius:      18px;
  --radius-sm:   12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: #ffffff;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  position: relative; z-index: 1001;
}
.announce-bar a { color: var(--yellow); text-decoration: underline; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--orange);
  display: flex; align-items: center;
  padding: 0 40px;
  box-shadow: 0 4px 24px rgba(255,107,26,0.4);
  overflow: visible;
}
.nav-inner {
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  overflow: visible;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 26px; color: white;
  display: flex; align-items: center; gap: 3px; flex-shrink: 0;
}
.nav-logo .logo-num {
  background: var(--yellow); color: var(--orange-dark);
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; margin: 0 1px;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; margin-right: 16px; overflow: visible; }
.nav-links a {
  padding: 8px 13px; font-size: 17px; font-weight: 700;
  color: rgba(255,255,255,0.88); border-radius: 40px;
  transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.2); color: white;
}
.nav-cta {
  background: var(--yellow) !important; color: var(--orange-dark) !important;
  border-radius: 40px !important; font-weight: 900 !important; font-size: 17px !important;
  margin-left: 15px !important;
  padding: 12px 24px !important; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15) !important;
  animation: navCtaPulse 2s ease-in-out infinite !important;
}
@keyframes navCtaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 12px rgba(0,0,0,0.15); }
  50%       { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.22); }
}
.nav-cta:hover {
  background: white !important;
  animation-play-state: paused !important;
  transform: scale(1.1) !important;
}
.nav-icons { display: flex; align-items: center; gap: 6px; }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none; color: white;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.35); }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 0; background: rgba(255,255,255,0.2); border: none;
  padding: 10px; border-radius: 8px; width: 42px; height: 42px;
  position: relative; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity 0.25s ease,
              top 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-hamburger span:nth-child(1) { top: 13px; }
.nav-hamburger span:nth-child(2) { top: 20px; opacity: 1; }
.nav-hamburger span:nth-child(3) { top: 27px; }

/* Open state — morphs into X */
.nav-hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--orange); z-index: 10;
  flex-direction: column; padding: 130px 28px 32px; gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 15px 18px; font-size: 20px; font-weight: 800;
  font-family: var(--ff-display); border-radius: var(--radius-sm);
  color: white; border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.15); }
.mobile-menu .mob-cta {
  margin-top: 12px; background: var(--yellow); color: var(--orange-dark);
  text-align: center; border-radius: 40px; border-bottom: none;
  animation: navCtaPulse 2s ease-in-out infinite;
}

/* ===== FOOTER ===== */
.footer { background: var(--text); padding: 64px 40px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.footer-brand .logo {
  font-family: var(--ff-display); font-size: 28px; color: white;
  display: flex; align-items: center; gap: 3px;
}
.footer-brand .logo .logo-num {
  background: var(--yellow); color: var(--orange-dark);
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.footer-brand p { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--orange-light); font-weight: 800; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; font-weight: 600; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: white; font-size: 15px;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.footer-socials a:hover { background: var(--orange); transform: translateY(-2px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 40px;
  font-weight: 800; font-size: 15px; border: none;
  font-family: var(--ff-body); cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.btn-orange { background: var(--orange); color: white; box-shadow: 0 4px 16px rgba(255,107,26,0.35); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,26,0.4); }
.btn-yellow { background: var(--yellow); color: var(--text); box-shadow: 0 4px 16px rgba(255,210,63,0.4); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-white { background: white; color: var(--orange); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: white; box-shadow: 0 4px 16px rgba(0,191,166,0.3); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: white; box-shadow: 0 4px 16px rgba(255,61,127,0.3); }
.btn-pink:hover { background: #e02d6f; transform: translateY(-2px); }

/* ===== LABELS ===== */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.section-label::before { content: ''; display: block; width: 18px; height: 3px; background: var(--orange); border-radius: 2px; }

/* ===== SALE RIBBON ===== */
.ribbon {
  position: absolute; top: 12px; left: -4px;
  background: var(--pink); color: white;
  font-size: 11px; font-weight: 900; padding: 4px 12px 4px 10px;
  border-radius: 0 4px 4px 0; text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.ribbon::before { content: ''; position: absolute; left: 0; bottom: -4px; border: 2px solid #c42d65; border-left-color: transparent; border-bottom-color: transparent; }

/* ===== WIDGET PLACEHOLDER ===== */
.widget-placeholder {
  background: var(--light-bg); border: 2px dashed var(--border);
  border-radius: var(--radius); padding: 48px 32px;
  text-align: center; color: var(--text-muted);
}
.widget-placeholder h3 { font-family: var(--ff-display); font-size: 22px; color: var(--orange); margin-bottom: 8px; }
.widget-placeholder p { font-size: 14px; line-height: 1.6; }

/* ===== WAVE ===== */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ===== PAGE WRAP ===== */
.page-wrap { min-height: 100vh; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes bounceIn { 0%{opacity:0;transform:scale(0.8) translateY(20px)} 60%{transform:scale(1.04) translateY(-4px)} 100%{opacity:1;transform:scale(1) translateY(0)} }
.anim-fadeup   { animation: fadeUp 0.6s ease both; }
.anim-bouncein { animation: bounceIn 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
.anim-delay-1  { animation-delay: 0.1s; }
.anim-delay-2  { animation-delay: 0.2s; }
.anim-delay-3  { animation-delay: 0.35s; }
.anim-delay-4  { animation-delay: 0.5s; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  display: none;
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 4;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; fill: white; }

/* ===== MEGA MENU ===== */
.mega-wrap { position: relative; }
.mega-trigger { cursor: pointer; user-select: none; color: white !important; }
.mega-wrap:hover .mega-backdrop { display: block; }
.mega-wrap:hover .mega-drop { display: block; }

/* Blur overlay */
.mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.06);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 999;
  pointer-events: none;
}

/* Drop panel */
.mega-drop {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  background: white;
  border: 2px solid #FFE0C8;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  z-index: 1001;
  padding: 24px 24px 0;
  animation: fadeUp 0.18s ease;
}

/* Arrow */
.mega-arrow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: white;
  border-left: 2px solid #FFE0C8;
  border-top: 2px solid #FFE0C8;
  border-radius: 3px 0 0 0;
}

/* Location label */
.mega-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 0 2px;
}

/* Cards grid */
.mega-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

/* Tour card */
.mega-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid #FFE0C8;
  background: #FFF8F2;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  margin-bottom: 0;
}
.mega-card:hover { background: #FFF0E4; border-color: var(--orange); }
.mega-card:hover .mega-card-name { color: var(--orange); }
.mega-card-img {
  width: 72px; height: 54px;
  min-width: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.mega-card-name { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.2; transition: color 0.15s; }
.mega-card-meta { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-top: 3px; }

/* Footer row */
.mega-drop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px 16px;
  border-top: 1px solid #FFE0C8;
  margin-top: 4px;
}
.mega-drop-link { font-size: 13px; font-weight: 800; color: #FFAB72; text-decoration: none; transition: color 0.15s; }
.mega-drop-link:hover { color: var(--orange); }
.mega-card--all { background: var(--orange) !important; border-color: var(--orange) !important; justify-content: center; gap: 10px; }
.mega-card--all .mega-card-name { color: white !important; font-size: 15px; }
.mega-card--all .mega-card-meta { color: rgba(255,255,255,0.8) !important; }
.mega-card--all:hover { background: var(--orange-dark) !important; border-color: var(--orange-dark) !important; }
.mega-card-all-icon { font-size: 22px; color: white; font-weight: 900; flex-shrink: 0; }
.mega-drop-header { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.mega-drop-header a.mega-all-tours-link { font-size: 13px; font-weight: 800; color: var(--orange) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: 2px solid var(--orange); border-radius: 40px; background: transparent; transition: all 0.15s; }
.mega-drop-header a.mega-all-tours-link:hover { background: var(--orange) !important; color: white !important; }
.mega-drop-cta {
  font-size: 13px; font-weight: 800; color: white;
  background: var(--orange); padding: 8px 16px;
  border-radius: 20px; text-decoration: none;
  transition: background 0.15s;
}
.mega-drop-cta:hover { background: var(--orange-dark); }

/* ===== NAV DROPDOWN (kept for non-mega use) ===== */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-trigger {
  cursor: pointer;
  user-select: none;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  min-width: 180px;
  list-style: none;
  overflow: visible;
  z-index: 200;
  padding: 6px 0;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  display: block;
  animation: fadeUp 0.18s ease;
}
.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text) !important;
  background: none !important;
  border-radius: 0 !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  background: var(--light-bg) !important;
  color: var(--orange) !important;
}
/* Sub-dropdown */
.nav-dropdown-sub-wrap {
  position: relative;
}
.nav-dropdown-sub-trigger {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.nav-dropdown-sub {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  min-width: 200px;
  list-style: none;
  z-index: 300;
  padding: 6px 0;
}
.nav-dropdown-sub-wrap:hover .nav-dropdown-sub,
.nav-dropdown-sub-wrap:focus-within .nav-dropdown-sub {
  display: block;
  animation: fadeUp 0.15s ease;
}
.nav-dropdown-sub li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text) !important;
  background: none !important;
  border-radius: 0 !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-sub li a:hover {
  background: var(--light-bg) !important;
  color: var(--orange) !important;
}

/* Mobile collapsible tours */
.mob-tours-wrap {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mob-tours-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px;
  font-size: 20px; font-weight: 800;
  font-family: var(--ff-display);
  color: white;
  background: none; border: none;
  cursor: pointer;
  text-align: left;
}
.mob-tours-arrow {
  width: 22px; height: 22px;
  color: rgba(255,255,255,0.7);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}
.mob-tours-trigger.open .mob-tours-arrow {
  transform: rotate(180deg);
}
.mob-tours-location {
  font-size: 11px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; color: white;
  padding: 12px 24px 8px;
  opacity: 0.9;
}
.mob-tours-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mob-tour-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 24px !important;
  font-size: 14px !important;
  font-family: var(--ff-body) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  text-decoration: none;
  color: white;
}
.mob-tour-img {
  width: 44px; height: 36px; min-width: 44px;
  border-radius: 8px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.mob-tour-text {
  display: flex; flex-direction: column; gap: 2px;
}
.mob-tour-text small {
  font-size: 11px; color: rgba(255,255,255,0.5);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.mob-tour-text strong {
  font-size: 14px; color: white; font-weight: 800; font-family: var(--ff-body);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-icons { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { padding: 40px 20px 24px; }
  .wa-float { display: flex; }
}
@media (max-width: 600px) {
  .footer { padding: 32px 20px 20px; }
  .footer-top { display: flex; flex-direction: column; gap: 20px; }
  .footer-brand { margin-bottom: 4px; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col ul { gap: 8px; }
  .footer-bottom { flex-direction: column; text-align: left; gap: 6px; }
  .footer-socials { justify-content: flex-start; }
}
