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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    background-color: #f5f5f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
}

header h1 a {
    color: inherit;
    text-decoration: none;
}

/* Main content */
main {
    flex: 1;
    margin-top: 80px;
    padding: 40px 0;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: #222222;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
}

footer a:hover {
    text-decoration: underline;
}

/* ===================== */
/* INDEX PAGE STYLES */
/* ===================== */
.home-boxes {
    display: flex;
    min-height: calc(100vh - 300px);
}

.home-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.home-box a {
    color: #222222;
    text-decoration: none;
    font-size: 3rem;
    letter-spacing: 4px;
    font-weight: 300;
}

.home-box a:hover {
    opacity: 0.7;
}

.home-box.left {
    border-right: 2px solid #000000;
}

.home-box.right {
    border-left: 2px solid #000000;
}

/* ===================== */
/* FOTO PAGE STYLES */
/* ===================== */
.foto-content {
    padding: 0 20px;
}

.foto-content h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.foto-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================== */
/* FILM PAGE STYLES */
/* ===================== */
.film-section {
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid #eeeeee;
}

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

.film-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.film-synopsis {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 1.8;
    color: #444444;
}

.film-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.film-images img {
    width: 100%;
    height: auto;
    display: block;
}

.film-credits {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.film-credits span {
    color: #666666;
}

.film-runtime {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666666;
}

.film-cast {
    font-size: 0.95rem;
}

.film-cast span {
    color: #666666;
}

/* ===================== */
/* RESPONSIVE STYLES */
/* ===================== */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
    }

    main {
        margin-top: 70px;
    }

    /* Index page mobile - keep side by side */
    .home-box {
        padding: 60px 10px;
    }

    .home-box a {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    /* Foto page mobile */
    .foto-grid {
        grid-template-columns: 1fr;
    }

    /* Film page mobile */
    .film-images {
        grid-template-columns: 1fr;
    }

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