/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.elementor {
    overflow-x: hidden;
    max-width: 100%;
}

/* Menu Burger Styles */
.burger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.burger-icon {
    width: 50px;
    height: 50px;
    background: #CA8700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.burger-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(202, 135, 0, 0.5);
    background: #E09900;
}

.burger-icon span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #000000;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 9999;
    padding-top: 90px;
}

.menu-overlay.active {
    right: 0;
}

.menu-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-overlay ul li {
    border-bottom: 1px solid #333333;
}

.menu-overlay ul li a {
    display: block;
    padding: 20px 30px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Archivo Black', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-overlay ul li a:hover {
    background: #CA8700;
    color: white;
    padding-left: 45px;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .menu-overlay {
        width: 280px;
    }
    
    .burger-menu {
        top: 15px;
        right: 15px;
    }
    
    .burger-icon {
        width: 45px;
        height: 45px;
    }
    
    .burger-icon span {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .burger-menu {
        top: 10px;
        right: 10px;
    }
    
    .burger-icon {
        width: 40px;
        height: 40px;
    }
    
    .burger-icon span {
        width: 22px;
        height: 2.5px;
    }
    
    .menu-overlay {
        width: 100%;
        right: -100%;
    }
    
    .menu-overlay ul li a {
        font-size: 16px;
        padding: 18px 25px;
    }
}

/* Section Films */
.films-section {
    padding: 60px 20px;
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .films-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .films-section {
        padding: 30px 10px;
    }
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

@media (max-width: 992px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .films-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 auto 30px;
    }
}

.film-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.film-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(202, 135, 0, 0.3);
}

@media (max-width: 768px) {
    .film-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .film-card {
        border-radius: 6px;
    }
    
    .film-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(202, 135, 0, 0.3);
    }
}

.film-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: #000;
    display: block;
    text-decoration: none;
}

.film-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.film-thumbnail:hover img {
    transform: scale(1.05);
}

.film-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(202, 135, 0, 0.9);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.film-thumbnail:hover::after {
    background-color: rgba(224, 153, 0, 1);
}

.film-thumbnail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #FFFFFF;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    z-index: 1;
}

.film-info {
    padding: 20px;
}

@media (max-width: 768px) {
    .film-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .film-info {
        padding: 12px;
    }
}

.film-info h3 {
    font-family: 'Archivo Black', sans-serif;
    color: #FFFFFF;
    font-size: 1.2em;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .film-info h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .film-info h3 {
        font-size: 1em;
    }
}

.film-info p {
    font-family: 'Abel', sans-serif;
    color: #CCCCCC;
    font-size: 0.9em;
    margin: 10px 0 0;
    text-align: center;
}

@media (max-width: 480px) {
    .film-info p {
        font-size: 0.85em;
        margin: 8px 0 0;
    }
}

.btn-voir-films {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 40px;
    background-color: #CA8700;
    color: #FFFFFF;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-voir-films:hover {
    background-color: #E09900;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .btn-voir-films {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .btn-voir-films {
        padding: 12px 25px;
        font-size: 0.95em;
        margin: 0 auto 20px;
    }
    
    .btn-voir-films:hover {
        transform: scale(1.02);
    }
}

/* Jury Toggle */
.jury-bio-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    margin-top: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(202, 135, 0, 0.3);
}

.jury-bio-toggle.moved {
    margin-top: 0;
    border-top: none;
    border-bottom: 1px solid rgba(202, 135, 0, 0.3);
}

.jury-bio-toggle:hover {
    opacity: 0.8;
}

.jury-bio-label {
    color: #CA8700;
    font-size: 0.9em;
    font-weight: bold;
    margin-right: 8px;
    font-family: 'Abel', sans-serif;
}

.jury-bio-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #CA8700;
    transition: transform 0.3s ease;
}

.jury-bio-arrow.open {
    transform: rotate(180deg);
}

.jury-bio-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.jury-bio-content.open {
    max-height: 800px;
    margin-top: 0;
}

.jury-bio-preview {
    margin-bottom: 0;
}

.jury-bio-preview .elementor-widget-container p {
    color: #FFAA00;
    text-align: justify;
    font-family: 'Abel', sans-serif;
    font-size: 20px;
}

.elementor-widget-image img {
    max-width: 100%;
    height: auto;
    width: auto;
}

.elementor-element-24a8225 {
    position: relative;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.elementor-element-24a8225::before,
.elementor-element-24a8225::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #000;
    z-index: 10;
}
.elementor-element-24a8225::before {
    top: 0;
}
.elementor-element-24a8225::after {
    bottom: 0;
}

.elementor-element-130cb67 > .elementor-container,
.elementor-element-1a766be > .elementor-container,
.elementor-element-de9a084 > .elementor-container {
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .jury-bio-label {
        font-size: 0.85em;
    }
}

/* Section Remise des Prix */
.remise-prix-section {
    padding: 80px 20px 0px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .remise-prix-section {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .remise-prix-section {
        padding: 40px 10px;
    }
}

.countdown-container {
    max-width: 1200px;
    margin: 0 auto;
}

.countdown-title {
    font-family: 'Archivo Black', sans-serif;
    color: #CA8700;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.countdown-subtitle {
    color: #FFFFFF;
    font-size: 1.3em;
    margin-bottom: 50px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .countdown-title {
        font-size: 2em;
    }
    
    .countdown-subtitle {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .countdown-title {
        font-size: 1.6em;
    }
    
    .countdown-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .countdown-grid {
        gap: 20px;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.countdown-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #CA8700;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(202, 135, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(202, 135, 0, 0.4);
}

@media (max-width: 768px) {
    .countdown-item {
        padding: 25px 15px;
    }
    
    .countdown-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .countdown-item {
        padding: 20px 10px;
        border-radius: 10px;
    }
    
    .countdown-item:hover {
        transform: none;
    }
}

.countdown-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4em;
    color: #CA8700;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(202, 135, 0, 0.5);
}

@media (max-width: 768px) {
    .countdown-number {
        font-size: 3em;
    }
}

@media (max-width: 480px) {
    .countdown-number {
        font-size: 2.5em;
    }
}

.countdown-label {
    font-family: 'Abel', sans-serif;
    font-size: 1.2em;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .countdown-label {
        font-size: 1em;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .countdown-label {
        font-size: 0.9em;
    }
}

.event-details {
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .event-details {
        margin-top: 40px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .event-details {
        margin-top: 30px;
        padding: 15px;
    }
}

.event-date {
    font-family: 'Archivo Black', sans-serif;
    color: #FFF;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.event-info {
    color: #FFFFFF;
    font-size: 1.1em;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .event-date {
        font-size: 1.5em;
    }
    
    .event-info {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .event-date {
        font-size: 1.3em;
    }
    
    .event-info {
        font-size: 0.95em;
    }
}

/* Hero Section - Logo responsive */
.hero-mobile-image {
    display: none;
}

@media (max-width: 768px) {
    .hero-mobile-image {
        display: block;
        width: 100%;
        background-color: #000000;
    }
    
    .hero-mobile-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .elementor-element-24a8225 {
        display: none !important;
    }
}
