/* ==========================================
   Sky World Travel Nepal - Main Stylesheet
   ========================================== */

:root {
    --primary: #1E3A8A;
    --primary-dark: #142a63;
    --primary-light: #E8EEFB;
    --accent: #D4A017;
    --accent-dark: #b8880e;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #475569;
    --gray-500: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* Top Bar */
.top-bar { background: var(--dark); color: var(--white); padding: 8px 0; font-size: 13px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contact span { margin-right: 20px; }
.top-contact i { color: var(--accent); margin-right: 6px; }
.top-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; background: rgba(255,255,255,0.1);
    border-radius: 50%; margin-left: 6px;
}
.top-social a:hover { background: var(--accent); color: var(--dark); }

/* Navbar */
.navbar {
    background: var(--white); padding: 10px 0;
    box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000;
}
.navbar.scrolled { box-shadow: var(--shadow-md); padding: 6px 0; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; }
.logo-img { height: 62px; width: auto; display: block; transition: transform 0.4s ease; }
.logo:hover .logo-img { transform: scale(1.05); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-weight: 500; color: var(--gray-900); position: relative;
    padding: 6px 0; font-size: 15px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

/* Contact details integrated into the navbar (replaces old top bar) */
.nav-contact { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.nav-contact-item { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; color: var(--gray-900); white-space: nowrap; transition: color 0.25s ease; }
.nav-contact-item i { color: var(--accent); margin-right: 7px; font-size: 12px; width: 14px; text-align: center; }
.nav-contact-item:hover { color: var(--primary); }

.nav-social { display: flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid var(--gray-100); }
.nav-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--gray-100); color: var(--primary); font-size: 13px;
    transition: all 0.25s ease;
}
.nav-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.menu-toggle { display: none; background: transparent; border: none; font-size: 22px; cursor: pointer; color: var(--primary); }

/* Hero */
.hero {
    position: relative; min-height: 640px; display: flex; align-items: center;
    background: #0f172a;
    color: var(--white); padding: 80px 0 120px;
    overflow: hidden;
}
/* Animated background: crossfading image layers (Flight → Hotel → Tours → Visa) */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.4s ease-in-out, transform 7s ease-out;
    will-change: opacity, transform;
}
.hero-bg-slide.active { opacity: 1; transform: scale(1); }   /* fade in + slow ken-burns zoom */
/* Readability overlay: sits above the images, below the text/widget */
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(135deg, rgba(30,58,138,0.82), rgba(15,23,42,0.78));
}
.hero-content { text-align: center; position: relative; z-index: 2; }
/* Respect users who prefer reduced motion — show one static image, no zoom/fade */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide { transition: none; transform: none; }
    .hero-bg-slide.active { transform: none; }
}
.hero-title { font-size: 56px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; line-height: 1.1; }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 18px; margin-bottom: 48px; opacity: 0.95; }

/* Search Box */
.search-box {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); max-width: 1000px; margin: 0 auto;
    overflow: hidden; color: var(--gray-900);
}
.search-tabs { display: flex; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.search-tab {
    flex: 1; padding: 16px; background: transparent; border: none;
    font-family: inherit; font-weight: 500; font-size: 14px;
    color: var(--gray-700); cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.search-tab i { margin-right: 6px; color: var(--primary); }
.search-tab:hover { background: var(--white); }
.search-tab.active { background: var(--white); color: var(--primary); border-bottom-color: var(--accent); }
.search-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; padding: 8px; }
.search-field { padding: 12px 20px; text-align: left; border-right: 1px solid var(--gray-100); }
.search-field:last-of-type { border-right: none; }
.search-field label { display: block; font-size: 11px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.search-field input, .search-field select {
    width: 100%; border: none; outline: none; font-family: inherit;
    font-size: 14px; font-weight: 500; color: var(--gray-900);
    background: transparent; cursor: pointer;
}
.btn-search {
    background: var(--accent); color: var(--dark); border: none;
    padding: 0 32px; font-family: inherit; font-weight: 600; font-size: 15px;
    cursor: pointer; border-radius: 12px; margin: 4px;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.3s ease;
}
.btn-search:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,160,23,0.35); }

/* Services Strip */
.services-strip { padding: 60px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-item { text-align: center; padding: 24px 16px; border-radius: var(--radius); cursor: pointer; }
.service-item:hover { background: var(--primary-light); transform: translateY(-4px); }
.service-icon {
    width: 64px; height: 64px; margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    color: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; border: 2px solid var(--primary-light);
    transition: all 0.4s ease;
}
.service-item:hover .service-icon { background: var(--primary); color: var(--white); border-color: var(--primary); transform: rotate(6deg) scale(1.05); }
.service-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--gray-900); }
.service-item p { font-size: 13px; color: var(--gray-500); }

/* Section Header */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-tag {
    display: inline-block; background: var(--primary-light); color: var(--primary);
    padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.section-header h2 { font-size: 40px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; letter-spacing: -1px; }
.section-header p { color: var(--gray-700); font-size: 16px; }
.section-header.light .section-tag { background: rgba(255,255,255,0.15); color: var(--white); }
.section-header.light h2 { color: var(--white); }
.section-cta { text-align: center; margin-top: 40px; }

/* Section flags */
.section-flag {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--dark);
    padding: 8px 20px; border-radius: 30px;
    font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.section-flag.intl { background: var(--primary); color: var(--white); }

/* Destinations */
.destinations-section { padding: 70px 0; background: var(--gray-50); }
.destinations-section.intl { background: var(--white); border-top: 3px solid var(--primary-light); }

.destination-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.destination-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.destination-card:hover { box-shadow: var(--shadow-lg); }

.dest-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.dest-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--accent); color: var(--dark);
    padding: 4px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    z-index: 2;
}
.dest-badge.intl { background: var(--primary); color: var(--white); }

.dest-info { padding: 20px; }
.dest-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
.dest-info h3 i { color: var(--accent); font-size: 14px; }
.dest-info > p { color: var(--gray-700); font-size: 14px; margin-bottom: 16px; }

.dest-meta { display: flex; gap: 14px; font-size: 12px; color: var(--gray-500); margin-bottom: 12px; }
.dest-meta i { color: var(--primary); margin-right: 4px; }

.dest-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px; border-top: 1px solid var(--gray-100);
}
.dest-price { font-weight: 700; color: var(--primary); font-size: 17px; }
.dest-price small { display: block; font-size: 11px; color: var(--gray-500); font-weight: 400; }
.dest-quote { font-weight: 600; color: var(--primary); font-size: 14px; }
.dest-quote small { display: block; font-size: 11px; color: var(--gray-500); font-weight: 400; }

.btn-inquiry {
    background: var(--primary); color: var(--white);
    padding: 8px 18px; border-radius: 8px; font-size: 13px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.3s ease;
}
.btn-inquiry:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(30,58,138,0.3); }

.btn-book {
    background: var(--accent); color: var(--dark);
    padding: 8px 18px; border-radius: 8px; font-size: 13px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.3s ease;
}
.btn-book:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(212,160,23,0.35); }

/* Why Us */
.why-us { padding: 80px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    padding: 32px 24px; border-radius: var(--radius);
    text-align: center; border: 1px solid rgba(255,255,255,0.12);
}
.why-card:hover { background: rgba(255,255,255,0.15); }
.why-card i { font-size: 40px; color: var(--accent); margin-bottom: 16px; transition: transform 0.4s ease; }
.why-card:hover i { transform: scale(1.15) rotate(-6deg); }
.why-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; opacity: 0.9; }

/* Testimonials */
.testimonials { padding: 80px 0; background: var(--gray-50); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.testi-card:hover { box-shadow: var(--shadow-md); }
.stars { color: var(--accent); font-size: 18px; margin-bottom: 12px; }
.testi-card p { color: var(--gray-700); font-size: 14px; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.testi-author strong { display: block; font-size: 14px; color: var(--gray-900); }
.testi-author span { font-size: 12px; color: var(--gray-500); }

/* Our Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); font-size: 30px; font-weight: 800; }
.team-card h3 { font-size: 18px; color: var(--gray-900); margin-bottom: 14px; }
.team-line { color: var(--gray-700); font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.team-line i { color: var(--primary); }
.team-line a { color: var(--gray-700); text-decoration: none; }
.team-line a:hover { color: var(--primary); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%); color: var(--white); padding: 60px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.cta-text p { opacity: 0.85; }
.cta-buttons { display: flex; gap: 12px; }

/* Footer */
.footer { background: var(--dark); color: var(--gray-300); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }

.footer-logo-img {
    height: 70px; width: auto;
    background: var(--white); padding: 8px 14px; border-radius: 10px;
    margin-bottom: 16px; display: block;
}

.footer-col p { font-size: 14px; margin-bottom: 20px; opacity: 0.8; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: rgba(255,255,255,0.08);
    border-radius: 50%; margin-right: 8px; color: var(--white);
}
.footer-social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; opacity: 0.8; transition: all 0.3s ease; }
.footer-col ul a:hover { color: var(--accent); opacity: 1; padding-left: 6px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; opacity: 0.85; margin-bottom: 10px; }
.contact-list i { color: var(--accent); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 13px; opacity: 0.7; }

/* Floating Buttons */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.float-btn {
    width: 54px; height: 54px; border-radius: 50%; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--primary); }
.float-btn:hover { transform: scale(1.12); }

/* Back-to-top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s ease;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
