/* Modern, Lightweight CSS Variables */
:root {
    --bg-start: #e2eef2;
    --bg-end: #ccdbe2;
    --text-dark: #142433;
    --text-light: #f4f8fa;
    --gold: #d4af37;
    --gold-hover: #e0b33b;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.3); }
::-webkit-scrollbar-thumb { background: #88a2b5; border-radius: 10px; }

/* Performant Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
}

/* Top Bar */
.top-bar {
    background: #142433;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar i { color: var(--gold); margin-right: 6px; }
.top-bar-social a { color: var(--text-light); margin-left: 1rem; transition: color 0.2s; }
.top-bar-social a:hover { color: var(--gold); }

/* Hardware Accelerated Ticker */
.ticker-wrap {
    background: var(--gold);
    height: 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
    color: #111e29;
    font-size: 0.95rem;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
    will-change: transform; 
}
.ticker-text span { margin-right: 3rem; }

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Sticky Header */
.sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header {
    padding: 0 2rem;
    height: 75px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a { text-decoration: none; }
.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #142433;
}
.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--text-dark); position: relative; transition: 0.2s; }
.nav-links a:hover { color: var(--gold); }

.mobile-menu { display: none; font-size: 1.8rem; cursor: pointer; background: transparent; border: none; color: var(--text-dark); }

/* Optimized Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #142433;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: crossfade 30s infinite ease-in-out; 
    will-change: background-image;
}

/* Update the percentages to steps of 20% */
@keyframes crossfade {
    0%, 100% { background-image: linear-gradient(rgba(20,36,51,0.6), rgba(20,36,51,0.6)), url('img/k1.jpeg'); }
    20%      { background-image: linear-gradient(rgba(20,36,51,0.6), rgba(20,36,51,0.6)), url('img/k2.jpg'); }
    40%      { background-image: linear-gradient(rgba(20,36,51,0.6), rgba(20,36,51,0.6)), url('img/k3.jpeg'); }
    60%      { background-image: linear-gradient(rgba(20,36,51,0.6), rgba(20,36,51,0.6)), url('img/k4.jpeg'); }
    80%      { background-image: linear-gradient(rgba(20,36,51,0.6), rgba(20,36,51,0.6)), url('img/k5.jpeg'); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 2rem;
}

.animated-text {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, var(--gold), #ffffff);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}

@keyframes textShine { to { background-position: 200% center; } }

.hero-content p { font-size: 1.2rem; color: #e2eef2; margin-bottom: 2.5rem; }

.btn-gold {
    background: var(--gold);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    color: #111e29;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* Stats Section */
.stats-section {
    background: rgba(255, 255, 255, 0.6);
    padding: 3rem 1rem;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 2rem;
}
.stat-item h3 { font-size: 2.8rem; color: #142433; font-family: 'Playfair Display', serif; }
.stat-item span { color: var(--gold); }
.stat-item p { font-weight: 700; color: #4a6375; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

/* General Layout */
section.main-section { padding: 5rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { font-size: 2.6rem; font-family: 'Playfair Display', serif; color: #142433; margin-bottom: 0.5rem; }

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.tour-card { padding: 1.2rem; display: flex; flex-direction: column; background: #fff; }
.tour-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.tour-card h3 { font-size: 1.4rem; font-family: 'Playfair Display', serif; color: #142433; }
.tour-card .price { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin: 0.5rem 0; }
.tour-card .features { display: flex; gap: 1rem; font-size: 0.85rem; font-weight: 600; color: #4a6375; margin-bottom: 1rem; }
.tour-card p { flex-grow: 1; color: #64748b; font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testi-card { padding: 2rem; background: #fff; position: relative; }
.testi-card i.fa-quote-left { font-size: 2.5rem; color: rgba(212,175,55,0.15); position: absolute; top: 1.5rem; right: 1.5rem; }
.testi-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: #142433; color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-top: 0.2rem;}

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.input-group { margin-bottom: 1.2rem; }
.input-group input, .input-group textarea, .input-group select {
    width: 100%; padding: 1rem; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; font-family: 'Inter', sans-serif;
}
.input-group textarea { resize: vertical; min-height: 120px; }
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { outline: none; border-color: var(--gold); }
.btn-submit { background: #142433; border: none; padding: 1rem; width: 100%; border-radius: 8px; font-weight: 700; color: white; font-size: 1.1rem; cursor: pointer; transition: 0.2s; }
.btn-submit:hover { background: var(--gold); color: #142433; }
.map-container { border-radius: 20px; overflow: hidden; height: 100%; min-height: 400px; }

/* Footer */
footer { background: #142433; color: #cbd5e1; padding: 4rem 2rem 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1280px; margin: 0 auto; }
.footer-grid h4 { font-size: 1.4rem; color: var(--gold); font-family: 'Playfair Display', serif; margin-bottom: 1.2rem; }
.footer-grid p, .footer-grid a { color: #cbd5e1; text-decoration: none; line-height: 1.8; }
.footer-grid a:hover { color: var(--gold); }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; margin-right: 0.5rem; transition: 0.2s; }
.social-icons a:hover { background: var(--gold); color: #142433; }

/* Responsive */
@media (max-width: 900px) {
    .top-bar { display: none; }
    .animated-text { font-size: 2.8rem; }
    .hero-content { padding: 1rem; }
    
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column;
        background: #fff; padding: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none; text-align: center; gap: 1.5rem; border-top: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
    .contact-grid { grid-template-columns: 1fr; }
}