.index-background {
    min-height: 100vh;
    background-image: url('madagascar/bond-gun.png');
    background-size: cover;
    min-height: 100vh;
    background-position: center top;
    background-repeat: no-repeat;
}

html {
    overscroll-behavior: none;
}

.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.nav-row {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
}

.menu-row {
    font-size: large;
    display: flex;
    flex-direction: row;
    gap: 50px;
    color: #E6B84A;
    text-shadow:
        0 0 5px #3A2508,
        0 0 12px #8B641F,
        0 0 25px #C9952E,
        0 0 40px #E6B84A,
        0 0 60px rgba(255, 215, 120, 0.9);
}

.icons-row {
    font-size: large;
    display: flex;
    flex-direction: row;
    gap: 15px;
    color: #E6B84A;
    text-shadow:
        0 0 5px #3A2508,
        0 0 12px #8B641F,
        0 0 25px #C9952E,
        0 0 40px #E6B84A,
        0 0 60px rgba(255, 215, 120, 0.9);
}

.title {
    text-align: center;
    font-size: xx-large;
    color: #FFD700;
}

.hero1 {
    width: 800px;
    height: auto;
    display: block;
}

.image-container {
    display: flex;
    justify-content: center;
}

#index-img {
    margin-top: 50px;
    width: 900px;
    height: auto;
}

.site-footer {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    margin-top: 40px;
}

.site-footer img {
    width: 100px;
    height: auto;
    margin: 0 auto;
}

/*Gallery*/
.gallery-background {
    background-image: url(madagascar/perfection-background.png);
    background-size: 450px;
    min-height: 100vh;
    background-repeat: repeat;
    background-position: top left;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.hamburger,
.mobile-header {
    display: none;
}

/*cast*/
.cast-background {
    background-image: url(madagascar/green-blue.png);
    background-size: 400px;
    min-height: 100vh;
    background-repeat: repeat;
    background-position: top left;
}

.Not-james {
    display: flex;
    flex-direction: row;
}

.Not-watch {
    display: flex;
    flex-direction: row-reverse;
}

#not-james-img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 50px;
}

.text-box h1 {
    margin: 0 0 15px 0;
    padding: 15px 5px;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.1;
    color: #E6B84A;
    text-shadow:
        0 0 5px #3A2508,
        0 0 12px #8B641F,
        0 0 25px #C9952E,
        0 0 40px #E6B84A,
        0 0 60px rgba(255, 215, 120, 0.9);
}

.text-box p {
    margin: 0;
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.4;
    color: #E6B84A;
    text-shadow:
        0 0 5px #3A2508,
        0 0 12px #8B641F,
        0 0 25px #C9952E,
        0 0 40px #E6B84A,
        0 0 60px rgba(255, 215, 120, 0.9);
}

/*synopsis*/
.synopsis-background {
    background-image: url(madagascar/only-green.png);
    background-size: 400px;
    min-height: 100vh;
    background-repeat: repeat;
    background-position: top left;
}

.mobile-credits {
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    margin-bottom: 60px;
    color: #E6B84A;
    text-shadow:
        0 0 5px #3A2508,
        0 0 12px #8B641F,
        0 0 25px #C9952E,
        0 0 40px #E6B84A,
        0 0 60px rgba(255, 215, 120, 0.9);
}

.mobile-credits .row {
    display: grid;
    grid-template-columns: minmax(90px, 30%) 1fr;
    gap: 15px;
    align-items: start;
    width: 100%;
}

.credits-p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: left;
    margin: 0;
    color: #E6B84A;
    text-shadow:
        0 0 5px #3A2508,
        0 0 12px #8B641F,
        0 0 25px #C9952E,
        0 0 40px #E6B84A,
        0 0 60px rgba(255, 215, 120, 0.9);
}

/*mobile*/
@media (max-width: 600px) {

    #index-img {
        width: 100%;
        height: auto;
        margin-top: 250px;
    }

    .mobile-header {
        display: block;
        position: relative;
        width: 100%;
    }

    .mobile-header img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .main-nav {
        width: 100%;
    }

    .hamburger {
        display: block;
        font-size: 20px;
        color: #E6B84A;
        text-shadow:
            0 0 5px #3A2508,
            0 0 12px #8B641F,
            0 0 25px #C9952E,
            0 0 40px #E6B84A,
            0 0 60px rgba(255, 215, 120, 0.9);
        background: rgba(0, 0, 0, 0.6);
        border: none;
        cursor: pointer;
        padding: 10px 20px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
        margin-left: auto;
        margin-right: 0;
    }

    .nav-row {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .nav-row.show {
        display: flex;
    }

    .menu-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .menu-row a {
        padding: 15px 20px;
        text-align: center;
    }

    .icons-row {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }

    .Not-james,
    .Not-watch {
        display: flex;
        flex-direction: column;
    }

    #not-james-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .text-box h1 {
        margin: 0 0 15px 0;
        padding: 15px 5px;
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.1;
        color: #E6B84A;
        text-shadow:
            0 0 5px #3A2508,
            0 0 12px #8B641F,
            0 0 25px #C9952E,
            0 0 40px #E6B84A,
            0 0 60px rgba(255, 215, 120, 0.9);
    }

    .text-box p {
        margin: 0;
        margin-bottom: px;
        padding: 15px;
        background-color: rgba(0, 0, 0, 0.6);
        color: #E6B84A;
        text-shadow:
            0 0 5px #3A2508,
            0 0 12px #8B641F,
            0 0 25px #C9952E,
            0 0 40px #E6B84A,
            0 0 60px rgba(255, 215, 120, 0.9);
    }

    .mobile-credits {
        width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        background-color: rgba(0, 0, 0, 0.6);
        margin-bottom: 60px;
        color: #E6B84A;
        text-shadow:
            0 0 5px #3A2508,
            0 0 12px #8B641F,
            0 0 25px #C9952E,
            0 0 40px #E6B84A,
            0 0 60px rgba(255, 215, 120, 0.9);
    }

    .mobile-credits .row {
        display: grid;
        grid-template-columns: minmax(90px, 30%) 1fr;
        gap: 15px;
        align-items: start;
        width: 100%;
    }

    .credits-p {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 15px;
        background-color: rgba(0, 0, 0, 0.6);
        text-align: left;
        margin: 0;
        color: #E6B84A;
        text-shadow:
            0 0 5px #3A2508,
            0 0 12px #8B641F,
            0 0 25px #C9952E,
            0 0 40px #E6B84A,
            0 0 60px rgba(255, 215, 120, 0.9);
    }
}