/* 1. Variables & Base Styles */
:root {
    --safari-gold: #c5a059;
    --safari-green: #2d3a27;
    --safari-dark: #1a1a1a;
    --safari-light: #f4f1ea;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--safari-light);
    color: var(--safari-dark);
    scroll-behavior: smooth;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 2. Hero Slider & Wrapper */
.hero-slider-wrapper {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    color: white;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
    width: 100%;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 3s ease-in-out, opacity 1.5s ease-in-out;
}

/* Dark Overlay for Text Contrast */
.carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
}

/* 3. Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* class for the brand name */
.brand-name {
    font-family: 'Montserrat', serif;
    text-transform: capitalize; 
    font-style: italic;
    letter-spacing: 0px; 
    font-size: 80px;
}
/* 4. Logo Styling (High-Res 3120px Friendly) */
.logo-overlay {
    position: absolute;
    top: 25px;
    left: 40px;
    z-index: 1000;
}

.main-logo {
    width: 220px; 
    max-width: 100%; 
    height: auto; 
    object-fit: contain;
    opacity: 0.95;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast; 
}

.main-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 5. Buttons & Icons */
.btn-safari {
    background-color: var(--safari-gold);
    color: white;
    border: none;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-safari:hover {
    background-color: #a8874a;
    color: white;
    transform: scale(1.05);
}

.hero-icon {
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.hero-icon:hover {
    color: var(--safari-gold);
    transform: translateY(-5px);
}

/* 6. Animations */
.fade-in {
    animation: fadeIn ease 2.5s;
}

@keyframes fadeIn {
    0% { opacity:0; transform: translateY(20px); }
    100% { opacity:1; transform: translateY(0); }
}

/* 7. Contact Section & Form */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.form-control:focus {
    border-color: var(--safari-gold);
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.25);
}

/* 8. Footer & Bottom Socials */
.social-link {
    font-size: 24px;
    color: var(--white);
    margin: 0 15px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-link:hover {
    color: var(--safari-gold);
}

footer {
    background-color: var(--safari-green);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* 9. Responsive Adjustments */
@media (max-width: 768px) {
    .logo-overlay {
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .main-logo {
        width: 150px;
    }

    .hero-icon {
        font-size: 1.5rem;
    }

    .display-3 {
        font-size: 2.2rem;
    }
}