/* SHARED STYLES FOR PERPETUAL MOTION PICTURES WEBSITE */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');


/* NEW LAYOUT FOR HOMEPAGE */
.hero-section-new {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: -60px;
    margin-bottom: -140px;
    padding-left:8%;
    min-height: 500px; 
}

.hero-section-new .logo-image {
    flex-shrink: 0;
    z-index: 1;    
}

.nav-links-vertical {
    position: absolute;
    right: 0;
        padding-right:8%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    z-index: 2; /* Nav links appear above logo */
}

.nav-link-outline {
    font-family: "Commissioner", sans-serif;
    font-weight: 800;
    font-variation-settings:
        "slnt" 0,
        "FLAR" 100,
        "VOLM" 80;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    opacity:.5;
    color:white;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-link-outline:hover {
    color: white;
    opacity:100%;
    -webkit-text-stroke: 0px white;
    font-style: italic;
}

/* Update description to be centered and wider */
.description {
    text-align: center;
    margin-left: 10vw;
    margin-right: 10vw;
    font-weight: 700;
    padding-bottom:50px;
}

/* Mobile adjustments */
@media (max-width: 800px) {
    .hero-section-new {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        margin-bottom: 40px;
        padding-left: 0;
        min-height: auto;
        gap: 30px;
    }
    
    .nav-links-vertical {
        position: static;
        padding-right: 0;
        align-items: center;
        margin-top: 0;
    }
    
    .nav-link-outline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .description {
        margin-left: 5vw;
        margin-right: 5vw;
        margin-top: 20px;
    }
}




/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #2E7DD2;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.container {
    flex: 1;
    padding: 40px 20px 0px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

main {
    display: flex; 
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 10px;
}

.main-title { 
    font-family: "Commissioner", sans-serif;
    font-weight: 900;
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    line-height: .9;
}

.sub-title { 
    font-family: "Commissioner", sans-serif;
    font-weight: 900;
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    line-height: .9;
}

.navpage-main-title { 
    color:white;
    font-family: "Commissioner", sans-serif;
    font-weight: 900;
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    line-height: .9;
}

.navpage-sub-title { 
    color:white;
    font-family: "Commissioner", sans-serif;
    font-weight: 900;
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 5px;
    line-height: .9;
    text-decoration:none;
}


.navpage-main-title:link {
    text-decoration: none;

}

.navpage-main-title:hover {
        /* font-style: italic; */
    text-decoration: dotted underline;
    text-decoration-thickness: 8px;
    text-decoration-color: white;
}

.title-nav-wrapper {
    max-width: fit-content;
    margin: 0 auto;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
}

.nav-link {
    font-family: "Commissioner", sans-serif;
    font-weight: 800;
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
    font-size: clamp(2rem, 4vw, 4rem);
    color: white;
    text-decoration: none;
    transition: opacity 1s ease;
    text-align: center;
}

.nav-link:hover {
    font-style: italic;
    text-decoration: dotted underline;
    text-decoration-thickness: 5px;
    text-decoration-color: white;
}

/* Active page styling */
.nav-link.active {
    font-style: italic;
    text-decoration: dotted underline;
    text-decoration-thickness: 5px;
}

.nav-link.inactive {
    opacity: 0.5;
}

/* Logo Image (for homepage) */
.logo-image {
    display: flex;
    justify-content: center;
    margin: -90px 0;
    z-index: 10;
}

.logo-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    z-index: 10;
}

/* Description Text (for homepage) */
.description {
    font-family: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    line-height: 1.2;
    text-align: justify;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 15vh;
    margin-bottom:3vh;
    max-width: 100%;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: auto;
    color: white;
    padding: 20px 0; 
}

.footer-link {
    font-family: "Commissioner", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 2rem);
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    font-style: italic;
    text-decoration: dotted underline;
    text-decoration-thickness: 5px;
    text-decoration-color: white;
}

.footer-social {
        font-family: "Commissioner", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 2rem);
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.footer-social:hover {
    text-decoration:none;
}

.footer-social img {
    height: clamp(1rem, 4vw, 5rem);
    filter: brightness(0) invert(1);
    padding-bottom: 2px;
    text-decoration:none;
}

.footer-social img:hover {
    text-decoration: none;
    /* font-style: normal; */
}




/* TESTIMONIALS SECTION FOR COMMERCIAL PAGE */
.testimonials-section {
    margin-bottom: 0px;
    margin-top: -30px;
}

.testimonials-container {
    margin-left: 10vw;
    margin-right: 10vw;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-item {
    margin-bottom: 30px;
}

.testimonial-quote {
        font-family: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
   font-size: clamp(1.0rem, 2.4vw, 1.3rem);
    line-height: 1.4;
    font-weight: 400;
    font-style: italic;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 20px;
    border-left: 8px dotted rgb(255, 255, 255);
    margin-bottom: 15px;
}


.testimonial-quote::before {
    content: """;
    font-size: 1.5em;
    opacity: 0.7;
}

.testimonial-quote::after {
    content: """;
    font-size: 1.5em;
    opacity: 0.7;
}

.testimonial-author {
    font-family: 'Libre Franklin', sans-serif;
    font-size: clamp(0.9rem, 2.2vw, 1.2rem);
    font-weight: 600;
    font-style: normal;
    text-align: left;
    margin-left: 60px;
    opacity: 0.8;
}
 


/* Mobile adjustments for testimonials */
@media (max-width: 900px) {
    .testimonials-container {
        margin-left: 8vw;
        margin-right: 8vw;
        margin-top:-40px;
    }
    
    .testimonial-quote {
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 15px;
        font-size: 1rem;
            border-left: 4px dotted rgb(255, 255, 255);
    }
    
    .testimonial-author {
        margin-left: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials-container {
        margin-left: 10vw;
        margin-right: 3vw;
    }
    
    .testimonial-quote {
        margin-left: 5px;
        margin-right: 5px;
        padding-left: 10px;
    }
    
    .testimonial-author {
        margin-left: 25px;
    }
}


/* SERVICES SECTION (WHAT WE OFFER) */
.services-section {
    margin-top: 40px;
    margin-bottom: 100px;
}

.services-main-title {
    font-family: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    font-style: italic;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
}

.service-item {
    margin-bottom: 80px;
}

.service-title {
    font-family: "Commissioner", sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    font-variation-settings:
        "slnt" 0,
        "FLAR" 100,
        "VOLM" 80;
            position: relative;
    padding-bottom: 5px;
}


/* FOR THE HORIZONTAL LINE BENEATH THE SERVICE SECTIONS... */
.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%; /* Adjust this to control line width */
    height: 2px;
    background-color: white;
}

.service-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: 12vw;
    margin-right: 12vw;
}

.service-item.reverse .service-content {
    flex-direction: row-reverse;
}

.service-illustration {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-illustration img {
    max-width: 100%;
    height: auto;
}


.service-text {
    flex: 1;
    font-family: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    line-height: 1.6;
}

.service-text p {
    margin-bottom: 15px;
}

.service-text p:last-child {
    margin-bottom: 0;
}

/* Mobile adjustments for services */
@media (max-width: 768px) {
    .services-section {
        margin-top: 20px;
        margin-bottom: 60px;
    }
        .service-title {
        margin-left: 4vw;
        margin-right: 4vw;
    }
    .services-main-title {
        margin-bottom: 40px;
    }
    
    .service-item {
        margin-bottom: 50px;
    }
    
    .service-content {
        flex-direction: column !important;
        margin-left: 4vw;
        margin-right: 4vw;
        gap: 20px;
    }
    
    .service-illustration {
        flex: none;
    }
    
    .service-illustration img {
        max-width: 150px;
    }
    
    .service-text {
        text-align: left;
    }
}




/* CINEMA PAGE SPECIFIC STYLES */

/* Video Reel Section */
.video-reel {
    margin-top:-60px;
    margin-bottom: 50px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Projects Section */
.projects-section {
    margin-bottom: 80px;
}

.section-title {
    font-family: "Commissioner", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 20px;
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.project-item {
    background: inherit;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-item img {
        max-width: 20vw;
    }

/* .project-item:hover {
    /* transform: translateY(-5px); */
    /* background: rgba(255, 255, 255, 0.15); */
    /* font-style:italic; */


.project-title {
    font-family: "Commissioner", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-year {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.project-description {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    font-size: 1rem;
}

.cinema-description {
    font-family: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
    /* font-weight: 800; ARG CHANGING FONT TO ALLOW FOR BOLD STYLING IN COPY*/
font-weight: 600; 
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    line-height: 1.5;
    text-align: justify;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 0;
    margin-bottom:80px;
    max-width: 100%;
}

.big-teaser-text {
      /* font-family: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif; */
    /* font-weight: 800; ARG CHANGING FONT TO ALLOW FOR BOLD STYLING IN COPY*/
        font-family: "Commissioner", sans-serif;
font-weight: 600; 
    font-size: clamp(2rem, 4vw, 2rem);
    line-height: 1.5;
    text-align: justify;
    margin-left: 8vw;
    margin-right: 8vw;
    margin-top: -30px;
    margin-bottom:10px;
    max-width: 100%;
}  


@media (max-width: 768px) {
    .cinema-description {
          margin-left: 4vw;
    margin-right: 4vw;
    }
}

/* Festival Section */
.festivals-section {
    margin-bottom: 150px;
    margin-top:-50px;
}

.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 80px 40px;
}


.festival-item {
    background:inherit;
    /* border-radius: 8px; */
    /* padding: 25px; */
    text-align: center;
    transition: background 0.3s ease;
    width: 15vw;
       margin-bottom: -100px;
}

 .festival-item img {
    max-width: 250px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    filter: brightness(0) invert(1);
}
    
/* .festival-item:hover {
    background: rgba(255, 255, 255, 0.12);
} */

.festival-name {
    font-family: "Commissioner", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.festival-year {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.festival-award {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.9;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .main-title {
        font-size: clamp(2.5rem, 80vw, 4rem);
        margin-bottom: 15px;
        text-decoration: dotted underline;
        text-decoration-color: white;
        text-decoration-thickness: 5px;
    }

        .navpage-main-title {
        font-size: clamp(2.5rem, 80vw, 4rem);
        margin-bottom: 15px;
        text-decoration: dotted underline;
        text-decoration-color: white;
        text-decoration-thickness: 5px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: -2%;
        margin-top: 10px;
    }
 
    .nav-link {
        font-size: clamp(1.4rem, 6vw, 2.5rem);
    }

.nav-link.active {
    font-style: italic;
   text-decoration:none;
    text-decoration-thickness: 5px;
}

.navpage-main-title:hover {
    font-style: italic;
    text-decoration:none;
    text-decoration-thickness:0px;
}

.nav-link.inactive {
    opacity: 0.5;
}

.video-reel {
        margin-top: 20px; /* Override the negative margin */
        margin-bottom: 30px;
    }

    .description {
        margin: 0px 0;
        font-size: 1rem;
        margin-bottom:0px;
    }

    .logo-image {
        order: 1;
        margin: 0px 0;
    }

    .logo-image img {
        max-width: 250px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* margin-top: 40px; */
    }

    .hero-section-new {
    display: flex;
    flex-direction: column;
}

.logo-image {
    order: 1;
    margin: 0px 0;
}

.nav-links-vertical {
    order: 2;
}

    .footer-link {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }


    /* Cinema page mobile adjustments */
    .video-reel {
        margin-bottom: 50px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .festivals-grid {
        grid-template-columns: repeat(2, 1fr); 
        /* gap: -50px; ARG EDITS */
        gap: -80px;
        justify-items: center; /* Center the items in their grid cells */
    }
    
    .festival-item {
        width: auto;
    }
    
    .festival-item img {
        max-width: 150px; /* Make images smaller on mobile */
    }
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 0px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        margin-top:20px;
        gap: 10px;
    }

    .footer-nav {
        gap: 15px;
    }

    .logo-image img {
        max-width: 200px;
    }

    .project-item,
    .festival-item {
        padding: 20px;
    }
}


/* NEW ABOUT PAGE */

/* ABOUT PAGE SPECIFIC STYLES */

/* Main about section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: -30px;
    margin-bottom: 80px;
    margin-left: 8vw;
    margin-right: 8vw;
    padding: 0;
}


.about-page-title {
    font-family: "Commissioner", sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    font-style:italic;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    /* border-bottom: 3px solid white; */
    font-variation-settings:
        "slnt" -10,
        "FLAR" 100,
        "VOLM" 80;
}

/* Individual profile container */
.profile-item {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Alternate layout for every other profile */
.profile-item.reverse {
    flex-direction: row-reverse;
}

/* Photo container */
.about-photo {
    flex: 0 0 350px;
    max-width: 350px;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Bio section */
.about-bio {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    
}

.about-bio a {
    color: white;
    text-decoration:none;
}

.about-bio a:visited {
    color: white;
        text-decoration:none;
}

.about-bio a:hover {
    color: #cccccc; /* Slightly darker white on hover for visibility */
        text-decoration:none;
}

.about-bio h3 {
    font-family: "Commissioner", sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
        letter-spacing: 0.02em;
    margin-bottom: 15px;
    padding-bottom: 10px;                    /* ADD THIS */
    border-bottom: 2px solid white;          /* ADD THIS */
    font-variation-settings:
        "slnt" 0,
        "FLAR" 100,
        "VOLM" 80;
}

.about-bio p {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .about-content {
        gap: 60px;
        margin-left: 5vw;
        margin-right: 5vw;
             margin-top: 40px; 
    }
    
    .profile-item,
    .profile-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-photo {
        flex: none;
        max-width: 100%;
        margin: 0 auto;
    }

    .about-page-title {
        font-size: clamp(1.5rem, 5vw, 2rem);

    }
    
    .profile-item,
    .profile-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-photo {
        flex: none;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .about-bio h3 {
        text-align: center;
    }
} 


/* CONTACT PAGE STYLES FOR TEMPORARY CONTACT PAGE */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: -30px;
    margin-bottom: 50px;
}

.contact-content .logo-image {
    margin: 0;
}

.contact-info {
    text-align: center;
    font-family: 'Libre Franklin', sans-serif;
}

.contact-info p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 15px;
}

.contact-email {
    font-family: "Commissioner", sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Mobile adjustments for contact page */
@media (max-width: 768px) {
    .contact-content {
        margin-top: 40px;
        gap: 30px;
            margin-bottom: 0px;
    }
    
    .contact-content .logo-image img {
        max-width: 250px;
    }
    
    .contact-info {
        padding: 0 20px;
    }
    
    .contact-email {
        font-size: clamp(1rem, 5vw, 1.4rem);
        word-break: break-word;
    }
}