/* ====================================
   Juggies Gloss Travel — Styles
   Dark Navy + Gold Theme
   ==================================== */

:root {
    --navy: #0f1d32;
    --navy-light: #162a4a;
    --navy-lighter: #1e3558;
    --gold: #c8a45e;
    --gold-light: #e0c477;
    --gold-dark: #a8893e;
    --white: #ffffff;
    --gray-100: #f5f5f7;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --text: #edf2f7;
    --text-muted: #a8b8cc;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.1);
    padding: 0 0;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav-badge {
    background: rgba(200, 164, 94, 0.15);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-trust span {
    opacity: 0.8;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(200, 164, 94, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ====================================
   Sections
   ==================================== */
.section {
    padding: 64px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(200, 164, 94, 0.15);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 28px;
}

/* Center section headers for specific sections */
.flights-section,
.hotels-section,
.destinations-section,
.packages-section,
.services-section,
.why-section,
.contact-section {
    text-align: center;
}

.flights-section .section-subtitle,
.hotels-section .section-subtitle,
.destinations-section .section-subtitle,
.packages-section .section-subtitle,
.services-section .section-subtitle,
.why-section .section-subtitle,
.contact-section .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Alternating backgrounds */
.hotels-section,
.services-section,
.contact-section {
    background: var(--navy-light);
}

/* ====================================
   Search Forms
   ==================================== */
.search-form {
    background: var(--navy-lighter);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
    text-align: left;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.flight-grid {
    grid-template-columns: repeat(3, 1fr);
}

.hotel-grid {
    grid-template-columns: repeat(2, 1fr);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy);
    border: 1px solid rgba(200, 164, 94, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.form-submit {
    display: flex;
    align-items: flex-end;
}

/* ====================================
   Popular Routes
   ==================================== */
.popular-routes {
    margin-bottom: 24px;
}

.popular-routes h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.route-card {
    background: var(--navy-lighter);
    border: 1px solid rgba(200, 164, 94, 0.1);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color var(--transition);
}

.route-card:hover {
    border-color: var(--gold);
}

.route-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.route-price {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

.whatsapp-help {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.link-gold {
    color: var(--gold);
    font-weight: 600;
}

.link-gold:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ====================================
   Destinations Grid
   ==================================== */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.destination-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    transition: transform var(--transition);
}

.destination-card:hover {
    transform: translateY(-4px);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.08);
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    text-align: left;
}

.destination-flag {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.destination-region {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gold);
    font-weight: 600;
}

.destination-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 2px 0;
}

.destination-overlay p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.destination-price {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

/* ====================================
   Packages Grid
   ==================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
    margin-bottom: 40px;
}

.package-card {
    background: var(--navy-lighter);
    border: 1px solid rgba(200, 164, 94, 0.1);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition), transform var(--transition);
}

.package-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.package-card.popular {
    border-color: rgba(200, 164, 94, 0.3);
    box-shadow: 0 0 30px rgba(200, 164, 94, 0.08);
}

.package-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.package-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.popular-badge {
    background: var(--gold);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.package-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.package-duration {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 4px;
}

.package-includes {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.package-price {
    margin-bottom: 16px;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.price-per {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.custom-package-cta {
    text-align: center;
}

.custom-package-cta p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* ====================================
   Services Grid
   ==================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
}

.service-card {
    background: var(--navy-lighter);
    border: 1px solid rgba(200, 164, 94, 0.1);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====================================
   Why / Trust Section
   ==================================== */
.trust-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: left;
}

.trust-item {
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--navy-lighter);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ====================================
   Contact Section
   ==================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform var(--transition);
}

.whatsapp-card:hover {
    transform: translateY(-4px);
    color: var(--white);
}

.whatsapp-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.whatsapp-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.whatsapp-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.whatsapp-cta {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-details {
    padding: 32px;
    background: var(--navy-lighter);
    border: 1px solid rgba(200, 164, 94, 0.1);
    border-radius: var(--radius);
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 16px;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--gold);
    font-weight: 500;
}

.contact-item p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(200, 164, 94, 0.1);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 12px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--gold);
}

.company-info {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(200, 164, 94, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====================================
   WhatsApp Floating Button
   ==================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.whatsapp-float:hover {
    background: #128c7e;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    flex-shrink: 0;
}

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid rgba(200, 164, 94, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(200, 164, 94, 0.05);
    }

    .nav-badge {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 80px 20px 50px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .section {
        padding: 44px 0;
    }

    .flight-grid,
    .hotel-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        padding: 20px;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
    }

    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}
