/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    background-color: #000000;
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Add PerfectlySplendid font from the fonts directory */
@font-face {
    font-family: 'PerfectlySplendid';
    src: url('../fonts/PerfectlySplendid.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Add Helvetica Neue Light font from the fonts directory */
@font-face {
    font-family: 'HelveticaNeueLight';
    src: url('../fonts/HelveticaNeueLTW0545Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
.logo {
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 15px;
    text-align: center;
    font-family: 'PerfectlySplendid', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container video,
.video-container iframe,
.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.films-container {
    position: relative;
    height: 100vh;
    z-index: 3;
}

.film-content {
    position: absolute;
    left: 5%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s ease;
    pointer-events: none;
}

.film-content.active {
    bottom: 12%;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.film-content.next {
    bottom: 5%;
    opacity: 0.25;
    transform: translateY(0) scale(0.6);
    pointer-events: none;
}

.film-title {
    font-family: 'HelveticaNeueLight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.film-description {
    font-size: 1.2rem;
    opacity: 0;
    max-width: 500px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.film-content.active .film-title {
    opacity: 1;
    transform: translateY(0);
}

.film-content.active .film-description {
    opacity: 1;
    transform: translateY(0);
}

.film-content.next .film-title {
    font-family: 'HelveticaNeueLight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.25;
    transform: translateY(0);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.film-content.next .film-description {
    font-size: 0.8rem;
    opacity: 0.25;
    transform: translateY(0);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
    z-index: 4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .film-title {
        font-size: 3rem;
    }

    .film-description {
        font-size: 1.1rem;
    }

    .film-content.next .film-title {
        font-size: 1.6rem;
    }

    .film-content.next .film-description {
        font-size: 0.75rem;
    }

    nav {
        padding: 0 1rem;
    }

    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .film-title {
        font-size: 2.5rem;
    }

    .film-content {
        left: 1rem;
        right: 1rem;
    }

    .film-content.next .film-title {
        font-size: 1.4rem;
    }
}

/* Coming Soon Page Styles */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

.coming-soon-title {
    font-family: 'HelveticaNeueLight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.film-content.active .coming-soon-title {
    opacity: 1;
    transform: translateY(0);
}

.film-content.next .coming-soon-title {
    font-family: 'HelveticaNeueLight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.25;
    transform: translateY(0);
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Coming Soon */
@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
    
    .film-content.next .coming-soon-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .coming-soon-title {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }
    
    .film-content.next .coming-soon-title {
        font-size: 1.4rem;
    }
} 

#film-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

#film-gif.loading {
    opacity: 0.7;
}

#film-gif.loaded {
    opacity: 1;
} 

/* Mobile-specific improvements */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
        margin-top: 10px;
    }
    
    header {
        padding: 1rem;
    }
    
    #film-gif {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease-in-out;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .film-title {
        font-size: 2.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
}

/* Prevent text selection and improve touch experience */
.film-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure proper image loading on mobile */
#film-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
} 