@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Regular.ttf');
}

@media (min-width: 763px) {
    .laurels-row a img {
        transition: transform 0.2s ease;
    }

    .laurels-row a:hover img,
    .laurels-row a:focus img {
        transform: translateY(-3px);
    }
}

@font-face {
    font-family: 'Geist-Mono';
    src: url('fonts/GeistMono-Regular.ttf');
}

@font-face {
    font-family: 'Pixel-Digivolve';
    src: url('fonts/Pixel-Digivolve.otf');
}

/* Theme colors */
:root {
    --text: #8be4f7; /* primary text color */
    --muted: rgba(139,228,247,0.68); /* muted / secondary text */
    --featured: #fec3d0; /* featured accent */
}


body{
    background-color: #0A0A0A;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text);
    font-family: 'Geist', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-y: auto;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1440px;
    width: 100%;
    padding: 0;
    justify-content: space-between;
    align-items: flex-start;
    height: auto;
    min-height: 100vh;
    box-sizing: border-box;
}

@media (max-width: 762px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 2rem;
    }
    .main-footer {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .home-images {
        display: none;
    }
}

.main-container,
.about-section {
    margin-left: 0 !important;
    width: auto;
    box-sizing: border-box;
}

.main-container {
    flex: 1 1 0;
    min-width: 0;
}

.small-font {
    font-family: 'Geist-Mono';
    color: var(--muted);
    font-size: 14px; /* Scaled down by 1/8 from 16px */
    letter-spacing: -0.08em;
}

.pixel-font {
    font-family: 'Pixel-Digivolve', 'Geist-Mono', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--muted);
    font-size: 20px; /* Scaled down by 1/8 from 18px */
    letter-spacing: 0em;
}
.home-container {
    display: flex;
    flex-direction: column;
    gap: 42px; /* Scaled down by 1/8 from 24px */
    margin-top: 26px; /* Scaled down from 30px */
    transform: scale(0.875); /* Scaled down by 1/8 */
    transform-origin: top left;
}

/* Logo (site header) - responsive sizing */
.logo {
    width: 312px; /* increased 30% from 240px */
    max-width: 45.5%;
    height: auto;
    display: block;
    margin: 12px auto;
}

.content-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.home-container div{
    display: flex;
    flex-direction: row;
    font-size: 21px; /* Scaled down by 1/8 from 24px */
    font-family: 'Geist';
    color: var(--muted);
    gap: 24px;
    align-items: anchor-center;
    justify-content: space-between;
    width: 800; /* Scaled down by 1/8 from 871px */
}

.home-container div div {
    display: block;
    flex-direction:column;
    font-size: 24.5px; /* Scaled down by 1/8 from 28px */
    font-weight: normal;
    font-family: 'Geist';
    color: var(--text);
    width: auto;
    max-width: 760px;
    align-items: flex-end;
}

.text-body {
    font-size: 21px; /* Scaled down by 1/8 from 24px */
    font-weight: normal;
    font-family: 'Geist';
    color: var(--muted);
    letter-spacing: -0.08em;
}

.home-images {
    display: flex;
    flex: 0 0 351px;
    flex-direction: column;
    gap: 25px;
    width: 351px;
    height: 100vh;
    padding-top: 35px;
    box-sizing: border-box;
}


.home-images img {
    width: 351px;
    height: calc((100vh - 85px) / 3);
    object-fit: cover;
}


/* Responsive */
@media (max-width: 1024px) {
    .container {
        gap: 2rem;
        padding: 32px 16px;
    }

    .home-images img {
        width: 300px;
        height: 330px;
    }

    /* Slightly reduce logo size on mid-sized screens */
    .logo {
        width: 260px; /* increased 30% from 200px */
        max-width: 52%;
    }
}

@media (max-width: 762px) {
    .container,
    .main-container,
    .about-section {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .about-container,
    .about-content,
    .about-image,
    .about-text {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .screening-event {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
    .main-footer {
        position: relative !important;
        margin-top: 32px !important;
        width: 100% !important;
        z-index: 1;
        clear: both;
        background: transparent;
    }

    .main-container {
        margin-left: 0;
        padding: 16px;
    }

    .home-container div {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .content-row {
        flex-direction: column;
    }

    .home-container div div {
        width: 100%;
        max-width: 100%;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        height: auto;
    }

    .about-image {
        width: 100%;
        max-width: 340px;
        height: auto;
    }

    .about-content {
        width: 100%;
    }

    .about-text {
        width: 100%;
    }

    .screening-event {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 10px 0;
        margin-bottom: 10px;
        gap: 10px;
    }

    .event-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .event-time {
        font-size: 12px;
        margin-bottom: 4px;
        white-space: normal;
        word-wrap: break-word;
    }

    .ticket-link {
        font-size: 12px;
        padding: 8px 10px;
        gap: 8px;
        margin-top: 2px;
        width: fit-content;
    }

    .ticket-link svg {
        width: 16px;
        height: 16px;
    }

    .main-footer {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .home-images {
        display: none;
    }

    /* Laurels one per row on mobile */
    .laurels-row {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        grid-template-columns: none !important;
        gap: 12px !important;
        max-width: 100% !important;
    }

    .laurels-row img {
        width: 160px !important;
        max-width: 100%;
    }

    /* Mobile: make logo scale with viewport width */
    .logo {
        width: 67.6vw; /* increased 30% from 52vw */
        max-width: 364px; /* increased 30% from 280px */
    }
}

/* Navigation & footer scaffolding */
.main-footer {
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
    margin: 48px 0 0 0;
    padding-bottom: 80px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    background: transparent;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
    border-top: 1px solid var(--muted);
}

@media (min-width: 763px) {
    .main-footer {
        position: relative;
    }

    .main-footer .pager {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.pager {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pager .box {
    width: 13px;
    height: 14px;
    background-color: var(--featured);
}

.pager-image {
    width: 24px;
    height: auto;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 58px;
    justify-content: space-between;
}

@media (min-width: 763px) {
    .main-footer {
        align-items: flex-start;
        padding-top: 8px;
    }

    .main-footer .nav {
        height: auto;
        justify-content: flex-start;
        gap: 4px;
    }

    .main-footer .nav a {
        line-height: 1;
    }
}

.nav a {
    font-family: 'Geist';
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--muted);
}

.nav a:hover,
.nav a:focus {
    color: var(--text);
}

.nav a.active {
    color: var(--featured);
}

/* Accent styles */
h5 {
    color: var(--featured);
}

.home-container em {
    color: var(--featured);
    font-style: italic;
}

.socials {
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: flex-end;
    height: 114px;
    justify-content: center;
}

.socials p {
    font-family: 'Geist';
    color: var(--text);
    font-size: 12px;
    letter-spacing: -0.08em;
}

.socials div {
    display: flex;
    gap: 12px;
}

.socials img {
    width: 42px;
    height: 42px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.socials img:hover,
.socials img:focus {
    opacity: 1;
}

/* Inline SVG styles so icons inherit the theme color */
.socials a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.socials svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.socials a:hover svg,
.socials a:focus svg {
    opacity: 1;
}

/* Laurels row under Festivals and Awards on index */
.laurels-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
    width: min(100%, 900px);
    justify-items: center;
}

.laurels-row img {
    width: 145px;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 1025px) {
    .laurels-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        width: min(100%, 960px);
    }
    .laurels-row img {
        width: 120px;
    }
}

@media (max-width: 1024px) {
    .laurels-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: min(100%, 760px);
    }
    .laurels-row img {
        width: 140px;
    }
}

@media (max-width: 762px) {
    .laurels-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .laurels-row img {
        width: 200px;
        margin: 0 auto 10px;
    }
}

/* About Section Styles */
.about-section {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 35px;
    margin-left: 64px;
    width: 760px; 
    position: relative;
}

.about-container {
    display: flex;
    gap: 30px;
    height: auto;
    align-items: flex-start;
}

.about-image {
    width: 330px;
    height: 372px;
    overflow: visible;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-content {
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.about-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.section-label {
    font-family: 'Geist-Mono';
    color: #9F9F9F;
    font-size: 20px;
}

.underline {
    width: 62px;
    height: 1px;
    background-color: #D9D9D9;
}

.about-text {
    font-size: 16px;
    color: var(--muted);
    font-family: 'Geist';
    line-height: 1;
    width: 600px;
}

.about-text p {
    margin-bottom: 16px;
}

.highlight {
    color: var(--featured);
}

.about-text ul {
    list-style-type: disc;
    padding-left: 30px;
    color: #9F9F9F;
}

.about-text li {
    margin-bottom: 8px;
}

/* Screening event styles */
.screening-event {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(139,228,247,0.2);
    margin-bottom: 16px;
}

.about-text .event-time {
    margin: 0;
}

.about-text .ticket-link {
    margin-top: 2px;
}

.event-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--featured);
    margin: 0;
    font-family: 'Geist';
}

.event-time {
    font-size: 12px;
    font-family: 'Geist-Mono';
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.ticket-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--featured);
    color: var(--featured);
    text-decoration: none;
    font-size: 12px;
    font-family: 'Geist-Mono';
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.ticket-link:hover,
.ticket-link:focus {
    background: var(--featured);
    color: #0A0A0A;
}

.ticket-link-disabled {
    border-color: rgba(139, 228, 247, 0.35);
    color: rgba(139, 228, 247, 0.45);
    cursor: default;
    pointer-events: none;
}

.ticket-link-disabled:hover,
.ticket-link-disabled:focus {
    background: transparent;
    color: rgba(139, 228, 247, 0.45);
}

.ticket-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


/* Laurels / Festivals & Awards gallery */
.awards-section {
    margin-top: 20px;
}

.awards-section .section-label {
    margin-bottom: 6px;
}

.laurels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 18px;
    align-items: center;
    margin-top: 12px;
    width: 100%;
}

.laurels img {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
}

@media (max-width: 762px) {
    .laurels {
        grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
        gap: 12px;
    }
    .laurels img {
        max-width: 96px;
    }
}

/* About page styles now in separate file */

/* Typography base */
body, p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p, .text-body {
    line-height: 1.5;
}

/* Final mobile override: keep screenings readable and footer separate */
@media (max-width: 762px) {
    body {
        overflow-x: hidden;
    }

    .container {
        display: block !important;
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box;
    }

    .main-container#about {
        width: 100% !important;
        margin: 0 !important;
        padding: 16px 0 !important;
        height: auto !important;
    }

    #about.about-section {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        min-height: 0 !important;
        padding-top: 8px !important;
    }

    #about .about-container {
        display: flex;
        flex-direction: column;
        transform: none !important;
        height: auto !important;
        gap: 16px;
        align-items: stretch;
    }

    #about .about-image {
        width: min(70vw, 260px) !important;
        height: auto !important;
        margin: 0 auto;
    }

    #about .about-image img {
        height: auto;
    }

    #about .about-content,
    #about .about-text,
    #about .screening-event {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    #about .event-title {
        font-size: clamp(18px, 5.2vw, 22px);
        line-height: 1.2;
        word-break: break-word;
    }

    #about .event-time {
        font-size: 11px;
        line-height: 1.35;
    }

    #about .ticket-link {
        max-width: 100%;
        white-space: nowrap;
    }

    .main-footer {
        position: static !important;
        margin-top: 24px !important;
        padding-top: 16px;
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px;
    }

    .socials {
        align-items: flex-start;
        height: auto;
    }

    .main-container#home + .home-images {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        height: auto !important;
        padding-top: 8px;
        margin-top: 8px;
    }

    .main-container#home + .home-images img {
        width: 31%;
        max-width: 110px;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .main-container#about + .home-images {
        display: none !important;
    }

    .laurels-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-items: center;
        align-items: center;
        gap: 12px !important;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .laurels-row img {
        width: 130px !important;
        max-width: 100%;
        margin: 0;
    }
}
