/* ═══════════════════════════════════════════════════════════
   FLYGATE TRAVEL — SHARED DESIGN SYSTEM
   Unified colors, fonts, and common components
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
    /* Primary Palette — Red & White */
    --red-primary: #E81B46;
    --red-dark: #990022;
    --red-darker: #660011;
    --red-light: #FFF0F3;
    --red-gradient: linear-gradient(135deg, #E81B46 0%, #FF4D73 100%);

    --white: #FFFFFF;
    --off-white: #FAFAFA;

    /* Black accents (minimal usage) */
    --charcoal: #1a1a1a;
    --black-light: #333333;

    /* Alias mappings */
    --red: #E81B46;
    --red-deep: #660011;
    --gold: #E81B46;
    --gold-light: #FF4D73;
    --dark-bg: var(--white);

    /* Effects */
    --red-glow: rgba(232, 27, 70, 0.15);
    --shadow: 0 10px 30px rgba(232, 27, 70, 0.15);

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 12px;

    /* Typography */
    --font-head: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    /* WhatsApp */
    --wa: #25D366;
}

/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── UTILITY CLASSES ─────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
    display: inline-block;
    background: var(--red-primary);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--red-primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 27, 70, 0.3);
    transition: all 0.3s;
}
.btn:hover {
    background: transparent;
    color: var(--red-primary);
    transform: translateY(-3px);
}
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wa);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(37,211,102,0.25);
}
.btn-wa:hover {
    background: #1ebe5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37,211,102,0.4);
}
.btn-wa i { font-size: 1.1rem; }

/* ── SECTION TYPOGRAPHY ─────────────────────────────────── */
.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--red-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}
.section-subtitle {
    color: var(--red-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red-primary);
    margin-bottom: 18px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--red-primary);
    opacity: 0.5;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    transition: box-shadow 0.4s;
}
.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.navbar .container,
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.logo img { height: 50px; width: auto; transition: transform 0.3s; }
.logo img:hover { transform: scale(1.05); }
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    font-weight: 600;
    color: var(--charcoal);
    position: relative;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red-primary); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--red-primary);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    background: var(--red-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    border: 2px solid var(--red-primary);
    box-shadow: 0 4px 15px rgba(232, 27, 70, 0.3);
    transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: transparent !important;
    color: var(--red-primary) !important;
    transform: translateY(-3px);
}
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--red-dark);
    cursor: pointer;
    background: none;
    border: none;
}

/* ── FOOTER ─────────────────────────────────── */
footer {
    background: var(--red-dark);
    color: var(--white);
    padding-top: 80px;
}
.footer-grid,
.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
}
.footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    margin-bottom: 0;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--red-primary);
}
.footer-col p { opacity: 0.7; margin-bottom: 20px; font-size: 0.9rem; line-height: 1.8; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links li { margin-bottom: 0; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    opacity: 1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a:hover { color: var(--white); padding-left: 5px; opacity: 1; }
.footer-links a::before { content: '›'; color: var(--red-primary); font-size: 1rem; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}
.footer-contact i { color: var(--red-primary); margin-top: 2px; flex-shrink: 0; }
.footer-social,
.social-icons { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: var(--white);
    transform: translateY(-3px);
}
.social-icons a {
    color: var(--white);
    margin-left: 10px;
    font-size: 1rem;
    transition: transform 0.3s, color 0.3s;
}
.social-icons a:hover {
    transform: translateY(-4px);
    color: var(--red-primary) !important;
}
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── SCROLL TO TOP ─────────────────────────────────── */
#scrollTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(232, 27, 70, 0.4);
}
#scrollTop.active { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--red-dark); transform: translateY(-5px); }

/* ── SHARED ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

/* ── RESPONSIVE — SHARED ─────────────────────────────────── */
@media (max-width: 768px) {
    .navbar .container,
    .nav-inner { padding: 0 15px; }
    .mobile-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-links.active,
    .nav-links.open {
        display: flex;
    }
    .nav-links.open {
        position: fixed;
        top: 80px; left: 0; right: 0;
        width: auto;
    }
    .nav-links.open a,
    .nav-links.active a { color: var(--charcoal); }
    .section-title,
    .section-header h2 { font-size: 2rem; }
    .footer-inner,
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .footer-inner,
    .footer-grid { grid-template-columns: 1fr; }
}
