/* =========================================
   1. GENERAL SETUP & FONTS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1b4d3e; /* Forest Green */
    --accent-color: #c5a059;  /* Savanna Gold */
    --white: #ffffff;
    --dark: #111111;
    --transition: 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.4);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

/* =========================================
   2. NAVIGATION BAR (FIXED)
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(39, 97, 82, 0.95) 100%);
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo span {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
}



.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

/* =========================================
   3. HERO SECTION (ONLY VIDEO - NO SLIDER)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
}

/* Kivuli chepesi juu ya video ili maandishi yasomeke */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(27, 77, 62, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.7), 0 0 20px rgba(197, 160, 89, 0.3);
    background: linear-gradient(45deg, #fff, #c5a059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* =========================================
   4. BUTTONS
   ========================================= */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* =========================================
   5. PAGE HEADERS & GRIDS (FOR SAFARI/TREKKING)
   ========================================= */
.page-header {
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-top: 60px;
}

.safari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 80px 8%;
}

.safari-card-small {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    will-change: transform;
}

.safari-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    will-change: contents;
    contain: layout;
}

.card-text {
    padding: 25px;
}

/* =========================================
   6. TABLES (FOR ITINERARY)
   ========================================= */
.itinerary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: #fff;
}

.itinerary-table th, .itinerary-table td {
    padding: 18px;
    border: 1px solid #eee;
    text-align: left;
}

.itinerary-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =========================================
   7. FOOTER & UTILITIES
   ========================================= */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
    .nav-links { display: none; } /* Unaweza kuongeza Mobile Menu baadaye */
}
/* Style kwa ajili ya Video ya Safari Page */
.page-header-video {
    position: relative;
    height: 60vh; /* Itachukua nusu ya kioo kidogo kuliko Home Page */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px; /* Nafasi kwa ajili ya Navbar */
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.header-overlay {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-overlay h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}