*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Segoe UI', Arial, sans-serif; color: #1a1a2e; background: #f7f8fc; font-size: 15px; line-height: 1.6; }

a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar { background: #fff; border-bottom: 1px solid #e8eaf0; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 32px; }
.logo { font-size: 22px; font-weight: 800; color: #0066ff; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { font-size: 14px; color: #444; font-weight: 500; transition: color 0.2s; padding-bottom: 2px; }
.nav-links a:hover, .nav-links a.active { color: #0066ff; border-bottom: 2px solid #0066ff; }
.nav-actions { display: flex; gap: 10px; }
.nav-btn { padding: 7px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; border: 1px solid #dde0ea; color: #333; background: transparent; cursor: pointer; transition: background 0.2s; }
.nav-btn:hover { background: #f0f2f8; }
.nav-btn.primary { background: #0066ff; color: #fff; border-color: #0066ff; }
.nav-btn.primary:hover { background: #0050cc; }


/* HERO HOME */
.hero {
  background: url('images/hero-home.jpg') center center / cover no-repeat;
  padding: 72px 24px 80px;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 32px;
}

/* HERO INNER PAGES */
.hero {
  background: url('img/plane.jpg') center center / cover no-repeat;
  padding: 72px 24px 80px;
  text-align: center;
  color: #fff;
}
.page-hero {
  padding: 60px 24px 70px;
  text-align: center;
  color: #fff;
}

.page-hero .hero-content {
  max-width: 90px;        
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.88;
  margin-bottom: 28px;
}
.hotel-hero    { background: linear-gradient(135deg, #1a6b4a 0%, #0d4a32 100%); }
.vol-hero      { background: linear-gradient(135deg, #1a3a6b 0%, #0d2040 100%); }
.train-hero    { background: linear-gradient(135deg, #6b1a1a 0%, #401010 100%); }
.activite-hero { background: linear-gradient(135deg, #6b4a1a 0%, #3d2800 100%); }
.voiture-hero  { background: linear-gradient(135deg, #3a1a6b 0%, #200d40 100%); }

/* SEARCH TABS */
.search-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.tab { padding: 8px 22px; border-radius: 24px; border: 1.5px solid rgba(255,255,255,0.4); background: transparent; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.tab:hover, .tab.active { background: #fff; color: #0066ff; border-color: #fff; }

/* SEARCH BOX */
.search-box { background: #fff; border-radius: 16px; padding: 20px 24px; display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.search-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; }
.search-field label { font-size: 12px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.search-field input, .search-field select { border: 1.5px solid #e0e4f0; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #222; background: #f8f9fd; outline: none; transition: border-color 0.2s; }
.search-field input:focus, .search-field select:focus { border-color: #0066ff; background: #fff; }
.search-btn { background: #ff6600; color: #fff; border: none; border-radius: 10px; padding: 12px 28px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.1s; white-space: nowrap; }
.search-btn:hover { background: #e05500; }
.search-btn:active { transform: scale(0.97); }

/* PROMO BANNER */
.promo-banner { background: #fff8e6; border-top: 1px solid #ffe199; border-bottom: 1px solid lightblue,enter; padding: 12px 24px; font-size: 14px; color: #7a5200; display: flex; justify-content: center; gap: 16px; align-items: center; }
.promo-banner a { font-weight: 600; color: #cc7700; text-decoration: underline; }

/* SECTIONS */
.section { padding: 56px 24px; }
.section.alt { background: #eef2ff; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; color: #1a1a2e; }
.section-sub { color: #777; margin-bottom: 28px; font-size: 14px; }

/* DESTINATION GRID */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dest-card { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.2s; }
.dest-card:hover { transform: translateY(-4px); }
.dest-card.large { grid-row: span 2; }
.dest-card img { width: 100%; height: 300px; object-fit: cover; object-position: center; display: block; }
.dest-card.large img { height: 100%; min-height: 334px; }
.dest-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); padding: 16px 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.dest-name { color: #fff; font-weight: 700; font-size: 16px; }
.dest-price { color: rgba(255,255,255,0.85); font-size: 12px; }

/* CARD IMAGE — used everywhere */
.card-img { width: 100%; height: 190px; object-fit: cover; object-position: center; display: block; }

/* HOTEL / ACTIVITY CARDS */
.hotel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hotel-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e4e8f5; transition: transform 0.2s, box-shadow 0.2s; }
.hotel-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,60,200,0.1); }
.hotel-body { padding: 14px 16px; }
.hotel-stars { color: #f5a623; font-size: 13px; margin-bottom: 4px; }
.hotel-name { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 2px; }
.hotel-location { font-size: 13px; color: #888; margin-bottom: 8px; }
.hotel-desc { font-size: 13px; color: #666; margin-bottom: 12px; line-height: 1.5; }
.hotel-footer { display: flex; justify-content: space-between; align-items: center; }
.hotel-old { font-size: 12px; color: #aaa; text-decoration: line-through; margin-right: 4px; }
.hotel-price { font-size: 18px; font-weight: 800; color: #0066ff; }
.hotel-night { font-size: 12px; color: #999; }
.book-btn { background: #0066ff; color: #fff; border: none; border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.2s; display: inline-block; }
.book-btn:hover { background: #0050cc; }

/* ACTIVITY TAG */
.activ-tag { display: inline-block; background: #e8f4ff; color: #0055cc; border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 600; margin-bottom: 6px; }

/* PERKS */
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }
.perk { background: #fff; border-radius: 14px; padding: 28px 22px; border: 1px solid #e4e8f5; text-align: center; }
.perk-icon { font-size: 32px; margin-bottom: 14px; }
.perk h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.perk p { font-size: 13px; color: #777; line-height: 1.6; }

/* FLIGHT LIST */
.flight-list { display: flex; flex-direction: column; gap: 14px; }
.flight-card { background: #fff; border-radius: 14px; border: 1px solid #e4e8f5; padding: 18px 24px; display: flex; align-items: center; gap: 24px; transition: box-shadow 0.2s; }
.flight-card:hover { box-shadow: 0 4px 20px rgba(0,60,200,0.08); }
.flight-airline { display: flex; align-items: center; gap: 8px; width: 110px; font-size: 14px; font-weight: 600; color: #333; flex-shrink: 0; }
.airline-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.airline-dot.blue   { background: #0066ff; }
.airline-dot.red    { background: #e02020; }
.airline-dot.green  { background: #1a8a3a; }
.airline-dot.orange { background: #e07000; }
.flight-route { display: flex; align-items: center; gap: 16px; flex: 1; }
.flight-city { display: flex; flex-direction: column; }
.city-code { font-size: 20px; font-weight: 800; color: #1a1a2e; }
.city-name { font-size: 12px; color: #888; }
.flight-arrow { color: #aaa; font-size: 14px; flex: 1; text-align: center; }
.flight-details { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.flight-details span { font-size: 13px; color: #555; }
.badge { background: #e8f4ff; color: #0055cc; border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.flight-price-col { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.flight-old { font-size: 12px; color: #bbb; text-decoration: line-through; }
.flight-price { font-size: 20px; font-weight: 800; color: #0066ff; }

/* CAR GRID */
.car-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.car-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e4e8f5; transition: transform 0.2s, box-shadow 0.2s; }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,60,200,0.1); }
.car-body { padding: 14px 16px; }
.car-tag { display: inline-block; background: #e8f4ff; color: #0055cc; border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.car-tag.suv  { background: #e8f8e8; color: #1a6a1a; }
.car-tag.luxe { background: #f8f0e0; color: #7a5000; }
.car-tag.elec { background: #f0e8f8; color: #6020a0; }
.car-name { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.car-spec { font-size: 12px; color: #888; margin-bottom: 10px; }
.car-features { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.car-features li { font-size: 12px; color: #1a7a40; }
.car-footer { display: flex; justify-content: space-between; align-items: center; }

/* FOOTER */
.footer { background: #0d1340; color: #c0c6e0; padding: 48px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-col p { font-size: 13px; line-height: 1.7; color: #8a92b8; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: #8a92b8; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e2560; padding: 18px 0; text-align: center; max-width: 1200px; margin: 0 auto; font-size: 13px; color: #5a6080; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hotel-grid, .car-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-card.large { grid-column: span 2; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .flight-card { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero h1, .page-hero h1 { font-size: 24px; }
  .search-box { flex-direction: column; }
  .search-field { min-width: 100%; }
  .hotel-grid, .car-grid, .dest-grid, .perks-grid { grid-template-columns: 1fr; }
  .dest-card.large { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .flight-card { flex-direction: column; align-items: flex-start; }
  * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  padding: 30px;
}

/* Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
}

.section-more {
  font-size: 14px;
  color: #0071c2;
  text-decoration: none;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  scroll-behavior: smooth;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Flèches */
.arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
  line-height: 1;
}

.arrow:hover {
  background: #f0f0f0;
}

.arrow-left {
  left: -20px;
}

.arrow-right {
  right: -20px;
}

/* Cards */
.hotel-card {
  min-width: calc(25% - 12px);
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}

.hotel-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Image */
.hotel-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.hotel-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.heart-btn:hover {
  color: red;
}

/* Info */
.hotel-info {
  padding: 12px;
}

.hotel-city {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 4px;
}

.hotel-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 6px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-badge {
  background: #003580;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

.rating-count {
  font-size: 12px;
  color: #6b6b6b;
}

.hotel-price {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.hotel-price-old {
  font-size: 13px;
  color: #6b6b6b;
  text-decoration: line-through;
  margin-left: 6px;
}
}
.btn-login {
  font-size: 14px;
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
  padding: 9px 20px;
  border: 2px solid #0066ff;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.btn-login:hover {
  background: #0066ff;
  color: #fff;
}

.btn-register {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 9px 20px;
  background: #0066ff;
  border: 2px solid #0066ff;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-register:hover {
  background: #0052cc;
  border-color: #0052cc;
}
.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── SEARCH BOX ─────────────────────────────────────────── */
.search-box {
  background: rgba(255,255,255,0.97);
  border-radius: 28px;
  padding: 0.5rem;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
}

.search-tabs-row {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem 0.25rem 0;
}

.search-tab {
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  color: #5A6A7E;
  padding: 0.5rem 1.1rem;
  border-radius: 10px 10px 0 0;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-tab:hover,
.search-tab.active {
  background: #E8F2FF;
  color: #1A6FD4;
}

.search-tab-icon {
  font-size: 14px;
}

.search-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(15,24,38,0.08);
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A99AB;
  padding: 0 0.5rem;
}

.search-field input {
  border: 1px solid rgba(15,24,38,0.14);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: #0F1826;
  background: #F7F9FC;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.search-field input:focus {
  border-color: #1A6FD4;
  box-shadow: 0 0 0 3px rgba(26,111,212,0.1);
  background: #fff;
}

.search-field input::placeholder {
  color: #8A99AB;
}

.search-btn {
  background: #1A6FD4;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 1.5rem;
  height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.search-btn:hover {
  background: #0D4FA0;
  transform: translateY(-1px);
}

/* ─── PROMO BANNER ────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(90deg, #0D2A50 0%, #1A6FD4 50%, #0D2A50 100%);
  padding: 0.85rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.promo-banner-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 400;
}

.promo-banner-text strong {
  color: #F5C842;
  font-weight: 700;
}

.promo-link {
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  transition: background 0.18s;
}

.promo-link:hover {
  background: rgba(255,255,255,0.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; }

/* make select match input styling */
.search-field select {
  border: 1px solid rgba(15,24,38,0.14);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: #0F1826;
  background: #F7F9FC;
  outline: none;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.search-field select:focus {
  border-color: #1A6FD4;
  box-shadow: 0 0 0 3px rgba(26,111,212,0.1);
  background: #fff;
}
.search-tab {
  cursor: pointer;
}