@import url("https://fonts.googleapis.com/css2?family=Catamaran:wght@500;600;700&family=Libre+Baskerville:ital@0;1&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Catamaran", sans-serif;
    color: #111;
    background: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 64px;
    z-index: 20;
    background: #fff;
}

.navbar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar ul {
    list-style: none;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 2rem;
    gap: 2rem;
}

.navbar .carolina {
    margin-right: auto;
}

.navbar a {
    color: #111;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.navbar a:hover,
.navbar a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

.gallery {
    column-width: 30vw;
    column-gap: 10px;
    margin: 80px 1% 1%;
}

.gallery a {
    display: block;
    break-inside: avoid;
    color: inherit;
    text-decoration: none;
}

.gallery .image-container {
    position: relative;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.35s ease;
}

.gallery .image-container:hover img {
    opacity: 0.35;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    font-family: "Catamaran", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gallery .image-container:hover .overlay {
    opacity: 1;
}

.contact-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 8vw 88px;
}

.contact-info {
    max-width: 640px;
    width: 100%;
    margin: 10vh auto 0;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: left;
    overflow-wrap: anywhere;
}

.contact-info p + p {
    margin-top: 1.25rem;
}

.contact-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
    margin-top: 2.5rem;
    font-family: "Catamaran", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.contact-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    color: #111;
    text-decoration: none;
}

.contact-links a:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-links img {
    width: 28px;
    height: auto;
    display: block;
}

footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    margin-top: 0;
    padding-top: 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: #888;
}

.films-page {
    padding: 96px 4vw 64px;
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.film {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}


.film h2 {
    font-family: "Catamaran", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.film video {
    width: 100%;
    height: auto;
    display: block;
    background: #111;
}

@media screen and (max-width: 767px) {
    .navbar ul {
        padding: 0 0.85rem;
        gap: 0;
        justify-content: space-between;
    }

    .navbar .carolina {
        margin-right: 0;
    }

    .navbar a {
        font-size: 0.68rem;
        letter-spacing: 0.05em;
    }

    .gallery {
        column-count: 2;
        column-width: auto;
        margin-top: 80px;
    }

    .contact-page {
        padding: 96px 8vw 80px;
        justify-content: center;
    }

    .contact-info {
        margin-top: 4vh;
    }

    .contact-info {
        font-size: 0.95rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .films-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .gallery {
        column-count: 2;
        column-width: auto;
    }
}
