*{ margin: 0; padding: 0; box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
}
#header {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url(images/Melmin\ Entertainment.PNG);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}
#sideNav {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: rgba(65, 85, 108, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding-top: 100px;
    transition: right 0.4s ease;
}
#sideNav a {
    text-align: center;
}

#sideNav.active {
    right: 0;
}

nav ul {
    padding: 0;
}

nav ul li {
    list-style: none;
    margin: 50px 20px;
}

nav ul li a {
    text-decoration: none;
    color: #40d1e8;
    font-size: 18px;
    display: block;
    transition: 0.3s;
}

.menu-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

/* Mobile menu positioning */
@media (max-width: 768px) {
.menu-toggle {
top: 70px;
right: 20px;
}
}

.menu-toggle span {
    display: block;
    height: 3px;
    margin: 7px 0;
    background: #40d1e8;
    border-radius: 3px;
    transition: width 0.3s ease,
                transform 0.3s ease,
                opacity 0.3s ease;
}

/* Hamburger → X */

.menu-toggle span:nth-child(1) {
    width: 18px;
}

.menu-toggle span:nth-child(2) {
    width: 27px;
}

.menu-toggle span:nth-child(3) {
    width: 36px;
}

/* Expand all three lines on hover */
.menu-toggle:hover span {
    width: 36px;
}

/* Transform into an X when open */
.menu-toggle.active span:nth-child(1) {
    width: 36px;
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    width: 36px;
    transform: translateY(-10px) rotate(-45deg);
}

/* About Section */

#about {
    min-height: 100vh;
    background: white;
    padding: 100px 10%;
    box-sizing: border-box;
}

/* Cool About heading */

 h1 {
    font-size: 60px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 70px;
    color: #183f46;
    letter-spacing: 4px;
    text-decoration: bold;
   
}

/* Image + paragraph */

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

/* About image */

.about-content .images {
    flex: 1;
    text-align: center;
}

.about-content .images img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* About paragraph */

.about-paragraph {
    flex: 1;
}

.about-paragraph p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* IMDb Profile Button */

.imdb-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 10px 18px;
    background: #f5c518;
    color: #111;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease,
                transform 0.3s ease;
}

.imdb-logo {
    background: #111;
    color: #f5c518;
    font-size: 19px;
    font-weight: 800;
    padding: 4px 6px;
    border-radius: 4px;
    letter-spacing: -1px;
}

.imdb-label {
    font-size: 15px;
}

.imdb-button:hover {
    background: #40d1e8;
    transform: translateY(-3px);
}

/* About Section — Mobile Styling */
@media (max-width: 768px) {

#about {
    min-height: auto;
    padding: 70px 24px 60px;
}

#about h1 {
    font-size: 34px;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.about-content {
    flex-direction: column;
    gap: 30px;
    max-width: 520px;
}

.about-content .images {
    width: 100%;
}

.about-content .images img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 4px;
}

.about-paragraph {
    width: 100%;
}

.about-paragraph p {
    font-size: 17px;
    line-height: 1.7;
}
.imdb-button {
        display: flex;
        width: fit-content;
        margin: 22px auto 0;
    }

}
/* YouTube Film Buttons */

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 11px 18px;
    background: #ff0033;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.youtube-play {
    font-size: 17px;
    line-height: 1;
}

.youtube-button:hover {
    background: #cc0029;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
/* Films Section */

#films {
    min-height: 100vh;
    background: white;
    padding: 5px 8% 60px;
    box-sizing: border-box;
}

/* Films Header */

.films-header {
    width: 100%;
    margin: 0 auto 70px;
    padding: 25px 0;
    background-color: rgba(22, 76, 85, 0.8);
    box-sizing: border-box;
}

.films-header h1 {
    margin: 0;
    color: white;
    font-size: 60px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 4px;
    
}

/* Films Content */

.films-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Individual Film Row */

.film-card {
    display: flex;
    align-items: flex-start;
    gap: 45px;
    padding: 0 0 65px;
    margin-bottom: 65px;
    border-bottom: 1px solid #e3e8eb;
}

.film-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
    

/* Film Poster */

.film-poster {
    flex: 0 0 35%;
}

.film-poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* Film Information */

.film-info {
    flex: 1;
}

.film-info h2 {
    margin: 0 0 20px;
    color: #164C55;
    font-size: 32px;
    font-weight: 600;
}

.film-description {
    margin: 0 0 22px;
    color: #333;
    font-size: 17px;
    line-height: 1.8;
}

.film-achievements {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.film-achievements li {
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.film-cast {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.film-cast strong {
    color: #164C55;
}

/* Mobile Layout */

@media (max-width: 768px) {

    #films {
        padding: 70px 0;
    }

    .films-header {
        margin-bottom: 45px;
    }

    .films-header h1 {
        font-size: 42px;
    }

    .films-content {
        padding: 0 22px;
    }

    .film-card {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-bottom: 45px;
        margin-bottom: 45px;
    }

    .film-poster {
        flex: none;
        width: 100%;
        max-width: 340px;
    }

    .film-info {
        width: 100%;
    }

    .film-info h2 {
        font-size: 28px;
    }

    .film-description {
        font-size: 16px;
    }
}


/* Divider Between Film Categories */

.film-stage-divider {
    width: 100%;
    height: 1px;
    background: #d5dfe2;
    margin: 20px 0 45px;
}

/* In Preproduction Heading */

.stage-heading {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #164C55;
    margin: 0 0 50px;
}

/* Production Status */

.film-status {
    display: inline-block;
    margin: 8px 0 0;
    padding: 8px 14px;
    border-left: 3px solid #40d1e8;
    background: #f1f7f8;
    color: #164C55;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stage-heading {
        font-size: 28px;
        margin-bottom: 35px;
    }


    .film-stage-divider {
        margin: 10px 0 35px;
    }
}
    .film-card:nth-of-type(2) {
    border-bottom: none;
}
/* All Those Memories — Memory Fade Effect */

.film-status {
    display: inline-block;
    margin: 8px 0 0;
    padding: 10px 14px;
    border-left: 3px solid #40d1e8;
    background: #f1f7f8;
    color: #164C55;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: default;

    transition:
        color 0.5s ease,
        letter-spacing 0.8s ease,
        opacity 0.8s ease;
}

.film-status:hover {
    opacity: 0.08;
    letter-spacing: 2px;
    filter: blur(2px);
}


/* ==============================
   FUTURE PROJECTS
============================== */

.future-projects {
    background-color: #ffffff;
    color: #183f46;
    padding: 5px 8% 60px;
    text-align: center;
}

.future-projects-header {
    max-width: 760px;
    margin: 0 auto 30px;
}

.future-projects-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 20px;
    color: #164c55;
}

.future-projects-header p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #52666a;
    margin: 0;
}


/* POSTER GRID */

.future-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 1050px;
    margin: 0 auto;
    align-items: stretch;
}


/* POSTER CARDS */

.project-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 3px;
    overflow: hidden;
    background: #102d32;
    cursor: pointer;
    aspect-ratio: 2 / 3;
    isolation: isolate;
    color: #ffffff;
    text-align: center;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.project-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.7s ease,
                transform 1s ease;
}


/* DARKENED OVERLAY */

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 36px);
    background: rgba(10, 35, 40, 0.48);
    opacity: 0;
    transition: opacity 0.7s ease;
    overflow-y: auto;
}

.project-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 440px;
    margin: auto;
}

.project-title {
    font-size: clamp(1.4rem, 2.8vw, 2.3rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #40d1e8;
}

.project-synopsis {
    display: block;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 1.8;
    font-weight: 400;
    color: #ffffff;
}

.project-hint {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #40d1e8;
    margin-top: 4px;
}


/* DESKTOP HOVER */

@media (hover: hover) and (pointer: fine) {

    .project-card:hover .project-poster {
        opacity: 0.18;
        transform: scale(1.035);
    }

    .project-card:hover .project-overlay {
        opacity: 1;
    }
}


/* CLICK / TAP STATE */

.project-card.is-revealed .project-poster {
    opacity: 0.18;
    transform: scale(1.035);
}

.project-card.is-revealed .project-overlay {
    opacity: 1;
}


/* KEYBOARD ACCESSIBILITY */

.project-card:focus-visible {
    outline: 3px solid #40d1e8;
    outline-offset: 5px;
}

.project-card:focus-visible .project-poster {
    opacity: 0.18;
}

.project-card:focus-visible .project-overlay {
    opacity: 1;
}


/* INVESTMENT INVITATION */

.future-projects-footer {
    max-width: 760px;
    margin: 65px auto 0;
}

.future-projects-footer p {
    font-size: 1rem;
    line-height: 1.9;
    color: #52666a;
    margin: 0 0 15px;
}

.project-contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 30px;
    border: 1px solid #164c55;
    color: #164c55;
    background: transparent;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
}

.project-contact-button:hover {
    background-color: #164c55;
    border-color: #164c55;
    color: #ffffff;
}


/* MOBILE LAYOUT */

@media (max-width: 700px) {

    .future-projects {
        padding: 75px 6%;
    }

    .future-projects-header {
        margin-bottom: 35px;
    }

    .future-projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 430px;
    }

    .project-overlay {
        padding: 22px;
    }

    .project-overlay-content {
        gap: 12px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-synopsis {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .future-projects-footer {
        margin-top: 45px;
    }

    .project-contact-button {
        max-width: 100%;
        padding: 15px 20px;
        font-size: 0.78rem;
    }
}


/* REDUCED MOTION PREFERENCE */

@media (prefers-reduced-motion: reduce) {

    .project-poster,
    .project-overlay,
    .project-contact-button {
        transition: none;
    }
}


/* ==============================
   MELMIN RECORDS
============================== */

.music-section {
    background-color: #ffffff;
    color: #183f46;
    padding: 35px 8% 70px;
    box-sizing: border-box;
}

/* HEADER */

.music-header {
    width: 100%;
    margin: 0 auto 40px;
    padding: 25px 0;
    background-color: rgba(22, 76, 85, 0.8);
    box-sizing: border-box;
    text-align: center;
}

.music-header h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

/* IMAGE + DESCRIPTION */

.music-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    max-width: 1150px;
    margin: 0 auto;
}

.music-image {
    flex: 0 0 36%;
    max-width: 360px;
}

.music-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.music-description {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.music-description p {
    color: #43575b;
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 0 18px;
}

.music-description em {
    color: #164c55;
}

/* PLAYLIST BUTTONS */

.music-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.music-button {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid #164c55;
    border-radius: 2px;
    background: transparent;
    color: #164c55;
    text-decoration: none;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease;
}

.youtube-button:hover {
    background-color: #c4302b;
    border-color: #c4302b;
    color: #ffffff;
}

.spotify-button:hover {
    background-color: #1db954;
    border-color: #1db954;
    color: #ffffff;
}

.spotify-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* TIGHTEN SPACE BETWEEN FILMS AND MUSIC */

#films {
    padding-bottom: 35px;
}

/* MOBILE */

@media (max-width: 700px) {

    .music-section {
        padding: 25px 6% 50px;
    }

    .music-header {
        margin-bottom: 30px;
        padding: 20px 0;
    }

    .music-content {
        flex-direction: column;
        gap: 30px;
    }

    .music-image {
        flex: none;
        width: min(75%, 300px);
    }

    .music-description {
        width: 100%;
        text-align: left;
    }

    .music-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .music-button {
        width: 100%;
        box-sizing: border-box;
    }

    #films {
        padding-bottom: 25px;
    }
}


/* =====================================
   MELMIN ENTERTAINMENT — CONTACT SECTION
===================================== */

.contact-section {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 3%;
    box-sizing: border-box;

    background-image: url("images/Melmin_Contact.PNG");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #ffffff;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* FORM POSITION AND WIDTH */

.contact-content {
    width: 43%;
    max-width: 430px;
    margin-right: 1%;
}

/* FORM CONTAINER */

.contact-form-container {
    background: rgba(255, 255, 255, 0.92);
    padding: 22px 24px;
    border-radius: 3px;
    box-sizing: border-box;
}

/* HEADING */

.contact-form-container h2 {
    margin: 0 0 8px;
    color: #164c55;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* INTRODUCTION */

.contact-intro {
    color: #43575b;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* FORM FIELDS */

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #164c55;
    font-size: 0.82rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #c8d2d4;
    border-radius: 2px;
    background: #ffffff;
    color: #26383b;
    font-family: inherit;
    font-size: 0.88rem;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 85px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #40d1e8;
    outline-offset: 1px;
}

/* SEND BUTTON */

.contact-submit {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid #164c55;
    border-radius: 2px;
    background: #164c55;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease,
                color 0.3s ease;
}

.contact-submit:hover {
    background: #ffffff;
    color: #164c55;
}

/* =====================================
   TABLET AND MOBILE
===================================== */

@media (max-width: 700px) {

    .contact-section {
        width: 94%;
        padding: 25px 5%;
        background-size: auto 100%;
        background-position: left center;
    }

    .contact-content {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
    }

    .contact-form-container {
        padding: 20px;
        background: rgba(255, 255, 255, 0.96);
    }

    .contact-form-container h2 {
        font-size: 1.5rem;
    }

    .contact-submit {
        width: 100%;
    }
}

/* FIT CONTACT FORM INSIDE THE IMAGE */

.contact-section {
    padding-top: 15px;
    padding-bottom: 15px;
}

.contact-content {
    width: 40%;
    max-width: 390px;
}

.contact-form-container {
    padding: 14px 20px;
}

.contact-form-container h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.contact-intro {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 8px;
}

.form-group label {
    margin-bottom: 4px;
    font-size: 0.78rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 7px 9px;
    font-size: 0.82rem;
}

.form-group textarea {
    min-height: 60px;
}

.contact-submit {
    padding: 9px 16px;
    font-size: 0.74rem;
}

/* Preserve mobile spacing */
@media (max-width: 700px) {
    .contact-section {
        padding: 25px 5%;
    }

    .contact-content {
        width: 100%;
        max-width: 430px;
    }

    .contact-form-container {
        padding: 20px;
    }

    .form-group textarea {
        min-height: 85px;
    }
}

/* ==============================
   SITE FOOTER
============================== */

.site-footer {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 22px 20px;
    box-sizing: border-box;
}

.site-footer p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* MOBILE */

@media (max-width: 700px) {
    .site-footer {
        padding: 18px 15px;
    }

    .site-footer p {
        font-size: 0.75rem;
    }
}

/* SMOOTH SECTION NAVIGATION */

html {
    scroll-behavior: smooth;
}

/* Mobile refinement — tighter layout */
@media (max-width: 768px) {

/* General section spacing */
#about,
#films,
#music,
#contact {
    min-height: auto;
    padding: 55px 20px 45px;
}

/* Section headings */
#about h1,
#films h1,
#music h1,
#contact h1 {
    font-size: 30px;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

/* About layout */
.about-content {
    gap: 22px;
    max-width: 440px;
}

.about-content .images img {
    max-width: 260px;
}

.about-paragraph p {
    font-size: 16px;
    line-height: 1.65;
}

/* IMDb button */
.imdb-button {
    margin-top: 18px;
    padding: 8px 13px;
    gap: 8px;
}

.imdb-logo {
    font-size: 16px;
    padding: 3px 5px;
}

.imdb-label {
    font-size: 14px;
}

/* Keep media within the phone screen */
#films img,
#music img {
    max-width: 100%;
    height: auto;
}

}

/* Smaller movie posters on mobile */
@media (max-width: 768px) {
#films img {
width: 100%;
max-width: 240px;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
}

/* Hidden anti-spam honeypot */
.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}