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

:root {
  --primary: #0C5DBA;
  --primary-dark: #094a99;
  --primary-light: #1a72d9;
  --accent: #FF6B35;
  --accent-light: #ff8555;
  --gold: #FFD700;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --bg-light: #f5f7fa;
  --border: #e0e6ef;
  --success: #28a745;
  --shadow: 0 4px 24px rgba(12,93,186,0.10);
  --shadow-hover: 0 8px 32px rgba(12,93,186,0.18);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; }

/* ====== NAVBAR ====== */
.navbar-brand img { height: 38px; }
.navbar { background: var(--white) !important; box-shadow: 0 2px 16px rgba(0,0,0,0.07); padding: 12px 0; position: sticky; top: 0; z-index: 999; }
.navbar-nav .nav-link { font-weight: 500; color: var(--dark) !important; padding: 8px 14px !important; border-radius: var(--radius-sm); transition: all 0.2s; font-size: 0.92rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary) !important; background: rgba(12,93,186,0.06); }
.navbar-call { background: var(--primary); color: var(--white) !important; border-radius: 24px; padding: 8px 18px !important; font-weight: 600; }
.navbar-call:hover { background: var(--primary-dark) !important; color: var(--white) !important; }
.top-bar { background: var(--primary); color: var(--white); padding: 8px 0; font-size: 0.82rem; }
.top-bar a { color: var(--gold); font-weight: 600; }

/* ====== HERO ====== */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary-light) 100%); min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('../images/photo-1436491865332-7a61a109cc05.jpg') center/cover; opacity: 0.18; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; color: var(--white); line-height: 1.15; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 16px 0 0; }
.hero-badge { display: inline-block; background: var(--accent); color: var(--white); border-radius: 24px; padding: 5px 18px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }

/* ====== SEARCH BOX ====== */
.search-box { background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 48px rgba(0,0,0,0.22); padding: 28px 28px 22px; margin-top: 32px; position: relative; z-index: 3; }
.search-tabs .nav-link { color: var(--text); font-weight: 600; border: none; border-bottom: 3px solid transparent; border-radius: 0; padding: 10px 20px; font-size: 0.92rem; }
.search-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); background: none; }
.search-tabs .nav-link i { margin-right: 6px; }
.search-form .form-label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.search-form .form-control, .search-form .form-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.93rem; font-family: 'Poppins', sans-serif; transition: border-color 0.2s; }
.search-form .form-control:focus, .search-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(12,93,186,0.10); }
.trip-type-pills .form-check-label { font-size: 0.85rem; font-weight: 500; cursor: pointer; }
.btn-search { background: var(--accent); color: var(--white); font-weight: 700; font-size: 1rem; border: none; border-radius: 10px; padding: 13px 36px; transition: all 0.22s; letter-spacing: 0.3px; }
.btn-search:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }
.btn-primary-cta { background: var(--primary); color: var(--white); font-weight: 700; border: none; border-radius: 10px; padding: 12px 30px; transition: all 0.22s; }
.btn-primary-cta:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(12,93,186,0.28); }

/* ====== RATINGS STRIP ====== */
.ratings-strip { background: var(--white); padding: 18px 0; border-bottom: 1px solid var(--border); }
.rating-item { text-align: center; }
.rating-item .score { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.rating-item .label { font-size: 0.75rem; color: var(--text-light); }
.rating-item .stars { color: #f5a623; font-size: 0.82rem; letter-spacing: 1px; }
.rating-divider { width: 1px; background: var(--border); height: 40px; align-self: center; }

/* ====== SECTIONS ====== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-label { display: inline-block; background: rgba(12,93,186,0.08); color: var(--primary); border-radius: 24px; padding: 5px 18px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--dark); }
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-light); margin-top: 8px; font-size: 0.95rem; }

/* ====== DEAL CARDS ====== */
.deal-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all 0.25s; border: 1.5px solid var(--border); cursor: pointer; }
.deal-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--primary); }
.deal-card .card-img { height: 160px; object-fit: cover; width: 100%; }
.deal-card .airline-logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--bg-light); border: 1px solid var(--border); }
.deal-price { font-size: 1.45rem; font-weight: 800; color: var(--accent); }
.deal-price span { font-size: 0.78rem; font-weight: 500; color: var(--text-light); }
.deal-tag { display: inline-block; background: rgba(40,167,69,0.1); color: var(--success); border-radius: 4px; padding: 2px 8px; font-size: 0.72rem; font-weight: 700; }
.deal-route { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.deal-route .route-arrow { color: var(--primary); margin: 0 6px; }
.deal-date { font-size: 0.78rem; color: var(--text-light); }

/* ====== FEATURE CARDS ====== */
.feature-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); border: 1.5px solid var(--border); transition: all 0.25s; text-align: center; }
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.fi-blue { background: rgba(12,93,186,0.10); color: var(--primary); }
.fi-orange { background: rgba(255,107,53,0.10); color: var(--accent); }
.fi-green { background: rgba(40,167,69,0.10); color: var(--success); }
.fi-gold { background: rgba(255,215,0,0.15); color: #b8960c; }

/* ====== HOTEL & CRUISE CARDS ====== */
.h-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; border: 1.5px solid var(--border); background: var(--white); }
.h-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.h-card img { height: 200px; object-fit: cover; width: 100%; }
.stars-row { color: #f5a623; font-size: 0.85rem; }
.price-tag { font-weight: 800; font-size: 1.3rem; color: var(--primary); }
.price-tag small { font-size: 0.75rem; color: var(--text-light); font-weight: 400; }
.badge-deal { background: var(--accent); color: var(--white); font-size: 0.7rem; font-weight: 700; border-radius: 4px; padding: 3px 8px; }

/* ====== DEALS SECTION ====== */
.deals-grid .deal-promo { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.deal-promo img { height: 200px; object-fit: cover; width: 100%; transition: transform 0.35s; }
.deal-promo:hover img { transform: scale(1.04); }
.deal-promo-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%); padding: 20px 16px 14px; color: var(--white); }
.deal-promo-overlay h6 { font-weight: 700; margin: 0; font-size: 0.95rem; }
.deal-promo-overlay p { font-size: 0.78rem; margin: 4px 0 0; opacity: 0.9; }

/* ====== CTA BANNER ====== */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: var(--radius); padding: 48px 40px; color: var(--white); position: relative; overflow: hidden; }
.cta-banner::after { content: '✈'; position: absolute; right: -20px; top: -20px; font-size: 160px; opacity: 0.06; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-banner p { opacity: 0.85; }

/* ====== NEWSLETTER ====== */
.newsletter { background: var(--bg-light); }
.newsletter-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.newsletter-icon { width: 72px; height: 72px; background: rgba(12,93,186,0.10); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.8rem; color: var(--primary); }
.newsletter-box input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 18px; font-family: 'Poppins', sans-serif; font-size: 0.92rem; }
.newsletter-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(12,93,186,0.10); outline: none; }

/* ====== FOOTER ====== */
footer { background: var(--dark); color: rgba(255,255,255,0.75); }
footer .footer-top { padding: 60px 0 40px; }
footer h6 { color: var(--white); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px; }
footer a { color: rgba(255,255,255,0.65); font-size: 0.85rem; display: block; margin-bottom: 8px; transition: color 0.2s; }
footer a:hover { color: var(--gold); }
footer .footer-brand p { font-size: 0.85rem; line-height: 1.7; opacity: 0.7; }
.footer-bottom { background: rgba(0,0,0,0.25); padding: 16px 0; font-size: 0.8rem; }
.social-links a { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 0.2s; margin-right: 8px; font-size: 0.9rem; }
.social-links a:hover { background: var(--primary); color: var(--white); }

/* ====== CRUISE PAGE ====== */
.cruise-hero { background: linear-gradient(135deg, #0C3D6E 0%, #0C5DBA 60%, #1a9cd8 100%); position: relative; overflow: hidden; min-height: 75vh; display: flex; align-items: center; }
.cruise-hero::before { content: ''; position: absolute; inset: 0; background: url('../images/cruise/photo-1548574505-5e239809ee19.jpg') center/cover; opacity: 0.22; }
.cruise-line-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; border: 1.5px solid var(--border); background: var(--white); }
.cruise-line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cruise-line-card img { height: 180px; object-fit: cover; width: 100%; }
.cruise-badge { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); border-radius: 24px; padding: 4px 14px; font-size: 0.72rem; font-weight: 700; display: inline-block; }

/* ====== PAGE HERO (inner pages) ====== */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); padding: 70px 0 50px; color: var(--white); text-align: center; position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover; opacity: 0.15; }
.page-hero h1 { font-family: 'Playfair Display', serif; position: relative; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { position: relative; opacity: 0.85; font-size: 1.05rem; }
.breadcrumb { background: none; padding: 0; font-size: 0.85rem; position: relative; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,0.75); }

/* ====== FILTER SIDEBAR ====== */
.filter-box { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1.5px solid var(--border); }
.filter-box h6 { font-weight: 700; color: var(--dark); margin-bottom: 14px; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.price-range input[type=range] { width: 100%; accent-color: var(--primary); }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 60px 0; }
  .search-box { padding: 20px 16px; }
  .cta-banner { padding: 32px 24px; }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 2rem; }
  .search-tabs .nav-link { padding: 8px 12px; font-size: 0.82rem; }
  .deal-card .card-img { height: 130px; }
  footer .footer-top { padding: 36px 0 24px; }
  .rating-divider { display: none; }
}
@media (max-width: 575px) {
  .cta-banner { padding: 24px 18px; }
  .cta-banner::after { display: none; }
}

/* ====== UTILS ====== */
.bg-primary-soft { background: rgba(12,93,186,0.06); }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.fw-800 { font-weight: 800; }
.rounded-xl { border-radius: var(--radius); }
.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }
