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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f6f0;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

h2 {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: #2c2c2c;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2c2c2c;
}

/* Section Separators */
.section-separator {
    width: 60px;
    height: 2px;
    background-color: #c9a96e;
    margin: 0 auto 40px;
}

.title-separator {
    width: 80px;
    height: 2px;
    background-color: #c9a96e;
    margin: 20px auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.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.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.film-label {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #c9a96e;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.film-title {
    font-size: 5.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.director {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c9a96e;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Synopsis Section */
.synopsis {
    padding: 100px 0;
    background-color: #2c2c2c;
    color: white;
}

.synopsis h2 {
    color: white;
}

.synopsis-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
}

/* Core Themes Section */
.themes {
    padding: 100px 0;
    background-color: #f8f6f0;
}

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

.theme-item {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.theme-item:hover {
    transform: translateY(-5px);
}

.theme-item h3 {
    color: #2c2c2c;
    line-height: 1.4;
    margin-bottom: 15px;
}

.theme-description {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: #2c2c2c;
    color: white;
}

.partners h2 {
    color: white;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 140px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(1.3) contrast(1.2);
    transition: all 0.3s ease;
    opacity: 0.95;
}

.logo-img[alt="Kodak"] {
    filter: brightness(1.3) contrast(1.2) invert(1);
    background: transparent;
    mix-blend-mode: screen;
}

.logo-img[alt="Panavision"] {
    filter: brightness(1.3) contrast(1.2) invert(1);
    background: transparent;
    mix-blend-mode: screen;
}

.logo-img[alt="AFI"] {
    filter: brightness(1.3) contrast(1.2) invert(1);
    background: transparent;
    mix-blend-mode: screen;
}

.logo-img:hover {
    filter: brightness(1.5) contrast(1.3);
    opacity: 1;
    transform: scale(1.08);
}

.logo-img[alt="Kodak"]:hover {
    filter: brightness(1.5) contrast(1.3) invert(1);
}

.logo-img[alt="Panavision"]:hover {
    filter: brightness(1.5) contrast(1.3) invert(1);
}

.logo-img[alt="AFI"]:hover {
    filter: brightness(1.5) contrast(1.3) invert(1);
}

/* Donate Section */
.donate {
    padding: 100px 0;
    background-color: #f8f6f0;
}

.donate-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.donate-image {
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
    margin-bottom: 30px;
}

.donate-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.tax-info {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #2c2c2c;
    color: white;
}

.contact h2 {
    color: white;
}

.contact-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-info {
    text-align: center;
    flex: 0 0 auto;
}

.contact-image {
    text-align: center;
    flex: 0 0 auto;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #c9a96e;
}

.address {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.email {
    font-size: 1.1rem;
    color: #ccc;
}

.contact-image {
    text-align: center;
}

.contact-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #c9a96e;
}

.join-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #c9a96e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: 80vh;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .film-title {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .short-film {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .tagline {
        font-size: 1.3rem;
        line-height: 1.4;
        margin: 25px 0;
    }
    
    .director {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    
    .section {
        padding: 60px 25px;
    }
    
    h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .synopsis p {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .themes {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .theme h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .theme p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .partners-logos {
        gap: 40px;
    }
    
    .logo-img {
        height: 100px;
        max-width: 200px;
    }
    
    .donate-image {
        max-width: 250px;
        margin-bottom: 25px;
    }
    
    .company-name {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .contact-details {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-photo {
        width: 180px;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .join-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
        min-height: 75vh;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .film-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .short-film {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: 1.1rem;
        line-height: 1.4;
        margin: 20px 0;
    }
    
    .director {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .synopsis p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .theme h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .theme p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-photo {
        width: 150px;
        height: 150px;
    }
    
    .partners-logos {
        gap: 30px;
        flex-direction: column;
    }
    
    .logo-img {
        height: 90px;
        max-width: 180px;
    }
    
    .donate-image {
        max-width: 220px;
        margin-bottom: 20px;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .contact-details {
        font-size: 0.95rem;
    }
    
    .join-text {
        font-size: 1.1rem;
    }
}

/* Optimisation tactile pour mobile */
@media (hover: none) and (pointer: coarse) {
    .donate-image {
        max-width: 250px;
        transition: transform 0.2s ease;
    }
    
    .donate-image:active {
        transform: scale(0.95);
    }
    
    .logo-img {
        transition: transform 0.2s ease;
    }
    
    .logo-img:active {
        transform: scale(0.95);
    }
}

