/* ==========================================================================
   WHATSMORE TRAVEL 3.0 - PREMIUM ROADMAP SYSTEM & STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* HSL Color System */
  --primary: hsl(255, 93%, 61%);
  --primary-hover: hsl(255, 93%, 55%);
  --primary-light: hsl(255, 93%, 96%);
  
  --secondary: hsl(14, 98%, 57%);
  --secondary-hover: hsl(14, 98%, 50%);
  --secondary-light: hsl(14, 98%, 95%);
  
  --accent-teal: hsl(170, 75%, 41%);
  --accent-teal-light: hsl(170, 75%, 95%);
  --accent-blue: hsl(210, 100%, 50%);
  
  /* Neutrals */
  --bg-main: #f4f6f9;
  --bg-card: #ffffff;
  --bg-dark: hsl(220, 20%, 12%);
  --text-dark: hsl(220, 20%, 15%);
  --text-muted: hsl(220, 10%, 48%);
  --text-light: #ffffff;
  --border-color: hsl(220, 15%, 88%);
  
  /* Shadows & Focus */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(101, 64, 249, 0.05);
  --shadow-lg: 0 16px 48px rgba(101, 64, 249, 0.1);
  --shadow-focus: 0 0 0 4px rgba(101, 64, 249, 0.15);

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Travelpayouts Whitelabel Variables */
  --tpwl-font-family: 'Plus Jakarta Sans', sans-serif;
  --tpwl-headline-text: #ffffff;
  --tpwl-links: hsl(255, 93%, 61%);
  --tpwl-main-text: hsl(220, 20%, 15%);
  --tpwl-search-form-background: hsl(255, 93%, 61%);
  --tpwl-search-result-background: #f4f6f9;
}

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Standard Button Tokens */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(101, 64, 249, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(101, 64, 249, 0.35);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(253, 91, 46, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 91, 46, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* ==========================================================================
   NAVIGATION HEADER & AUTH DROPDOWNS
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-color);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text span {
  color: var(--secondary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

/* Redesigned Header Dropdown Menus */
.nav-dropdown-item {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.dropdown-trigger i {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-card);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 10px;
  min-width: 190px;
  z-index: 1002;
  list-style: none;
  margin-top: 10px;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-dropdown-menu li a::after {
  display: none; /* No underline effect for dropdown links */
}

.nav-dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

/* Desktop Hover Trigger */
@media (min-width: 1025px) {
  .nav-dropdown-item:hover .nav-dropdown-menu {
    display: block;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  padding: 8px 12px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: white;
  cursor: pointer;
  outline: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-actions-wrapper {
  display: none;
}

/* ==========================================================================
   RESPONSIVE GRID SYSTEM & DEVIATIONS
   ========================================================================== */
.responsive-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.responsive-grid.align-start {
  align-items: start;
}

.responsive-grid.align-center {
  align-items: center;
}

.responsive-grid.visa-grid {
  grid-template-columns: 2fr 1.2fr;
}

@media (max-width: 768px) {
  .responsive-grid, .responsive-grid.visa-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Auth Dropdown container */
.account-dropdown {
  position: relative;
  display: inline-block;
}

.account-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 10px;
  min-width: 200px;
  z-index: 1002;
  list-style: none;
  margin-top: 10px;
}

.account-dropdown:hover .account-dropdown-menu {
  display: block;
}

.account-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 10px;
}

.account-dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   GLASSMORPHIC MODAL SYSTEMS (AUTH OVERLAYS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   HERO CONSOLE & TABS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  padding: 130px 0 60px 0;
  background: linear-gradient(135deg, rgba(101, 64, 249, 0.04) 0%, rgba(253, 91, 46, 0.04) 100%), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f4f6f9"/><path d="M0,0 Q50,50 100,0 T200,0" fill="none" stroke="%23e2e8f0" stroke-width="1"/></svg>');
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  margin-bottom: 35px;
}

.hero-content h1 {
  font-size: 3.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Dashboard console */
.search-dashboard {
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 24px 30px;
  max-width: 1050px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.search-tabs::-webkit-scrollbar {
  height: 4px;
}

.search-tabs::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}

.tab-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

.tab-btn .badge-soon {
  font-size: 0.7rem;
  background: var(--border-color);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.coming-soon-form {
  text-align: center;
  padding: 30px;
  background: var(--primary-light);
  border-radius: 16px;
  border: 1px dashed var(--primary);
}

.coming-soon-form h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.coming-soon-form p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.notify-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 10px;
}

.notify-input {
  flex: 1;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  outline: none;
  font-family: var(--font-body);
}

/* ==========================================================================
   POPULAR DESTINATIONS
   ========================================================================== */
.destinations-section {
  background-color: var(--bg-card);
}

.tpwl-widget-weedles {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 30px;
}

/* ==========================================================================
   FLIGHT PRICE MAP WIDGET
   ========================================================================== */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: white;
  min-height: 500px;
}

/* ==========================================================================
   CHEAPEST DEALS WIDGET
   ========================================================================== */
.cheapest-deals-section {
  background-color: var(--bg-card);
}

.deals-widget-wrapper {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  min-height: 300px;
}

/* ==========================================================================
   POPULAR HOTELS WIDGET
   ========================================================================== */
.popular-hotels-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: white;
  min-height: 400px;
  padding: 15px;
}

/* ==========================================================================
   CAR RENTAL WIDGET SECTION
   ========================================================================== */
.rentals-section {
  background-color: var(--bg-card);
}

.rental-widget-wrapper {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  min-height: 250px;
}

/* ==========================================================================
   ACTIVITIES & CRUISE CARDS
   ========================================================================== */
.activities-grid, .cruise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pkg-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border-color);
}

.pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pkg-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.pkg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pkg-card:hover .pkg-img-wrap img {
  transform: scale(1.08);
}

.pkg-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pkg-price-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--bg-dark);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
}

.pkg-content {
  padding: 20px;
}

.pkg-details {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pkg-details i {
  color: var(--primary);
}

.pkg-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.pkg-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.pkg-rating i {
  color: #ffb300;
}

.pkg-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.pkg-footer .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   OFFERS & PROMO CARDS
   ========================================================================== */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.deal-card {
  display: flex;
  background: var(--bg-main);
  border-radius: 16px;
  overflow: hidden;
  border: 1px dashed var(--primary);
  transition: all 0.25s ease;
}

.deal-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.deal-icon-wrap {
  width: 80px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  border-right: 1px dashed var(--primary);
}

.deal-content {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

.deal-title {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.deal-code {
  font-size: 0.8rem;
  background: white;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: bold;
}

/* ==========================================================================
   WHY CHOOSE WHATSMORE TRAVEL & TRUST BADGES
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  padding: 35px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.6rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: white;
  transform: rotate(360deg);
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Trust signals bar */
.trust-badges-bar {
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
  margin-bottom: 50px;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.trust-badge-item i {
  font-size: 1.8rem;
  color: var(--accent-teal);
}

.trust-badge-text h4 {
  font-size: 1rem;
  font-weight: 700;
}

.trust-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Partner airline/hotel logos */
.partners-slider {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.partners-slider img {
  height: 35px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partners-slider img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.reviews-section {
  background: white;
}

.reviews-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.review-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.review-slide {
  min-width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.review-card {
  background: var(--bg-main);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

.reviewer-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid var(--primary-light);
}

.review-stars {
  color: #ffb300;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.review-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.7;
}

.reviewer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px 0;
  outline: none;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer p {
  padding: 12px 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: var(--bg-dark);
  color: #adb5bd;
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about .logo-link {
  color: white;
  margin-bottom: 20px;
}

.footer-about .logo-icon {
  background: var(--primary);
}

.footer-about p {
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  color: white;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #adb5bd;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: white;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-input::placeholder {
  color: #6c757d;
}

.newsletter-btn {
  background: var(--primary);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #868e96;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ==========================================================================
   PWA DYNAMIC PROMPT CARD & STICKY MOBILE NAVIGATION
   ========================================================================== */
/* Slide-up custom install banner bottom sheet */
.pwa-install-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background: var(--bg-dark);
  color: white;
  padding: 20px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pwa-install-banner.visible {
  bottom: 20px;
}

.pwa-install-content h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 4px;
}

.pwa-install-content p {
  font-size: 0.8rem;
  color: #adb5bd;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sticky App Bottom Menu (Mobile Only) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--primary);
}

/* ==========================================================================
   DYNAMIC LAYOUT MODES (SEARCH RESULTS ACTIVE)
   ========================================================================== */
body.search-results-active .hero-section {
  padding: 100px 0 30px 0;
  min-height: auto;
}

body.search-results-active .hero-content,
body.search-results-active .destinations-section,
body.search-results-active .map-section,
body.search-results-active .cheapest-deals-section,
body.search-results-active .hotels-section,
body.search-results-active .rentals-section,
body.search-results-active .activities-section,
body.search-results-active .cruises-section,
body.search-results-active .packages-section,
body.search-results-active .why-section,
body.search-results-active .blog-section,
body.search-results-active .reviews-section,
body.search-results-active .faq-section {
  display: none !important;
}

body.search-results-active #tpwl-tickets {
  margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 20px 24px;
    gap: 8px;
    z-index: 1001;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    align-items: flex-start;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  /* Dropdown behavior for mobile menu */
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-main);
    border-left: 2px solid var(--primary);
    margin-left: 8px;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 0;
    min-width: auto;
  }

  .nav-dropdown-item.active .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-item.active .dropdown-trigger i {
    transform: rotate(180deg);
  }

  .dropdown-trigger {
    padding: 10px 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Header actions hide on mobile header bar, moved inside menu drawer */
  .header-actions {
    display: none !important;
  }

  .mobile-actions-wrapper {
    display: block;
    width: 100%;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-actions .nav-link-btn {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 0;
  }

  .mobile-account-dropdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
  }

  .mobile-account-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
  }

  .mobile-bottom-nav {
    display: flex;
  }
  
  .pwa-install-banner.visible {
    bottom: 75px; /* Above mobile bottom bar */
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tpwl-widget-weedles {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile bottom bar */
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .db-content {
    padding: 20px 16px !important;
  }
}

@media (max-width: 576px) {
  .tpwl-widget-weedles {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .trust-badge-item {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING SUPPORT WIDGET
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: wa-pulsate 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.6);
}

.whatsapp-float i {
  margin: 0;
}

/* Tooltip style */
.whatsapp-tooltip {
  visibility: hidden;
  width: 190px;
  background-color: #343a40;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  position: absolute;
  right: 75px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #343a40;
}

.whatsapp-float:hover .whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Pulsate Keyframes */
@keyframes wa-pulsate {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Adjust button placement for mobile navigation context */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px; /* Positions it above the mobile sticky navigation bar */
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on small mobile viewports */
  }
}

/* ==========================================================================
   CORE WEB VITALS OPTIMIZATIONS (CSS RENDER-BLOCKING PREVENTIONS)
   ========================================================================== */
.map-section,
.cheapest-deals-section,
.hotels-section,
.rentals-section,
.activities-section,
.cruises-section,
.packages-section,
.why-section,
.blog-section,
.reviews-section,
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

/* ==========================================================================
   FINAL UX & RESPONSIVE DESIGN POLISH
   ========================================================================== */

/* Hero Trust Badge Styling */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(101, 64, 249, 0.08);
  border: 1px solid rgba(101, 64, 249, 0.15);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(101, 64, 249, 0.03);
}

.hero-trust-badge i {
  font-size: 0.95rem;
}

/* Visibility Helpers for Desktop vs Mobile Header */
@media (min-width: 1025px) {
  .mobile-only-item {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .desktop-only-item {
    display: none !important;
  }
}

/* Mobile Search Dashboard Horizontal Scroll Fade Indicator */
@media (max-width: 768px) {
  .search-dashboard {
    position: relative;
  }
  
  .search-dashboard::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 24px; /* aligned with tab buttons */
    height: 48px;
    width: 60px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
    pointer-events: none;
    z-index: 5;
    border-radius: 0 16px 0 0;
  }
}

/* Premium Account Dropdown Transition & Scale Animations */
.account-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.25s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1),
              visibility 0.25s;
  display: block !important; /* Managed by opacity/visibility for transitions */
}

.account-dropdown:hover .account-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Adjust account dropdown border/radius styling */
.account-dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(101, 64, 249, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.account-dropdown-menu li a {
  transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
}

.account-dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

