:root {
    --brand-navy: #0e203d; /* Exact Navy from Logo */
    --brand-gold: #c5a059; /* Elegant Safari Gold */
    --brand-white: #ffffff;
    --text-gray: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif, Arial;
}

/* Header & Top Bar */
.top-bar {
    background: var(--brand-navy);
    color: var(--brand-gold);
    padding: 8px 5%;
    font-size: 0.8rem;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.top-bar span { margin-left: 20px; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: #c5a059; /* Navy with slight transparency */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--brand-gold);
}

.logo img {
    height: 70px; /* Adjusted to fit your logo aspect ratio */
    width: auto;
}

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

.nav-links li a {
    color: var(--brand-white);
    text-decoration: none;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #000;
}

.btn-book {
    background: var(--brand-white);
    color: var(--brand-navy);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-book:hover {
    background: var(--brand-white);
    transform: scale(1.05);
}

/* Hero & Content */
.hero {
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--brand-white);
}

.slideshow {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: safariFade 15s infinite ease-in-out;
}

.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes safariFade {
    0% { opacity: 0; transform: scale(1); }
    15% { opacity: 1; }
    33% { opacity: 1; }
    45% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 900;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    color: var(--brand-gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Booking Form Overlay */
.booking-container {
    background: var(--brand-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.booking-form {
    display: flex;
    gap: 15px;
}

.input-group {
    flex: 1;
    text-align: left;
}

.input-group label {
    display: block;
    color: var(--brand-navy);
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.input-group select, .input-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    color: #333;
}

.btn-search {
    background: var(--brand-navy);
    color: var(--brand-gold);
    border: none;
    padding: 0 40px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background: #1a3a6e;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .booking-form { flex-direction: column; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero { height: auto; padding: 100px 0; }
}

/* --- BOOK NOW PAGE SPECIFIC STYLES --- */

.book-now-hero {
    background: #f4f4f4; /* Light grey background to distinguish from index */
    padding: 60px 0;
    min-height: 80vh;
}

.booking-title {
    text-align: center;
    margin-bottom: 40px;
}

.booking-title h1 {
    color: var(--brand-navy);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.book-now-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: var(--brand-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 1100px;
    margin: 0 auto;
}

/* Form Side */
.form-side {
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.detailed-form .input-group {
    flex: 1;
    margin-bottom: 20px;
}

.detailed-form label {
    display: block;
    color: var(--brand-navy);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.detailed-form input, 
.detailed-form select, 
.detailed-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.checkbox-group label {
    font-weight: 400;
    cursor: pointer;
}

.btn-submit-booking {
    background: #007bff; /* Blue from your screenshot */
    color: white;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit-booking:hover {
    background: #0056b3;
}

/* Guarantee Sidebar */
.guarantee-side {
    background: var(--brand-navy);
    padding: 40px;
    border-left: 5px solid var(--brand-gold);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guarantee-header h3 {
    color: var(--brand-gold);
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.emblem {
    background: var(--brand-gold);
    color: var(--brand-navy);
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    border: 2px solid white;
}

.g-text strong {
    display: block;
    color: var(--brand-gold);
    margin-bottom: 4px;
    font-size: 1rem;
}

.g-text p {
    color: white;
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 850px) {
    .book-now-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .guarantee-side {
        border-left: none;
        border-top: 5px solid var(--brand-gold);
    }
}

#responseMessage {
    margin: 15px 0;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.alert-info {
    background: #e7f3ff;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Visual feedback for disabled button */
.btn-submit-booking:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}


/* Safari Grid Styling */
        .safari-listings { padding: 60px 0; background: #f9f9f9; }
        .section-header { text-align: center; margin-bottom: 40px; }
        .section-header h2 { font-size: 2.5rem; color: #2c3e50; }
        
        .safari-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
            gap: 25px; 
            max-width: 1200px; 
            margin: 0 auto; 
            padding: 0 20px;
        }

        .safari-card { 
            background: #fff; 
            border-radius: 10px; 
            overflow: hidden; 
            box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
            transition: 0.3s;
            display: flex;
            flex-direction: column;
        }
        .safari-card:hover { transform: translateY(-5px); }

        .safari-image-placeholder { 
            height: 200px; 
            background: #2c3e50; 
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 3rem;
        }

        .safari-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
        .safari-info h3 { font-size: 1.4rem; color: #333; margin-bottom: 5px; }
        .destination-label { color: #007bff; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 10px; display: block; }
        .safari-info p { color: #666; font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; }
        
        .btn-card-book { 
            margin-top: auto;
            text-align: center; 
            padding: 10px; 
            background: #007bff; 
            color: #fff; 
            text-decoration: none; 
            border-radius: 5px; 
            font-weight: 600; 
            transition: 0.3s;
        }
        .btn-card-book:hover { background: #0056b3; }
        
        
        
        .safari-brief-wrapper {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    
    /* Set the height of the 'brief' piece here */
    max-height: 120px; 
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

/* The "Fade" effect so the HTML looks like a preview */
.safari-brief-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, white);
}

/* Optional: Shrink headers inside the brief so they don't look huge */
.safari-brief-wrapper h2 { 
    font-size: 1.1rem; 
    margin: 5px 0; 
}
.safari-brief-wrapper p { 
    margin-bottom: 5px; 
}