/*
Theme Name: SkyWay Travel
Theme URI: https://skywaytravel.com
Author: SkyWay
Description: Professional travel theme with Flight, Tour, Visa search + WhatsApp booking.
Version: 1.2
License: GPL v2 or later
Text Domain: skyway-travel
*/

:root {
    --primary: #1e3a8a;
    --primary-light: #3b5bdb;
    --primary-dark: #0f1f4a;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --bg-soft: #f5f8ff;
    --text-dark: #0f172a;
    --text-mid: #475569;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-soft);
    color: var(--text-dark);
    line-height: 1.6;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* HEADER */
.skyway-header {
    background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,0.06);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; justify-content: space-between;
    align-items: center; height: 76px;
}
.skyway-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem;
}
.logo-text .brand { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); display: block; line-height: 1.1; }
.logo-text .tagline { font-size: 0.7rem; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 1.5px; }

/* NAV */
.skyway-nav ul { display: flex; gap: 4px; list-style: none; }
.skyway-nav ul li a {
    padding: 10px 16px; text-decoration: none; color: var(--text-dark);
    font-weight: 600; font-size: 0.92rem; border-radius: 10px; transition: all 0.2s;
}
.skyway-nav ul li a:hover { background: var(--bg-soft); color: var(--primary); }
.skyway-nav .current-menu-item > a { color: var(--primary); background: var(--bg-soft); }

/* HERO */
.skyway-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b5bdb 50%, #6366f1 100%);
    padding: 60px 24px 100px; color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.skyway-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 16px; }
.skyway-hero h1 span { color: var(--accent); }
.skyway-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* SEARCH */
.search-wrapper { max-width: 1180px; margin: -70px auto 0; padding: 0 24px; position: relative; z-index: 10; }
.search-card { background: #fff; border-radius: 24px; box-shadow: 0 24px 48px rgba(15,23,42,0.16); overflow: hidden; }
.search-tabs { display: flex; background: #f8fafc; border-bottom: 1px solid var(--border); padding: 8px 8px 0; }
.search-tab {
    flex: 1; border: none; background: transparent; padding: 16px 20px;
    font-size: 0.95rem; font-weight: 600; color: var(--text-mid); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 9px;
    border-radius: 12px 12px 0 0; transition: all 0.2s; font-family: inherit;
}
.search-tab.active { background: #fff; color: var(--primary); box-shadow: 0 -3px 0 var(--primary) inset; }
.search-panel { padding: 32px; }
.input-row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.input-group { flex: 1 1 200px; display: flex; flex-direction: column; gap: 7px; }
.input-group label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; color: var(--text-mid); }
.input-field {
    display: flex; align-items: center; background: #f8fafc;
    border: 1.5px solid var(--border); border-radius: 12px; padding: 0 14px;
    transition: all 0.15s;
}
.input-field:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(30,58,138,0.08); }
.input-field input, .input-field select {
    width: 100%; padding: 14px 10px; border: none; background: transparent;
    font-size: 0.95rem; outline: none; font-family: inherit; color: var(--text-dark);
}
.input-field i { color: var(--text-light); }
.search-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; border: none; padding: 15px 42px; border-radius: 12px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 20px rgba(30,58,138,0.3); transition: 0.2s; font-family: inherit;
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,58,138,0.4); }
.search-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.search-action-row { display: flex; justify-content: flex-end; align-items: center; margin-top: 8px; flex-wrap: wrap; gap: 16px; }

/* RESULTS */
.results-section { max-width: 1180px; margin: 40px auto 0; padding: 0 24px; }
.result-card {
    background: #fff; border-radius: 18px; padding: 22px 26px; margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06); border: 1.5px solid var(--border);
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap; transition: 0.2s;
}
.result-card:hover { border-color: var(--primary-light); box-shadow: 0 12px 32px rgba(15,23,42,0.12); transform: translateY(-2px); }
.result-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary); flex-shrink: 0;
}
.result-info { flex: 1; min-width: 220px; }
.result-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.83rem; color: var(--text-mid); }
.result-price { text-align: right; }
.result-price .amount { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.result-action button {
    background: var(--bg-soft); border: 1.5px solid var(--border);
    padding: 11px 20px; border-radius: 10px; font-weight: 600;
    color: var(--primary); cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem;
    transition: all 0.2s;
}
.result-action button:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* WHATSAPP BUTTON (GLOBAL) */
.wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--whatsapp); color: white; padding: 11px 20px;
    border-radius: 10px; font-weight: 600; text-decoration: none;
    font-size: 0.88rem; transition: all 0.2s; border: none; cursor: pointer;
    font-family: inherit;
}
.wa-btn:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }

/* FEATURED SECTIONS */
.skyway-featured { max-width: 1280px; margin: 90px auto 0; padding: 0 24px; }
.skyway-featured.featured-alt {
    background: linear-gradient(180deg, transparent 0%, #f0fdf4 100%);
    max-width: 100%; padding: 60px 0 80px; margin-top: 60px;
}
.skyway-featured.featured-alt .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.featured-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 20px; }
.featured-eyebrow { font-size: 0.8rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; display: block; }
.featured-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-dark); letter-spacing: -0.8px; margin-bottom: 6px; }
.featured-header p { color: var(--text-mid); font-size: 0.95rem; }
.featured-view-all {
    display: inline-flex; align-items: center; gap: 8px; color: var(--primary);
    font-weight: 600; text-decoration: none; padding: 10px 20px;
    border-radius: 10px; border: 1.5px solid var(--border); background: white;
    transition: all 0.2s; font-size: 0.88rem;
}
.featured-view-all:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateX(4px); }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }

/* ITEM CARD */
.skyway-item-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,23,42,0.08); border: 1.5px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.skyway-item-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,23,42,0.16); border-color: var(--primary-light); }
.item-card-image { position: relative; overflow: hidden; }
.item-card-image img { transition: transform 0.5s; }
.skyway-item-card:hover .item-card-image img { transform: scale(1.06); }
.item-card-badge {
    position: absolute; top: 14px; left: 14px;
    background: linear-gradient(135deg, var(--accent), #fbbf24);
    color: #78350f; font-size: 0.7rem; font-weight: 800;
    padding: 5px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}
.item-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.item-card-icon {
    width: 40px; height: 40px; border-radius: 11px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1rem; margin-bottom: 14px;
}
.item-card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.35; }
.item-card-title a { text-decoration: none; color: inherit; }
.item-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--text-mid); margin-bottom: 18px; }
.item-card-meta span { background: var(--bg-soft); padding: 4px 10px; border-radius: 50px; font-weight: 500; }
.item-card-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); gap: 10px; flex-wrap: wrap; }
.item-card-price .amount { font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); display: block; line-height: 1; }
.item-card-price .suffix { font-size: 0.7rem; color: var(--text-light); font-weight: 500; }
.item-card-buttons { display: flex; gap: 6px; }
.item-card-buttons a, .item-card-buttons button {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 9px; font-size: 0.78rem;
    font-weight: 700; text-decoration: none; border: none; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
.btn-details { background: var(--bg-soft); color: var(--primary); border: 1.5px solid var(--border) !important; }
.btn-details:hover { background: var(--primary); color: white; }
.btn-wa { background: var(--whatsapp); color: white; }
.btn-wa:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }

/* SINGLE DETAIL PAGE */
.skyway-single-hero { padding: 50px 0 60px; color: white; position: relative; overflow: hidden; }
.skyway-single-hero::before {
    content: ''; position: absolute; top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.single-breadcrumb { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.85rem; font-weight: 500; position: relative; z-index: 2; }
.single-breadcrumb:hover { color: white; }
.single-breadcrumb-sep { color: rgba(255,255,255,0.5); margin: 0 10px; position: relative; z-index: 2; }
.single-breadcrumb-current { color: rgba(255,255,255,0.85); font-size: 0.85rem; position: relative; z-index: 2; }
.single-hero-content { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; position: relative; z-index: 2; gap: 30px; flex-wrap: wrap; }
.single-hero-badge {
    display: inline-block; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); padding: 6px 16px;
    border-radius: 50px; font-size: 0.78rem; font-weight: 700;
    margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.3);
}
.single-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.single-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; opacity: 0.95; }
.single-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.single-hero-price {
    text-align: right; background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px); padding: 20px 28px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.single-hero-price .from-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; margin-bottom: 6px; }
.single-hero-price .amount { font-size: 2.4rem; font-weight: 800; display: block; line-height: 1; }
.single-hero-price .suffix { display: block; font-size: 0.78rem; opacity: 0.85; margin-top: 6px; }

.single-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 50px; margin-bottom: 80px; align-items: start; }
.single-main { min-width: 0; }
.single-image { border-radius: 20px; overflow: hidden; margin-bottom: 30px; box-shadow: 0 12px 32px rgba(15,23,42,0.12); }
.single-image img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: cover; }
.single-section {
    background: white; border-radius: 20px; padding: 32px; margin-bottom: 24px;
    border: 1.5px solid var(--border); box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.single-section h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.single-section h2 i { color: var(--accent); font-size: 1.15rem; }
.single-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.single-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.detail-box { background: var(--bg-soft); padding: 16px 18px; border-radius: 12px; border: 1px solid #e6eefb; }
.detail-label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.detail-value { display: block; font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.included-item {
    display: flex; align-items: center; gap: 10px;
    background: #ecfdf5; padding: 12px 16px; border-radius: 11px;
    font-size: 0.9rem; font-weight: 500; color: #065f46; border: 1px solid #a7f3d0;
}
.included-item i { color: #10b981; font-size: 0.85rem; }
.single-content { color: var(--text-mid); line-height: 1.8; font-size: 1rem; }
.single-content p { margin-bottom: 16px; }
.single-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.booking-card { background: white; border-radius: 20px; padding: 28px; box-shadow: 0 12px 32px rgba(15,23,42,0.12); border: 1.5px solid var(--border); }
.booking-price { text-align: center; padding-bottom: 22px; border-bottom: 1.5px dashed var(--border); margin-bottom: 22px; }
.booking-price .from-label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.booking-amount { display: block; font-size: 2.6rem; font-weight: 800; color: var(--primary-dark); line-height: 1; letter-spacing: -1.5px; }
.booking-suffix { display: block; font-size: 0.78rem; color: var(--text-light); font-weight: 500; margin-top: 6px; }
.booking-btn {
    width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; border: none; padding: 17px; border-radius: 14px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 20px rgba(30,58,138,0.3); transition: all 0.2s; font-family: inherit;
    margin-bottom: 10px;
}
.booking-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,58,138,0.4); }
.booking-btn-wa { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)) !important; box-shadow: 0 8px 20px rgba(37,211,102,0.35) !important; }
.booking-btn-wa:hover { box-shadow: 0 12px 28px rgba(37,211,102,0.5) !important; }
.booking-trust { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1.5px dashed var(--border); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-mid); font-weight: 500; }
.trust-item i { color: #10b981; width: 18px; text-align: center; }

.sidebar-contact { background: linear-gradient(135deg, #fef3c7, #fef9e7); border-radius: 18px; padding: 24px; border: 1.5px solid #fde68a; text-align: center; }
.sidebar-contact h4 { font-size: 1.1rem; font-weight: 700; color: #78350f; margin-bottom: 6px; }
.sidebar-contact p { font-size: 0.85rem; color: #92400e; margin-bottom: 14px; }
.sidebar-phone {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--accent-dark); padding: 12px 20px;
    border-radius: 50px; font-weight: 700; text-decoration: none;
    font-size: 0.92rem; box-shadow: 0 4px 12px rgba(245,158,11,0.2);
}

/* VISA STEPS */
.visa-steps { display: flex; flex-direction: column; gap: 14px; }
.visa-step { display: flex; align-items: flex-start; gap: 16px; padding: 18px; background: var(--bg-soft); border-radius: 14px; border-left: 4px solid var(--primary-light); }
.step-num {
    width: 38px; height: 38px; background: var(--primary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.visa-step h4 { font-size: 0.98rem; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.visa-step p { font-size: 0.83rem; color: var(--text-mid); }

/* ARCHIVE */
.skyway-archive-hero { background: linear-gradient(135deg, #1e3a8a, #3b5bdb); padding: 70px 0; color: white; text-align: center; }
.skyway-archive-hero.tour-archive { background: linear-gradient(135deg, #065f46, #10b981); }
.skyway-archive-hero.visa-archive { background: linear-gradient(135deg, #5b21b6, #a78bfa); }
.skyway-archive-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.skyway-archive-hero h1 i { color: var(--accent); margin-right: 10px; }
.skyway-archive-hero p { opacity: 0.9; font-size: 1rem; }
.archive-grid-wrapper { padding: 60px 24px 100px; }
.pagination { margin-top: 50px; text-align: center; }
.pagination .page-numbers {
    display: inline-block; padding: 10px 16px; margin: 0 4px;
    background: white; border: 1.5px solid var(--border);
    border-radius: 10px; color: var(--text-dark);
    text-decoration: none; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--primary); color: white; border-color: var(--primary); }

/* MODAL */
.skyway-modal-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,0.7);
    z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px;
}
.skyway-modal-overlay.active { display: flex; }
.skyway-modal {
    background: #fff; border-radius: 20px; max-width: 500px; width: 100%;
    padding: 32px; position: relative; max-height: 90vh; overflow-y: auto;
}
.skyway-modal h2 { margin-bottom: 8px; color: var(--primary-dark); }
.skyway-modal p.sub { color: var(--text-mid); margin-bottom: 24px; font-size: 0.9rem; }
.skyway-modal .close-modal {
    position: absolute; top: 16px; right: 16px;
    background: var(--bg-soft); border: none; width: 36px; height: 36px;
    border-radius: 10px; cursor: pointer; font-size: 1.1rem;
}
.skyway-modal .input-group { margin-bottom: 16px; flex: 1 1 100%; }
.skyway-modal .input-field { background: #f8fafc; }
.skyway-modal button[type="submit"] { width: 100%; justify-content: center; }
.form-message { padding: 12px; border-radius: 10px; margin-top: 16px; font-weight: 600; }
.form-message.success { background: #d1fae5; color: #065f46; }
.form-message.error { background: #fee2e2; color: #991b1b; }

/* FLOATING WHATSAPP */
.wa-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 60px; height: 60px; background: var(--whatsapp);
    color: white; border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,0.5);
    z-index: 9998; transition: all 0.2s;
}
.wa-float:hover { transform: scale(1.1); background: var(--whatsapp-dark); }

/* FOOTER */
.skyway-footer { background: var(--primary-dark); color: #fff; margin-top: 100px; padding: 60px 24px 30px; }
.footer-content { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { max-width: 1280px; margin: 30px auto 0; text-align: center; opacity: 0.6; font-size: 0.82rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .skyway-nav { display: none; }
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
}
@media (max-width: 640px) {
    .search-panel { padding: 22px 18px; }
    .single-hero-content { flex-direction: column; align-items: flex-start; }
    .single-hero-price { text-align: left; width: 100%; }
    .featured-header { flex-direction: column; align-items: flex-start; }
    .single-section { padding: 22px; }
    .featured-grid { grid-template-columns: 1fr; }
    .wa-float { width: 54px; height: 54px; font-size: 1.5rem; bottom: 18px; right: 18px; }
}