@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

/* CSS Custom Properties */
:root {
    --primary-color: #333;
    --text-color: #555;
    --text-color-lighter: #777;
    --bg-color: #ffffff;
    --accent-color: #a3cf60;
    --secondary-bg-color: #e3e2db;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bricolage Grotesque', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 1em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

/* Arrow Navigation Styles */
/* Scroll to Films Arrow */
.scroll-to-films {
    position: absolute;
    top: 15px;
    left: 20px;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}

.scroll-to-films:hover {
    transform: translateY(3px);
}

.arrow-down,.arrow-up, .back-link {
    font-family: "Helvetica Neue", "SF Pro Display", "Segoe UI", "Arial Unicode MS", Arial, sans-serif;
    color: rgba(255, 255, 255, 0.595);
    font-size: 3.5em;
    line-height: 1;
    user-select: none;
    font-weight: 100;
}

/* Back to Top Arrow */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-3px);
    color: var(--accent-color);
}



.arrow-up:hover,
.arrow-down:hover {
    color: var(--accent-color);
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
    display:none;
}

.language-switcher a {
    color: white;
    background-color: var(--accent-color);
    text-decoration: none;
    font-weight: 300;
    padding: 6px 10px;
    transition: var(--transition);
    font-size: 1em;
}

.language-switcher a:hover {
    background: rgba(0, 0, 0, 0.6);
}

.language-switcher a.active {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary-color);
}

/* Section Base */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--primary-color);
     /*min-height: 100vh;*/
     display: flex;
     flex-direction: column;
}

.hero-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
}

.hero-content {
    background: var(--bg-color);
    padding: 40px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.text-column p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.08em;
    text-align: justify;
}

/* Hero Title */
.hero-title {
    position: absolute;
    top: 65vh;
    left: 20%;
    color: var(--accent-color);
    font-size: 5.5em;
    font-weight: 300;
    z-index: 50;
    margin: 0;
}

/* Section Titles - Shared Styles */
.section-title {
    font-size: 2.5em;
    font-weight: 200;
    margin-bottom: 1em;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 3.2em;
    height: 7px;
    background: var(--accent-color);
    margin: 0 auto 0;
}

/* Films Section */
.films-section {
    background: var(--secondary-bg-color);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.films-title {
    color: var(--primary-color);
}


.films-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 60px;
    column-gap: 120px;
    width: 60%;
}

.film-item {
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
   /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

/* Center the last film item on large screens */
.film-item:last-child {
    grid-column-start: 2;
}

.film-item:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
    
}

.film-item img {
    width: 100%;
    aspect-ratio: 309/450;
    object-fit: cover;
}

.film-title {
    padding: 0.5em 0 0.3em 0;
    font-weight: 300;
    font-size: 1.5em;
    color: var(--primary-color);
    text-align: center;
    /*letter-spacing: 1px;*/
    position: relative;
    line-height: 109%;
}
.film-item:hover .film-title {
    color: var(--accent-color);
}

.film-title::after {
    content: '';
    display: block;
    width: 2.5em;
    height: 7px;
    background: white;
    margin: 0.5em auto 0;
}



/* News Section */
.news-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.news-title {
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 60px;
    column-gap: 120px;
    width: 60%;
}

.news-item {
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-image {
    width: 100%;
    aspect-ratio: 309/450;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.news-image:hover {
    opacity: 0.8;
    transform: scale(1.05);
}
  .news-section p {
            text-align: center;
            margin:0 0 1em;
        }

/* Footer Section */
.footer-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px 80px;
    text-align: center;
    min-height:30vh;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    color: white;
}

.contact-info {
    line-height: 1.8;
    font-size: 1em;
    margin-bottom: 40px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 120px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    text-align: center;
}

/* Film Detail Styles */
.film-detail-hero {
    position: relative;
    background: var(--bg-color);
    /*min-height: 100vh;*/
    display: flex;
    flex-direction: column;
}

.film-main-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
}

.film-detail-info {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 60%;
    margin: 0 auto;
}

.film-info-left {
    flex: 1;
}

.film-detail-title {
    font-size: 4em;
    font-weight: 300;
    color: var(--accent-color);
    line-height:105%;
    margin: 0 0 0.5em 0;
    letter-spacing: 0.1em;
}
.long {
    letter-spacing: 0.04em;
}
.film-year {
    font-size: 3em;
    font-weight: 300;
    color: var(--text-color);
    margin: -0.5em 0 0 0;
}

.film-thumbnails {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.thumbnail {
    width: 130px;
    height: 170px;
    object-fit: cover;
    object-position: center;
    border: 1px solid black;
}

/* Thumbnail Position Variants - kept for potential future use */
.thumbnail.pos-left {
    object-position: left center;
}

.thumbnail.pos-right {
    object-position: right center;
}

.thumbnail.pos-top {
    object-position: center top;
}

.thumbnail.pos-bottom {
    object-position: center bottom;
}

.thumbnail.pos-top-left {
    object-position: left top;
}

.thumbnail.pos-top-right {
    object-position: right top;
}

.thumbnail.pos-bottom-left {
    object-position: left bottom;
}

.thumbnail.pos-bottom-right {
    object-position: right bottom;
}

.back-to-home {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.back-link {
    display: inline-block;
    font-size: 3em;
    font-weight: 600;
    padding: 3px 12px 4px;
    color: var(--accent-color);
    text-decoration: none;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    transform: translateX(0) rotate(-90deg);
}

.back-link:hover {
    /*background: rgba(0, 0, 0, 0.7);*/
    color: white;
    transform: translateX(-5px) rotate(-90deg);
}

/* Film Information Section */
.film-info-section {
    background: var(--bg-color);
    padding: 1.6em 0;
    display: flex;
    justify-content: center;
}

.film-info-container {
    display: flex;
    align-items: flex-start;
    width: 60%;
    margin: 0 auto;
}

.film-info-column:first-child {
    flex: 0 0 auto;
    margin-right: 3em;
}

.film-info-column:last-child {
    flex: 1;
    margin-left: 3em;
}

.film-info-column p {
    margin-bottom: 12px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color-lighter);
}
.film-info-column p .title {
    font-size: 1.2em;
    color: var(--text-color);
}

.film-info-column p:last-child {
    margin-bottom: 0;
}

.film-info-column strong {
    color: var(--primary-color);
    font-weight: 500;
}

.film-info-divider {
    width: 2px;
    background: var(--accent-color);
    align-self: stretch;
}

/* Film Description Section */
.film-description-section {
    background: var(--bg-color);
    padding: 1em 0;
    display: flex;
    justify-content: center;
}

.film-description-container {
    width: 60%;
    margin: 0 auto;
}

.film-description-container p {
    font-size: 1.25em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: justify;
}

.film-description-container p:last-child {
    margin-bottom: 0;
}

.film-description-container em {
    font-style: italic;
    color: var(--primary-color);
}

.trailer-link {
    margin-top: 30px !important;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.trailer-link a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.trailer-link a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Awards Section */
.awards-section {
    background: var(--secondary-bg-color);
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.awards-container {
    width: 60%;
    margin: 0 auto;
}

.awards-container p {
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 8px;
}

.awards-container p:last-child {
    margin-bottom: 0;
}

.support-image {
    display:block;
    width: 100%;
    height: auto;
    margin-top: 5px;
    max-width:450px;
    min-width:150px;
}

.flyer {
    display:block;
    width: 150px;
    height: auto;
    margin: 5px auto;
    cursor: pointer;
    transition: var(--transition);
}

.flyer:hover {
    opacity: 0.8;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    animation: scaleIn 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    user-select: none;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive Design */

@media (max-width: 1400px) {

.films-grid {
    row-gap: 60px;
    column-gap: 80px;
}
.film-title {
     font-size: 1.2em;
}

.news-grid {
    row-gap: 60px;
    column-gap: 80px;
}

}

@media (max-width: 1200px) {
     .hero-title {
        font-size: 4.5em;
        top: 44vh;
    }
   .hero-image {
        height: 55vh;
    }
    

}


@media (max-width: 768px) {
    body {
        font-size:1.1em;
    }
    .hero-text {
        width: 80%;
    }
    
    .hero-title {
        font-size: 2.8em;
        top: 30vh;
        left: 10%;
    }
    
    .films-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Reset centering for small screens */
    .film-item:last-child {
        grid-column-start: auto;
    }
    .film-title {
     font-size: 1.7em;
}
    
    .section-title {
        font-size: 2.5em;
    }
    
    .language-switcher {
        top: 15px;
        right: 15px;
    }
    
    .hero-image {
        height: 40vh;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .logos-container {
        gap: 15px;
    }
    
    .logo-placeholder {
        width: 100px;
        height: 50px;
    }

    .back-link {
        font-size: 2em;
        transition: var(--transition);
    }
    .scroll-to-films {
    top: 10px;
}

.arrow-down, 
.arrow-up {
    font-size: 3em;
}
    /* Film Detail Responsive */
     .film-detail-hero{
        min-height: auto;
    }

    .film-detail-info {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        width: 80%;
    }
    
    .film-info-container {
        width: 80%;
    }
    
    .film-description-container {
        width: 80%;
    }
    
    .awards-container {
        width: 80%;
    }
    
    .film-detail-title {
        font-size: 2.5em;
    }
    
    .film-year {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .film-thumbnails {
        justify-content: center;
    }
    
    .thumbnail {
        width: 80px;
        height: 120px;
    }
    
    .back-to-home {
        top: 10px;
        left: 15px;
    }
    
    .film-main-image {
        height: 50vh;
    }
    
    /* Film Info Section Responsive */
    .film-info-section {
        padding: 1em 0;
    }
    
    .film-info-container {
        flex-direction: column;
        gap: 30px;
        align-items: start;
        text-align: left;
    }
    
    .film-info-divider {
        width: 80%;
        height: 2px;
        margin: 0;
        align-self: auto;
    }
    
    .film-info-column p {
        font-size: 0.875em;
    }
    .film-info-column:last-child {
        margin-left: 0;
    }
    /* Film Description Section Responsive */
    .film-description-section {
        padding: 1em 0;
    }
    
    .film-description-container p {
        font-size: 1em;
        text-align: left;
    }
    
    /* Awards Section Responsive */
    .awards-section {
        padding: 40px 0;
    }
    
    .awards-container p {
        font-size: 0.875em;
    }

    .contact-info {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2em;
    }
    
    .text-column p {
        font-size: 0.875em;
        text-align:left;
    }
    
    .contact-info {
        font-size: 0.75em;
    }
    
    .hero-title {
        font-size: 1.5em;
        top: 30vh;
    }
    .film-title {
     font-size: 1.4em;
}
    
    /* Film Detail Responsive */
    .film-detail-title {
        font-size: 1.8em;
    }
    
    .film-year {
        font-size: 1.2em;
    }
    
    .thumbnail {
        width: 80px;
        height: auto;
    }
    
   
    /* Film Info Section Responsive */
    .film-info-column p {
        font-size: 0.8125em;
    }
    
    /* Film Description Section Responsive */
    .film-description-container p {
        font-size: 0.875em;
    }
    
    /* Awards Section Responsive */
    .awards-container p {
        font-size: 0.8125em;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Reset centering for tablet screens */
    .film-item:last-child {
        grid-column-start: auto;
    }
    
    /* Film Detail Responsive */
    .film-detail-title {
        font-size: 3em;
    }
    
    .thumbnail {
        width: 100px;
        height: 150px;
    }
    
    /* Film Info Section Responsive */
    .film-info-section {
        padding: 50px 30px;
    }
    
    .film-info-container {
        gap: 0;
    }
    
    /* Film Description Section Responsive */
    .film-description-section {
        padding: 50px 0;
    }
    
    /* Awards Section Responsive */
    .awards-section {
        padding: 50px 0;
    }
}