/* HERO & VIDEO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Fluid media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}


/* NAVIGATION */
nav {
    padding: 2vw 4vw;
    width: 100%;
    display: flex;
    position: fixed;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    justify-content: space-evenly;
}

.logo {
    width: 120px;
    height: auto;
}

#nav-part2 {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#nav-part2 h4 {
    padding: 10px 20px;
    border: 1px solid #ffffff3c;
    border-radius: 50px;
    font-weight: 500;
    color: #ffffffd4;
    transition: all ease 0.4s;
    position: relative;
    font-size: 18px;
    overflow: hidden;
    cursor: pointer;
}

#nav-part2 h4::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #d4a94f;
    left: 0;
    bottom: -100%;
    border-radius: 50%;
    transition: all ease 0.4s;
    z-index: 1;
}

#nav-part2 h4:hover::after {
    bottom: 0;
    border-radius: 0;
}

#nav-part2 h4 a {
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 9;
}

.btn-top {
    background-color: #d4a94f;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 3px;
}

/* HERO CONTENT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
    font-weight: bold;
    max-width: 900px;
    margin: auto;
    line-height: 1.3;
    font-family: 'Lagency', serif;
}

/* Home-specific hero text sizing to ensure full visibility */
body.home .hero-content h1 {
    font-size: clamp(1.2rem, 1.6vw + 0.8rem, 2.2rem);
    line-height: 1.25;
    max-width: min(80vw, 800px);
}

.btn-main {
    display: inline-block;
    margin-top: 20px;
    background-color: #d4a94f;
    padding: 15px 30px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
}

/* HAMBURGER 3 DOTS */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 39px;
    height: 4px;
    background: #fff;
    display: block;
}

.foo {
    display: flex;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 2vw 4vw;
        width: 100%;
        display: flex;
        position: fixed;
        z-index: 100;
        background: rgba(0, 0, 0, 0.3);
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        margin-top: 12px;
    }

    #nav-part2 {
        position: fixed;
        top: 0;
        right: -200px;
        width: 180px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 15px 20px;
        gap: 10px;
        transition: right 0.3s ease;
        z-index: 100;
    }

    #nav-part2.active {
        right: 0;
    }

    #nav-part2 h4 {
        width: 100%;
        text-align: left;
        padding: 10px 0;
        border: none;
        font-size: 16px;
    }

    .desktop-btn {
        display: none;
        /* hide big button in nav */
    }

    .mobile-btn {
        display: inline-block;
        margin-top: 20px;
        background-color: #d4a94f;
        padding: 10px 15px;
        text-decoration: none;
        color: white;
        font-weight: bold;
        border-radius: 3px;
        width: 100%;
        text-align: center;
    }
}


/* -------- */

@media (max-width: 768px) {
    .hero {
        position: relative;
        height: 50vh;
        width: 100%;
        overflow: hidden;
        z-index: 0;
    }

    .bg-video {
        position: absolute;
        top: 58px;
        left: 0px;
        width: 100vw;
        height: 43vh;
        object-fit: cover;
        z-index: -1;
    }

    #page4-right {
        margin-top: 20px;
        height: 100%;
    }

    .safari-points {
        margin-bottom: 60px;
        margin: 10px 25px 45px 21px;
        gap: 0px;
    }

    #page5 {
        background-color: #fff;
        padding: 0;
        text-align: center;
    }

    .values-container {
        max-width: 1300px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        gap: 0px;
        flex-wrap: wrap;
    }

    #page6 {
        height: auto;
        width: 100%;
        background-color: #e1dada;
        position: relative;
    }

    .value-item {
        flex: auto;
        padding: 4px;
    }

    .testimonial-card {
        background-color: #c7c5c5;
        padding: 15px;
        width: auto;

    }

    .tailor-left {
        margin-bottom: auto;
        background-color: #111;
        padding: 20px;
        width: 50%;
        color: white;
        font-family: 'Arial', sans-serif;
    }

    .tailor-right {
        flex: 1;
        /* background-size: cover; */
        /* background-position: center; */
        /* margin-bottom: 83%; */
    }

    .tailor-made-section {
        background: url(http://www.preciousmomentssafaris.com/wp-content/uploads/2024/07/TailorMade-scaled.jpeg);
        display: flex;
        color: #fff;
        min-height: auto;
        background-size: cover;
    }

    #page-safaris {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        padding: 56px 13px;
        background: #fff;
        flex-wrap: wrap;
    }

    #testimonials {
        padding: 30px 10px 48px;
        background-color: #fff;
        text-align: center;
    }

    /* .park-item img {
        width: 188px;
        height: 98px;
    } */

    .tailor-hero {
        position: relative;
        height: 335px;
    }

    /* .btn-main, */
    /* .btn-safari, */
    .book-button {
        padding: 10px 20px;
        font-size: 14px;
        margin-left: 110px;
    }

    footer {
        background-color: #000;
        color: white;
        padding: 10px 10px;
        /* height: 100%; */
        /* width: 100%; */
    }

    .parks-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0px;
        width: auto;
        margin-left: 0;
        justify-items: center;
    }


    #page4-right p {
        font-size: 15px;
        /* font-family: Arial, sans-serif; */
        /* color: #2f2f2f; */
        /* margin-top: 14px; */
        /* line-height: 1.6; */
    }


    .hero-content h1 {
        font-size: 2em;
        font-weight: bold;
        /* max-width: 900px; */
        /* margin: auto; */
        /* line-height: 1.3; */
        font-family: 'Lagency', serif;
    }


    .hero-content {
        position: absolute;
        top: auto;
        left: 0%;
        transform: translate(0%, 0%);
        text-align: center;
        color: white;
        padding: 76px;
    }

    .btn-main {
        /* display: inline-block; */
        /* margin-top: 20px; */
        /* background-color: #d4a94f; */
        padding: 8px 9px;
    }

    .safari-points {
        display: flex;
        justify-content: center;
        gap: 0px;
        flex-wrap: wrap;
        margin-bottom: 60px;
        flex-direction: column;
    }
}