* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #000;
}

.portfolio, .productions, .about, .team {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.portfolio.show, .productions.show, .about.show, .team.show {
    opacity: 1;
    transform: translateY(0);
}



hr{
    color: white;
}
/* Default Desktop Styles (unchanged) */
nav {
    background: #000;
    padding: 15px 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.logo img {
    height: 50px;
}

.logo a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    font-family: montserrat, Arial, Helvetica, sans-serif;
}

.logo a span {
    position: absolute;
    margin: 16px 0 0 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
    padding-left: 30px;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
}

.nav-links a:hover {
    color: #ED0024;
}

.nav-links li a:hover,
.nav-links li a.active-hover {
    color: red; /* Hover effect */
}


/* ========== MOBILE STYLES ========== */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 15px 5%;
        position: relative; /* For absolute positioning of menu */
    }

    .logo a img {
        margin-left: -310px;
    }

    /* Logo adjustments */
    .logo a span {
        margin-top: 14px;
    }

    /* Hamburger menu - positioned on the right */
    .menu-toggle {
        display: block;
        color: white;
        font-size: 28px;
        cursor: pointer;
        margin-left: auto; /* Pushes to right */
        padding: 5px 10px;
        z-index: 1001;
    }

    /* Navigation links - hidden by default */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        gap: 0;
        padding: 20px 5%;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Active state for mobile menu */
    .nav-links.active {
        display: flex;
    }

    /* Menu items styling */
    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 16px;
        display: block;
    }
    .menu-toggle {
        margin-top: -50px;
    }
    
    /* Animation for hamburger icon */
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* Rotate first bar for close icon */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    /* Fade out second bar */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    /* Rotate last bar for close icon */
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
        padding: 0 5%; /* Reduce padding on small screens */
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }
}




/* ---- Global Fixes ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* ---- Navigation (Mobile Optimization) ---- */
@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        background: black;
        position: absolute;
        top: 60px;
        width: 100%;
        left: 0;
        text-align: center;
        gap: 10px;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
        display: block;
        width: 100%;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        color: white;
        font-size: 30px;
        margin-right: 10px;
    }
}






.contact {
    width: 100%;
    height: auto; /* Set height dynamically */
    background-color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
    padding: 80px 0px;
}

.contact h2 {
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 100px;
}

.contact-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%; /* Restrict content width */
    max-width: 1200px;
    gap: 40px; /* Space between columns */
    max-width: 1200px;
}

.quick-links {
    flex: 1; /* Make sections flexible */
    min-width: 200px;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    text-align: left;
    padding-bottom: 20px;
}

.quick-links ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    padding-bottom: 20px;
}

.quick-links ul li a:hover {
    color: #ED0024;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;;
}

.company {
    flex: 1;
    text-align: center;
    min-width: 250px;
}

.company a {
    text-decoration: none;
    color: #fff;
}

.company img {
    display: block;
    margin: 0 auto;
}

.company ul li{
    display: inline;
}

.social-media a img{
    display: inline;
}

.more {
    flex: 1;
    min-width: 250px;
    color: white;
}

.more h3 {
    text-align: left;
    margin-bottom: 15px;
}

.content-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.content {
    flex: 1;
    min-width: 220px;
    text-align: left;
}

.content p {
    margin: 5px 0;
    color: #fff;
}


.footer{
    text-align: center; 
    color: #fff; 
    background: #000;
    padding: 30px;
}

.footer a{
    text-decoration: none;
    color: #fff; 
    background: #000;
}

/* ---------- Large Tablet (1224px to 820px) ---------- */
@media screen and (max-width: 1024px) and (min-width: 821px) {
    .contact {
        padding: 70px 40px;
    }
    
    .contact-detail {
        width: 95%;
        gap: 25px;
    }
    
    .quick-links {
        flex: 0 1 22%;
    }
    
    .company {
        flex: 0 1 30%;
    }
    
    .more {
        flex: 0 1 40%;
    }
}

/* ---------- Medium Tablet (820px to 668px) ---------- */
@media screen and (max-width: 820px) and (min-width: 669px) {
    .contact {
        padding: 60px 30px;
    }
    
    .contact-detail {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .quick-links {
        flex: 0 1 45%;
        margin-bottom: 30px;
    }
    
    .company {
        flex: 0 1 45%;
        margin-bottom: 30px;
    }
    
    .more {
        flex: 1 1 100%;
    }
    
    .content-2 {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .content {
        flex: 0 1 45%;
    }
}

/* ---------- Small Tablet (668px to 480px) ---------- */
@media screen and (max-width: 668px) {
    .contact {
        padding: 50px 25px;
    }
    
    .contact-detail {
        flex-direction: column;
        gap: 35px;
    }
    
    .quick-links,
    .company,
    .more {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
    
    .quick-links ul li {
        text-align: center;
    }
    
    .content-2 {
        flex-direction: column;
        gap: 25px;
    }
}
@media screen and (max-width: 576px) {
    .contact {
        padding: 50px 20px;
    }
    
    .contact-detail {
        flex-direction: column;
    }
    
    .quick-links,
    .company {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .quick-links ul li,
    .more h3 {
        text-align: center;
    }

    .more p {
        margin-left: 100px;
    }
}






.header h2{
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    color: #fff;
    margin: 60px 0px 50px 0px;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
}





.article {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack articles vertically */
    align-items: center;
}

.articles {
    max-width: 1200px;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 50px;
    margin: 20px auto;
    text-align: left;
    position: relative; /* Required for absolute positioning */
    padding-bottom: 50px; /* Space before the line */
}

.article-img img {
    width: 250px;
    height: auto;
}

.article-details {
    max-width: 600px;
}

.article-details h3 {
    color: #fff;
    font-size: 30px;
    padding: 0px 0px 20px 0px;
}

.article-details p {
    color: #fff;
    text-align: justify;
}

.article-details button {
    width: 160px;
    height: auto;
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    margin-top: 20px;
    font-size: 20px;
    cursor: pointer;
}

.article-details button:hover {
    color: #ED0024;
    border-color: #ED0024;
}

.articles:hover h3 {
    color: #ED0024;
}




.articles::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}





@media screen and (max-width: 1024px) {
    .articles {
        flex-direction: column; /* Stack image and text on smaller screens */
        text-align: center; /* Center text for better readability */
        gap: 30px;
    }

    .article-img img {
        width: 80%; /* Adjust image size for smaller screens */
        max-width: 300px;
        height: auto;
    }

    .article-details {
        max-width: 90%; /* Ensure text doesn’t stretch too much */
        text-align: center;
    }

    .article-details h3 {
        font-size: 24px; /* Reduce heading size */
    }

    .article-details p {
        font-size: 16px; /* Adjust paragraph text */
    }

    .article-details button {
        font-size: 18px; 
        width: 160px; /* Slightly smaller button */
        height: 30px;
    }
}

/* Extra small devices (phones) */
@media screen and (max-width: 600px) {
    .articles {
        gap: 20px;
    }

    .article-img img {
        width: 100%; /* Full width for small screens */
        max-width: 250px;
    }

    .article-details h3 {
        font-size: 20px;
    }

    .article-details p {
        font-size: 14px;
    }

    .article-details button {
        font-size: 16px;
        width: 140px;
        height: 30px;
    }
}
