:root {
    --yellow: #FEFC1B;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "gineso", sans-serif;
    background-color: var(--yellow);
    color: #fff;
    overflow-x: hidden;
}

body.trailer-modal-open {
    overflow: hidden;
}

.navbar {
    background: transparent !important;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.navbar.scrolled {
    background: transparent !important;
}

.navbar .container-fluid {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 8%; 
    justify-content: flex-end !important;
}

.navbar-brand {
    background-color: var(--yellow);    
    padding: 8px 12px;
    margin: 0;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    background-color: var(--black);
}

.navbar-brand img {
    filter: brightness(0);
    height: 50px;
    display: block;
}

.navbar-brand img:hover {
    filter: invert(100);
}

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 1s ease-in-out;
    z-index: 1;
}

.hero-slide {
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.hero-image,
.hero-image-static {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.4) 100%);
    z-index: 3;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.hero-content .container-fluid,
.hero-content .row,
.hero-content .col-12 {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

.hero-content .col-12 {
    margin-bottom: 30px; 
    margin-left: 20px;   
}

.hero-titles-container {
    position: absolute;
    bottom: 30px; 
    left: 20px;   
    right: 0;
    height: auto;
    overflow: visible;
    z-index: 5;
}

.hero-titles-track {
    display: flex;
    align-items: baseline;
    gap: 80px;
    transition: transform 1s ease-in-out;
    position: relative;
    padding: 0;
}

.title-text,
.film-title {
    font-size: 3.5rem !important;
    font-weight: bold !important;
    color: white !important;
    line-height: 1.2 !important;
    margin: 10px !important;
    padding: 0 !important;
    white-space: nowrap !important;
    display: block !important;
    border: none !important;
    outline: none !important;
}

.title-text {
    cursor: pointer;
    transition: color 0.3s ease;
}

.title-text:hover {
    color: var(--yellow);
}

.title-item {
    flex-shrink: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.title-item.current {
    opacity: 1;
}

.title-item.inactive {
    opacity: 0.5;
}

.title-item:hover {
    opacity: 1.0;
}

.title-tooltip {
    position: absolute;
    bottom: 100%;
    left: 10px;
    padding-left: 4px;
    margin-bottom: -16px;
    color: white;
    font-size: 1rem;
    font-weight: normal;
    white-space: nowrap;
    z-index: 1000;
    display: none;
}

.title-item:hover .title-tooltip {
    display: block;
}

.title-item.current .title-text {
    opacity: 1;
}

.title-item.inactive .title-text {
    opacity: 0.5;
}

#stay-updated {
    background-color: #1a1a1a;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 5px;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link:hover {
    color: var(--yellow);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.email-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.column-section {
    min-height: 50vh;
    border-right: 1px solid #333;
    position: relative;
}

.column-section:last-child {
    border-right: none;
}

.column-content {
    max-width: 400px;
    width: 100%;
}

.column-letter {
    font-family: "Bungee Outline", sans-serif;
    font-size: 12rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: -100px;
    position: relative;
    z-index: 1;
}

.column-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.column-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.more-btn {
    background: transparent;
    border: 2px solid white;
    border-radius: 50px;
    padding: 15px 40px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.more-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.more-btn .btn-text {
    position: relative;
    z-index: 1;
}

.film-info .info-item {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.film-info .info-item:last-child {
    border-bottom: none;
}

.film-info .info-item strong {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.film-info .info-item span {
    color: white;
    font-size: 1rem;
    line-height: 1.4;
}

#film-desc {
    line-height: 1.6;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.trailer-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 6;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.trailer-play-button:hover {
    transform: translate(-50%, -50%) scale(1.2);
    filter: drop-shadow(0 0 20px var(--yellow)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.trailer-play-button svg {
    width: 100%;
    height: 100%;
    fill: white;
    transition: fill 0.3s ease;
}

.trailer-play-button:hover svg {
    fill: white;
}

.trailer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.trailer-modal.active {
    opacity: 1;
    visibility: visible;
}

.trailer-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.trailer-modal.active .trailer-modal-content {
    transform: scale(1);
}

.trailer-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.trailer-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: #000 !important;
}

.footer-divider {
    width: 200px;
    height: 1px;
    background-color: #333;
    margin: 0 auto;
}

.linkedin-icon {
    font-size: 2rem;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50000;
    display: block;
    visibility: visible;
    opacity: 1;
}

#loading-screen.force-hide {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.loading-yellow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    z-index: 50003;
    animation: slideUpYellow 2s ease-in-out forwards;
}

.loading-glass-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 50002;
    opacity: 1;
    animation: showGlass 2s ease-in-out forwards;
    pointer-events: none;
}

.loading-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50004;
    animation: fadeOutLogo 2s ease-in-out forwards;
}

.loading-logo img {
    width: 120px;
    height: auto;
    filter: brightness(0);
}

@keyframes slideUpYellow {
    0% { transform: translateY(0); }
    25% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

@keyframes showGlass {
    0% { opacity: 1; }
    25% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeOutLogo {
    0% { opacity: 1; }
    75% { opacity: 1; }
    100% { opacity: 0; }
}

body.loading #loading-screen {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#loading-screen.loaded {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

body.loading .navbar,
body.loading .hero-section,
body.loading #stay-updated,
body.loading #three-columns,
body.loading #film-details,
body.loading footer {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none;
}

body.loaded .navbar,
body.loaded .hero-section,
body.loaded #stay-updated,
body.loaded #three-columns,
body.loaded #film-details,
body.loaded footer {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.5s ease-in-out;
}

.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 25000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out;
}

.black-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

#navigation-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.8s ease-in-out;
}

#navigation-glass.fade-in {
    opacity: 1;
    visibility: visible;
}

#navigation-glass.fade-out {
    opacity: 0;
    visibility: hidden;
}

.welcome-message {
    position: absolute;
    top: 50px;
    left: 50px;
    line-height: 1;
    font-size: 7.0rem;
    font-weight: bold;
    z-index: 6;
}

.showtimes-section {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
}

.showtime-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.showtime-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.showtime-item h3 {
    color: var(--yellow);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.showtime-item h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.showtime-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.showtime-item a {
    color: var(--yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

.showtime-item a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .navbar .container-fluid {
        padding-right: 5%;
    }

    .hero-titles-container {
        bottom: 25px !important;
        left: 15px !important;
    }

    .hero-content .col-12 {
        margin-bottom: 25px !important;
        margin-left: 15px !important;
    }

    .hero-titles-track {
        gap: 60px;
    }

    .title-text,
    .film-title {
        font-size: 2.5rem !important;
    }

    .column-section {
        min-height: 40vh;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .column-section:last-child {
        border-bottom: none;
    }

    .column-letter {
        font-size: 6rem;
    }

    .column-title {
        font-size: 2rem;
    }

    .welcome-message {
        font-size: 4rem;
        top: 100px;
        left: 30px;
    }
}

@media (max-width: 768px) {
    .navbar .container-fluid {
        padding-right: 4%;
    }

    .hero-titles-container {
        bottom: 20px !important;
        left: 10px !important;
    }

    .hero-content .col-12 {
        margin-bottom: 20px !important;
        margin-left: 10px !important;
    }

    .hero-titles-track {
        gap: 40px;
    }

    .title-text,
    .film-title {
        font-size: 2rem !important;
    }

    .column-section {
        min-height: 30vh;
    }

    .social-links {
        margin-top: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .social-link {
        padding: 8px 16px;
        font-size: 1rem;
    }

    .trailer-play-button {
        width: 60px;
        height: 60px;
    }

    .welcome-message {
        font-size: 4rem;
        top: 80px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .navbar .container-fluid {
        padding-right: 3%;
    }

    .hero-titles-container {
        bottom: 15px !important;
        left: 8px !important;
    }

    .hero-content .col-12 {
        margin-bottom: 15px !important;
        margin-left: 8px !important;
    }

    .hero-titles-track {
        gap: 30px;
    }

    .title-text,
    .film-title {
        font-size: 1.5rem !important;
    }

    .column-letter {
        font-size: 4rem;
    }

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

    .trailer-play-button {
        width: 50px;
        height: 50px;
    }

    .welcome-message {
        font-size: 3rem;
        top: 70px;
        left: 15px;
    }
}