/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Fonts */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark background for better visibility */
    padding: 15px 50px;
    z-index: 100;
}

.navbar .logo img {
    max-width: 120px;
}

.navbar nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    width: 230%;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #fbbf24;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Hero Section */
#home {
    background-image: url('/assets/images/hero-image.jpg'); /* Ensure to use the correct image path */
    background-size: cover;
    background-position: center;
    height: 100vh; /* This makes the section take up the entire height of the viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* CTA Button */
.cta-button {
    background-color: #fbbf24;
    padding: 15px 30px;
    font-size: 16px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e69500;
}

/* About Us Section */
.about-us {
    padding: 60px 20px;
    background-color: #f7f7f7; /* Light grey background color */
    text-align: center;
}

.about-us h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* About Us Cards */
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card i {
    color: #FFB600;
    margin-right: 10px;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
}

/* Team Section */
.team {
    background-color: #eeeeee;
    padding: 50px 20px;
}

.team h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
    padding: 50px 20px;
}

.contact h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 15px 30px;
    background-color: #fbbf24;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #e69500;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.7);
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px;
    }

    .nav-links li a {
        color: #fff;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px;
    }

    /* Hero Section on Mobile */
    #home {
        background-size: cover;
        background-position: center;
    }
}

/* Parallax Effect on "Our Featured Safaris" Section */
.cards {
    background-image: url('/assets/images/safari-parallax.jpg'); /* Replace with desired parallax image */
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: black;
}

.card-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.card h3 {
    font-size: 22px;
    margin-top: 20px;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
}

.card .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFB600;
    color: #fff;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
}

.card .cta-button:hover {
    background-color: #e6a800;
}

/* About Us Section Styling */
.about-us {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Light background */
    color: #333; /* Dark text for readability */
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-us .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: left;
    color: #2c3e50;
}

.about-us .about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px); /* Three cards in a row */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card i {
    color: #fbbf24; /* Icon color */
    margin-bottom: 10px;
}

.card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.card p {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Image Section Styling */
.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover .about-image {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-us .row {
        flex-direction: column-reverse; /* Reverse column layout on smaller screens */
    }

    .card {
        width: 100%; /* Full width for cards */
    }
}

/* Team Section Styles */
.team {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-img {
    width: 100%;
    height: 250px; /* You can adjust this value as needed */
    object-fit: cover; /* Ensures the image covers the area without stretching */
    object-position: top; /* Focuses the image on the top part */
    transition: transform 0.3s ease; /* Adds a smooth zoom transition effect */
    border-bottom: 2px solid #f0f0f0;
}

/* Zoom effect on hover */
.team-img:hover {
    transform: scale(1.1); /* Zoom in by 10% on hover */
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.role {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 15px;
}

.bio {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
    color: #333;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFB600;
}

@media (max-width: 768px) {
    .team-member {
        margin-bottom: 30px;
    }
    .team-info {
        padding: 20px 10px;
    }
}
/* Contact Section Styling */
.contact {
    padding: 60px 20px;
    background-color: #f7f7f7;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Contact Details Styling */
.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    margin: 5px 0;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    font-size: 24px;
    margin: 0 15px;
    color: #333;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #FFB600;
}

/* Contact Form Styles */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact-form button {
    background-color: #FFB600;
    padding: 12px 24px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e6a800;
}

/* Map Styling */
#map {
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-form input, .contact-form textarea {
        width: 90%;
    }

    .contact-details, .social-media {
        text-align: center;
    }
}

/* Contact Section Styling */
.contact {
    padding: 60px 20px;
    background-color: #f7f7f7;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Contact Details Styling */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    margin-right: 15px;
    color: #FFB600;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.contact-item p {
    font-size: 1rem;
    margin: 5px 0;
}

.contact-item p a {
    color: #333;
    text-decoration: none;
}

.contact-item p a:hover {
    color: #FFB600;
}

/* Social Media Links */
.social-media {
    margin-top: 30px;
    text-align: center;
}

.social-media a {
    font-size: 24px;
    margin: 0 15px;
    color: #333;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #FFB600;
}

/* Contact Form Styles */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact-form button {
    background-color: #FFB600;
    padding: 12px 24px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e6a800;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-form input, .contact-form textarea {
        width: 90%;
    }

    .contact-details, .social-media {
        text-align: center;
    }
}

/* Gallery Section */
.gallery {
    padding: 60px 0;
    background-color: #f7f7f7;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay on Hover */
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 20px;
    }

    .gallery-item img {
        object-position: center;
    }
}

/* Lightbox styling adjustments */
.lg-outer {
    overflow-y: auto !important;  /* Allow vertical scrolling inside the lightbox */
    max-height: 90vh;             /* Limit the maximum height */
}

/* Ensures images are properly sized within the modal */
.lg-item img {
    object-fit: contain;       /* Ensure the image fits within the modal */
    max-width: 100%;            /* Keep image width flexible */
    max-height: 80vh;           /* Restrict image height */
    margin: 0 auto;             /* Center the image */
}

/* If you want the modal to scroll vertically */
.lg-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Optional: Add padding for a cleaner look */
.lg-item {
    padding: 20px;
}
