/* ================================== */
/* 1. Global Reset and Base Styles */
/* ================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================== */
/* 2. Header Section Styling (with Carousel) */
/* ================================== */

.header {
    min-height: 100vh;
    width: 100%;
    position: relative; 
    color: white; 
}

/* --- Carousel Container --- */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below the overlay and text */
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* Smooth fade effect */
}

.carousel-item.active {
    opacity: 1; /* Show the active slide */
}

/* --- Dark Overlay (Gradient) - Placed over the carousel --- */
/* --- Dark Overlay (Gradient) - Placed over the carousel --- */
/* ADJUSTMENT: Changing 0.7 to 0.4 makes the image brighter/clearer */
/* --- Dark Overlay (Gradient) - Placed over the carousel --- */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 💡 Ensure this value is LOW (e.g., 0.4) for a brighter image */
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)); 
    z-index: 2; 
}

/* --- Navigation Bar and Text Box (Z-index: 3) --- */

nav, .text-box {
    position: relative;
    z-index: 3; /* Ensure nav and text are always on top of the overlay */
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
    transition: 0.5s;
}

nav img:hover {
    filter: brightness(1.2);
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.nav-links ul li a {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

/* Hover Effect (Underline) */
.nav-links ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #FF5733; 
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.nav-links ul li a:hover {
    color: #FF5733;
}

/* Hamburger/Close Icons (initially hidden) */
nav .fa-bars,
nav .fa-times {
    display: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* --- Text Box (Hero Content) --- */

.text-box {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.text-box h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 16px;
    color: #ccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- WhatsApp Button --- */

.whatsapp-inline {
    display: inline-block;
    background-color: #25D366; 
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-inline:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-inline i {
    margin-right: 8px;
    font-size: 18px;
}

/* ================================== */
/* 3. Main Content Sections */
/* ================================== */

.Mainbody {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.Mainbody h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #04144b;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* --- Car Options Section Styling --- */

.col-car {
    flex-basis: 25%;
    background: white;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
}

.col-car:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.col-car img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.col-car h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

/* --- Safari Booking Section Styling --- */

.col-Other {
    flex-basis: 48%; 
    background: white;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
    text-align: left;
}

.col-Other:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.col-Other img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    border-radius: 8px;
    margin-bottom: 20px;
}

.col-Other h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #04144b;
}

.col-Other p {
    color: #777;
    font-size: 15px;
}


/* ================================== */
/* 4. Footer Section Styling */
/* ================================== */

footer {
    width: 100%;
    background-color: #333;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 6%;
    max-width: 1200px;
    margin: auto;
}

.footer-left {
    flex-basis: 50%;
    text-align: left;
}

.company-name h5 {
    font-weight: 700; 
    font-size: 28px;
    margin-bottom: 10px;
    color: #FF5733; 
}

.footer-left p {
    font-size: 15px;
    margin: 5px 0;
    color: #ccc;
}

.footer-right {
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    font-size: 24px;
    color: white;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: #FF5733; 
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    background-color: #222;
    padding: 15px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #aaa;
}

/* ================================== */
/* 5. Media Queries for Responsiveness */
/* ================================== */

@media (max-width: 768px) {
    /* --- Header/Hero Section --- */
    .text-box h2 {
        font-size: 36px;
    }

    .text-box h3 {
        font-size: 18px;
    }

    /* --- Navigation --- */
    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 20px;
    }
    
    .nav-links ul li a {
        font-size: 16px;
    }

    /* Mobile Menu */
    .nav-links {
        position: fixed;
        background: #04144b; 
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px; 
        text-align: left;
        z-index: 100;
        transition: 0.5s;
        padding-left: 20px;
    }

    nav .fa-bars,
    nav .fa-times {
        display: block;
        margin: 10px;
    }

    nav .fa-times {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    /* --- Main Sections --- */
    .Mainbody {
        width: 90%;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .Mainbody h1 {
        font-size: 28px;
    }

    .row {
        flex-direction: column;
        gap: 20px;
    }

    .col-car, .col-Other {
        flex-basis: 100%; 
    }
    
    .col-Other img {
        height: 200px; 
    }

    /* --- Footer --- */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 6%;
    }

    .footer-left, .footer-right {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-right {
        justify-content: center; 
    }
    
    .company-name h5 {
        font-size: 24px;
    }
    
    .footer-left p {
        font-size: 14px;
    }
}
