/* =========================
   Tripzeel - Consolidated style.css
   Derived from your main homepage CSS
   ========================= */

/* ---------- Root + Global ---------- */
:root {
    --primary-color: #007BFF;
    --secondary-color: #0056b3;
    --accent-1: #D9363E;
    --dark-color: #212529;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --background-light: #ffffff;
    --light-gray: #f8f9fa;
    --white-color: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 15px;
    --body-font: 'Poppins', sans-serif;
    --cursive-font: 'Playfair Display', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
html, body { height: 100%; }
body {
    font-family: var(--body-font);
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header (glassmorphism) ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid transparent;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 25px;
}
.logo img { max-height: 45px; display: block; }

/* Desktop nav */
.main-nav { display: block; }
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-links a:hover { color: var(--primary-color); }
.nav-links a:hover::before { transform: scaleX(1); }

/* Submenu */
.has-submenu { position: relative; }
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    background: var(--background-light);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu li a { display: block; padding: 10px 20px; }
.submenu li a::before { display: none; }

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.phone-button {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}
.phone-button:hover { color: var(--primary-color); }

.cta-button {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-light);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.5);
}

/* Mobile nav toggle */
.mobile-nav-toggle { display: none; }

/* ---------- Hero & Slider ---------- */
.hero-section, .hero-slider {
    height: 100vh;
    position: relative;
}
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Slider wrapper & slides */
.slider-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}
.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white-color);
    text-align: center;
    width: 90%;
    max-width: 800px;
}
.slide-content .cursive-title { color: #FFD700; font-size: 2rem; opacity: 0; animation: slideInUp 1s 0.3s forwards; }
.slide-content h1 { font-size: 5rem; font-weight: 800; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); opacity: 0; animation: slideInUp 1s 0.5s forwards; }
.slide-content p { font-size: 1.2rem; margin: 1rem 0 2rem; opacity: 0; animation: slideInUp 1s 0.7s forwards; }
.slide-content .btn { opacity: 0; animation: slideInUp 1s 0.9s forwards; }

@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Slider nav */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    color: var(--white-color);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
}
.slider-nav:hover { background: var(--primary-color); }
#prevBtn { left: 20px; }
#nextBtn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}
.dot.active { background: var(--primary-color); transform: scale(1.2); }

/* ---------- Quick Booking / Booking Section ---------- */
.booking-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0;
}
.booking-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; max-width:1200px; margin: 0 auto; padding: 0 20px; }
.booking-image img { width: 100%; border-radius: var(--border-radius); }
.booking-form .cursive-title { color: #ccc; }
.booking-form .main-title { color: var(--white-color); font-size: 2.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.form-group { margin-bottom: 15px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #ddd; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #555;
    background: #444;
    color: var(--white-color);
    font-family: var(--body-font);
    font-size: 1rem;
}
.form-group select { appearance: none; background-repeat: no-repeat; background-position: right 15px center; background-size: 1em; }
.btn-submit { background-color: var(--primary-color); color: var(--white-color); padding: 14px 40px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; transition: 0.3s; font-size: 1rem; width: 100%; }
.btn-submit:hover { opacity: 0.9; }

/* Quick booking form (white card overlap) */
.quick-booking-section { padding: 0; margin-top: -80px; position: relative; z-index: 10; }
.booking-form-container { background: var(--white-color); padding: 40px; border-radius: var(--border-radius); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.booking-form-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 20px; align-items: flex-end; }

/* ---------- International / Domestic Cards ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.cursive-title { font-family: var(--cursive-font); font-size: 1.1rem; color: #555; font-weight: 500; margin-bottom: 5px; }
.main-title { font-size: 2.2rem; color: var(--primary-color); font-weight: 700; }

.international-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; text-align: center; }
.intl-card { transition: transform 0.3s; }
.intl-card:hover { transform: translateY(-10px); }
.intl-card .img-container { width: 150px; height: 200px; margin: 0 auto; border-radius: 50% / 40% 40% 60% 60%; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.intl-card img { width: 100%; height: 100%; object-fit: cover; }
.flag-icon { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; background: var(--white-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.flag-icon img { width: 30px; height: auto; }
.intl-card h3 { font-size: 1.2rem; margin-top: 35px; margin-bottom: 5px; }
.intl-card p { color: #666; font-size: 0.9rem; }

.domestic-section { background-color: var(--light-gray); padding: 60px 0; }
.domestic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.dom-card { background: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; transition: transform 0.3s; }
.dom-card:hover { transform: translateY(-10px); }
.dom-card img { width: 100%; height: 250px; object-fit: cover; }
.dom-card-content { padding: 30px 20px 20px; }
.dom-card-content h3 { font-size: 1.4rem; }

/* ---------- Why Choose Us ---------- */
.why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.why-us-item { background: var(--light-gray); padding: 30px; text-align: center; border-radius: var(--border-radius); transition: all 0.3s ease; border: 1px solid #eee;}
.why-us-item:hover { transform: translateY(-10px); background: var(--white-color); box-shadow: var(--shadow); }
.why-us-item .icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.why-us-item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why-us-item p { color: #666; font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 60px 0; }
.about-content p { margin-bottom: 20px; color: #555; }
.feature-box { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: var(--border-radius); background-color: var(--light-gray); margin-top: 20px; }
.feature-icon { font-size: 1.8rem; color: var(--primary-color); min-width: 50px; }
.about-image img { width: 100%; max-width: 500px; border-radius: 12px; }

/* ---------- Steps section (three steps) ---------- */
.steps-section { text-align: center; padding: 60px 20px; max-width: 1200px; margin: 0 auto; position: relative; }
.steps { display: flex; justify-content: space-between; align-items: center; position: relative; gap: 20px; }
.steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-bottom: 2px dashed #ccc;
  z-index: 0;
}
.step { flex: 1; min-width: 250px; padding: 20px; text-align: center; position: relative; }
.icon-circle { width: 100px; height: 100px; background: #fff; border: 4px solid #00d4c6; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 42px; color: #00d4c6; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background-color: var(--dark-color); color: #ccc; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 40px 0 20px; max-width:1200px; margin:0 auto; }
.footer-col h4 { color: var(--white-color); margin-bottom: 20px; }
.footer-logo img { height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.contact-item { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; }
.contact-item i { color: var(--primary-color); margin-top: 5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; text-decoration: none; transition: 0.3s; display: flex; align-items: center; }
.footer-links a:before { content: '>'; margin-right: 10px; font-weight: bold; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; max-width:1200px; margin: 0 auto; }

/* ---------- Booking Modal (global) ---------- */
.booking-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2000; }
.booking-modal[aria-hidden="false"] { display: flex; }
.booking-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.booking-modal-panel {
  position: relative; width: 100%; max-width: 720px; margin: 20px; background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); z-index: 2; max-height: 85vh; overflow-y: auto;
}
.booking-modal-close { position: absolute; top: 12px; right: 12px; background: transparent; border: none; font-size: 28px; line-height: 1; cursor: pointer; }
.booking-modal-panel .form-group input, .booking-modal-panel .form-group select, .booking-modal-panel .form-group textarea {
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #ccc; box-sizing: border-box;
}
.booking-modal-panel .btn-submit { min-width: 160px; padding:10px 20px; border:none; border-radius:6px; background:var(--primary-color); color:#fff; cursor:pointer; }
.booking-modal-panel .btn-submit:hover { background: var(--secondary-color); }

/* ---------- Utility / Misc ---------- */
.container { padding-left: 20px; padding-right: 20px; }
.btn { display: inline-block; background-color: var(--primary-color); color: var(--white-color); padding: 12px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.img-responsive { max-width:100%; height:auto; display:block; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .main-nav, .header-actions .phone-button { display: none; }
    .mobile-nav-toggle { display: block; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text-dark); }
    .booking-grid { grid-template-columns: 1fr; }
    .booking-image { display: none; }
    .booking-form-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background-color: var(--white-color); width: 100%; text-align: center; transition: 0.3s; box-shadow: var(--shadow); gap: 0; }
    .nav-menu.active { left: 0; }
}

@media (max-width: 768px) {
    .hero-slider { height: 90vh; }
    .slide-content h1 { font-size: 3rem; }
    .form-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; gap: 40px; }
    .steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; }
    .booking-modal-panel { padding: 18px; margin: 12px; }
    .booking-modal-close { top: 8px; right: 8px; }
}

/* small screens extra */
@media (max-width: 480px) {
    .nav-links { gap: 16px; font-size: 14px; }
    .cta-button { padding: 10px 18px; font-size: 14px; }
    .slide-content h1 { font-size: 2.2rem; }
    .main-title { font-size: 1.6rem; }
}

/* Reset */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Poppins',sans-serif; }

/* Header */
header {
  width:100%; position:fixed; top:0; left:0;
  background:#fff; display:flex; align-items:center; justify-content:space-between;
  padding:15px 40px; z-index:1000; box-shadow:0 2px 6px rgba(0,0,0,0.1);
}
header .logo img { height:55px; }
header nav ul { list-style:none; display:flex; gap:30px; }
header nav ul li a {
  text-decoration:none; color:#222; font-weight:500; transition:color .3s;
}
header nav ul li a:hover { color:#e63946; }
header .cta-button {
  background:linear-gradient(45deg,#e63946,#1d71b8);
  padding:10px 22px; border-radius:25px; color:#fff; font-weight:600;
  text-decoration:none; transition:0.3s;
}
header .cta-button:hover { opacity:.85; }

/* Hero */
.hero {
  width:100%; height:100vh; background:url('images/hero-bg.jpg') center/cover no-repeat;
  display:flex; align-items:center; justify-content:center; text-align:center;
}
.hero h1 { color:#fff; font-size:3rem; }
.hero p { color:#f1f1f1; margin-top:15px; font-size:1.2rem; }

/* Modal */
.modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.6); align-items:center; justify-content:center; z-index:2000; }
.modal.active { display:flex; }
.modal-content { background:#fff; padding:25px; border-radius:10px; width:90%; max-width:450px; position:relative; }
.modal-content h2 { margin-bottom:20px; font-size:22px; }
.modal-content form input,
.modal-content form select,
.modal-content form textarea {
  width:100%; padding:12px; margin-bottom:15px; border:1px solid #ddd; border-radius:6px;
}
.modal-content form button {
  background:#1d71b8; color:#fff; padding:12px; border:none; border-radius:6px;
  cursor:pointer; width:100%; font-size:16px; font-weight:600;
}
.modal-content form button:hover { background:#e63946; }
.close-btn { position:absolute; top:12px; right:12px; font-size:22px; cursor:pointer; color:#555; }

/* Footer */
footer { text-align:center; padding:25px; background:#f8f8f8; margin-top:50px; }

