/* ============================================
   TRAVEL DEALSAVER - Main Stylesheet
   Colors: Teal/Cyan Beach Vibes
   ============================================ */

:root {
  /* Teal Beach Vibes Color Palette */
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --primary-deeper: #0f766e;
  --accent: #2dd4bf;
  --accent-warm: #f77f00;
  --deal-red: #e63946;
  --white: #ffffff;
  --off-white: #f0fdf4;
  --light-gray: #ccf0e8;
  --mid-gray: #6ee7b7;
  --dark: #0f2f2e;
  --text: #134e4a;
  --text-light: #3d7268;
  --shadow-btn-primary: 0 4px 15px rgba(13,148,136,0.35);
  --shadow-btn-primary-hover: 0 6px 20px rgba(13,148,136,0.5);
  --shadow-btn-accent: 0 4px 15px rgba(247,127,0,0.35);
  --shadow-btn-accent-hover: 0 6px 20px rgba(247,127,0,0.45);
  --shadow-sm: 0 2px 8px rgba(13, 148, 136, 0.08);
  --shadow-md: 0 4px 20px rgba(13, 148, 136, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 148, 136, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-main: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--off-white); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-btn-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-primary-hover);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-accent {
  background: linear-gradient(135deg, var(--accent-warm), #ff9e00);
  color: var(--white);
  box-shadow: var(--shadow-btn-accent);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-accent-hover);
}
.btn-accent:active { transform: translateY(0); }
.btn-accent:focus-visible { outline: 3px solid var(--accent-warm); outline-offset: 3px; }

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline:active { transform: translateY(0); }
.btn-outline:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-white:active { transform: translateY(0); }
.btn-white:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,180,216,0.15);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo img { height: 48px; width: 48px; border-radius: 50%; }
.nav-logo-text {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.1;
  color: var(--primary-dark);
}
.nav-logo-text span { color: var(--accent-warm); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--light-gray);
  color: var(--primary-dark);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.nav-dropdown-toggle:hover { background: var(--light-gray); color: var(--primary-dark); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem;
  border: 1px solid var(--light-gray);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
}
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--primary-dark); }
.nav-dropdown-menu a i { color: var(--primary); width: 18px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav — slide-in animation */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid transparent;
  flex-direction: column;
  gap: 0.25rem;
  transition: max-height 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  padding: 0 1.5rem;
  display: flex;
}
.mobile-nav.open {
  max-height: 600px;
  padding: 1rem 1.5rem;
  border-top-color: var(--light-gray);
}
.mobile-nav a {
  padding: 0.75rem 1rem;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-nav a:hover { background: var(--light-gray); color: var(--primary-dark); }
.mobile-nav a i { color: var(--primary); width: 20px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 40%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,245,212,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,180,216,0.2) 0%, transparent 50%);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
}
.hero-waves svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-warm), #ff9e00);
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(247,127,0,0.45);
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  letter-spacing: 0.01em;
}

.hero h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--accent);
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.search-tabs {
  display: flex;
  background: var(--light-gray);
  overflow-x: auto;
  scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }

.search-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.search-tab:hover { color: var(--primary-dark); }
.search-tab.active {
  background: var(--white);
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}
.search-tab i { font-size: 1rem; }

.search-panel { display: none; padding: 1.5rem; }
.search-panel.active { display: block; }

.search-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 150px;
}
.search-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.search-field input,
.search-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.search-field input:focus,
.search-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}

.search-field-icon { position: relative; }
.search-field-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid-gray);
}
.search-field-icon input { padding-left: 2.75rem; }

.search-trip-type {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.trip-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}
.trip-radio input { accent-color: var(--primary); }

/* ============================================
   DEAL CARDS
   ============================================ */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.deal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
}
.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.deal-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.deal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.deal-card:hover .deal-card-img img { transform: scale(1.05); }

.deal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--deal-red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.deal-badge.badge-hot { background: var(--accent-warm); }
.deal-badge.badge-new { background: var(--primary); }

.deal-card-save {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--mid-gray);
}
.deal-card-save:hover { background: white; color: var(--deal-red); }

.deal-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.deal-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.deal-card-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.deal-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.deal-card-meta i { color: var(--primary); }

.deal-card-price {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deal-price-from { font-size: 0.75rem; color: var(--text-light); }
.deal-price-amount {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
}
.deal-price-original {
  font-size: 0.85rem;
  color: var(--mid-gray);
  text-decoration: line-through;
}

/* ============================================
   PARTNER LOGOS
   ============================================ */
.partners-scroll {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}
.partners-track {
  display: flex;
  gap: 2.5rem;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 120px;
}
.partner-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

@keyframes scroll-partners {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   DESTINATION CARDS
   ============================================ */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dest-card:hover img { transform: scale(1.05); }
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
}
.dest-card-city {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.15rem;
}
.dest-card-price {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--dark);
}
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--mid-gray);
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-gray);
}
.blog-card-author { display: flex; align-items: center; gap: 0.4rem; }

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-deeper));
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,245,212,0.1) 0%, transparent 70%);
}

.newsletter-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-content h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter-content p { opacity: 0.85; margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }

.newsletter-privacy {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   DEAL ALERT BANNER
   ============================================ */
.deal-alert-bar {
  background: linear-gradient(135deg, var(--accent-warm), #ff9e00);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.deal-alert-bar a { color: var(--white); text-decoration: underline; }

/* ============================================
   CATEGORY ICONS ROW
   ============================================ */
.category-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.category-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
  min-width: 100px;
  text-align: center;
}
.category-icon-item:hover,
.category-icon-item.active {
  border-color: var(--primary);
  background: var(--off-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.category-icon-item i {
  font-size: 1.75rem;
  color: var(--primary);
}
.category-icon-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

/* ============================================
   PRICE ALERT WIDGET
   ============================================ */
.price-alert-widget {
  background: linear-gradient(135deg, var(--off-white), var(--white));
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.price-alert-widget:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.price-alert-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--white);
}

/* ============================================
   AFFILIATE WIDGET WRAPPER
   ============================================ */
.affiliate-widget {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}
.affiliate-widget-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 1rem 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.affiliate-widget-body { padding: 1.5rem; background: var(--white); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 52px; margin-bottom: 1rem; border-radius: 50%; }
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
}
.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-affiliate-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}

/* ============================================
   SECTION HEADER WITH CTA
   ============================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header-left h2 { margin-bottom: 0.25rem; }
.section-header-left p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================
   TABS (Deals filter tabs)
   ============================================ */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.filter-tab:hover { color: var(--primary-dark); background: var(--off-white); }
.filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
}
.trust-badge i {
  font-size: 1.25rem;
  color: var(--primary);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-deeper), var(--primary-dark));
  color: var(--white);
  padding: 3.5rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,245,212,0.1) 0%, transparent 70%);
}
.page-hero-content { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 0.7rem; color: var(--mid-gray); }

/* ============================================
   SIDEBAR
   ============================================ */
.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}
.sidebar-widget h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-gray);
  color: var(--dark);
}

/* ============================================
   LOADING / SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--light-gray) 25%, #e2eef3 50%, var(--light-gray) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-loading {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  flex-wrap: wrap;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { opacity: 0.85; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 3rem 0 2rem; }
  .hero-stats { gap: 1.5rem; }
  .search-tabs { gap: 0; }
  .search-tab { padding: 0.75rem 1rem; font-size: 0.8rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 2.5rem 0; }
  .deals-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .deals-grid { grid-template-columns: 1fr; }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .category-icons { gap: 0.75rem; }
  .category-icon-item { min-width: 80px; padding: 1rem; }
  .search-row { flex-direction: column; align-items: stretch; }
  .search-field { min-width: unset; width: 100%; max-width: 100% !important; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.show-grid { display: grid !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 0.05em; }
.testimonial-text {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-gray);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testimonial-trip { font-size: 0.8rem; color: var(--text-light); }
.testimonial-savings {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-top: 0.25rem;
}

/* ============================================
   MOBILE TOUCH TARGETS
   ============================================ */
@media (max-width: 768px) {
  .btn { min-height: 44px; white-space: normal; text-align: center; }
  .deal-card-save { min-width: 44px; min-height: 44px; }
  .nav-hamburger { min-width: 44px; min-height: 44px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   STAT COUNTER ANIMATION
   ============================================ */
.hero-stat-number {
  display: inline-block;
  transition: opacity 0.3s ease;
}
@keyframes pulse-once {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.hero-stat-number.counted { animation: pulse-once 0.4s ease; }
