* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f1e9;
    color: #171717;
    font-family: "DM Sans", sans-serif;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 80px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #d8d2c7;

    background: #f5f1e9;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    text-decoration: none;
    color: #171717;
    font-size: 14px;
    font-weight: 600;
}

.navbar nav a:hover {
    color: #b72b2b;
}

.nav-request {
    background: #171717;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 4px;

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 600px;

    padding: 100px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #d8d2c7;

    overflow: hidden;
}

.small-title,
.section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;

    color: #b72b2b;

    margin-bottom: 18px;
}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 105px);

    line-height: .88;

    letter-spacing: -5px;

    max-width: 900px;
}

.hero h1 span {
    color: #b72b2b;
}

.hero-description {
    max-width: 450px;

    margin-top: 30px;

    color: #625f59;

    line-height: 1.7;

    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 30px;
}

.btn {
    text-decoration: none;

    padding: 13px 21px;

    font-size: 13px;
    font-weight: 700;

    border-radius: 3px;
}

.primary {
    background: #171717;
    color: white;
}

.secondary {
    border: 1px solid #171717;
    color: #171717;
}

.hero-decoration {
    width: 300px;
    height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.film-circle {
    width: 260px;
    height: 260px;

    border: 1px solid #b72b2b;
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #b72b2b;

    font-family: "Playfair Display", serif;
    font-size: 27px;

    transform: rotate(-12deg);
}


/* =========================
   MOVIES
========================= */

.movie-section {
    padding: 100px 7%;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 35px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: 48px;

    letter-spacing: -2px;
}

.movie-count {
    color: #77736c;
    font-size: 13px;
}


/* SEARCH */

.search-box {
    height: 55px;

    border: 1px solid #cfc8bb;
    background: #eee9df;

    display: flex;
    align-items: center;

    padding: 0 18px;

    margin-bottom: 20px;
}

.search-box span {
    font-size: 27px;

    margin-right: 10px;

    color: #77736c;
}

.search-box input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    font-family: inherit;
    font-size: 14px;
}


/* FILTER */

.filters {
    display: flex;
    gap: 8px;

    margin-bottom: 40px;

    flex-wrap: wrap;
}

.filter {
    border: 1px solid #cfc8bb;
    background: transparent;

    padding: 8px 16px;

    cursor: pointer;

    font-family: inherit;
    font-size: 12px;

    border-radius: 20px;
}

.filter.active,
.filter:hover {
    background: #171717;
    color: white;
    border-color: #171717;
}


/* MOVIE GRID */

.movie-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.movie-card {
    cursor: pointer;
}

.poster {
    width: 100%;
    aspect-ratio: 2 / 3;

    background: #ddd6ca;

    overflow: hidden;

    position: relative;
}

.poster img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.movie-card:hover .poster img {
    transform: scale(1.04);
}

.movie-status {
    position: absolute;

    top: 12px;
    left: 12px;

    background: white;
    color: #171717;

    padding: 6px 9px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.movie-info {
    padding-top: 14px;
}

.movie-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 20px;

    line-height: 1.1;

    margin-bottom: 7px;
}

.movie-meta {
    color: #77736c;

    font-size: 11px;

    display: flex;
    gap: 8px;
}

.no-results {
    grid-column: 1 / -1;

    text-align: center;

    padding: 80px 20px;

    color: #77736c;
}


/* =========================
   REQUEST
========================= */

.request-section {
    padding: 100px 7%;

    background: #171717;
    color: white;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.request-section .section-label {
    color: #d44a4a;
}

.request-section h2 {
    font-family: "Playfair Display", serif;

    font-size: 65px;

    line-height: .95;

    letter-spacing: -3px;
}

.request-section h2 span {
    color: #d44a4a;
}

.request-content > p:last-child {
    margin-top: 25px;

    max-width: 420px;

    color: #aaa8a3;

    line-height: 1.7;
}


/* FORM */

.request-form {
    display: flex;
    flex-direction: column;
}

.request-form label {
    font-size: 11px;

    margin-bottom: 7px;

    color: #aaa8a3;
}

.request-form input {
    background: transparent;

    border: none;
    border-bottom: 1px solid #555;

    color: white;

    padding: 12px 0;

    margin-bottom: 25px;

    outline: none;

    font-family: inherit;
}

.request-form input:focus {
    border-color: #d44a4a;
}

.submit-btn {
    margin-top: 10px;

    background: #d44a4a;
    color: white;

    border: none;

    padding: 15px;

    cursor: pointer;

    font-family: inherit;
    font-weight: 700;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 50px 7%;

    background: #111;

    color: #777;

    border-top: 1px solid #292929;
}

.footer-logo {
    color: white;

    font-size: 20px;
    font-weight: 800;
}

footer p {
    margin: 10px 0 30px;

    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 80px 5%;
    }

    .hero-decoration {
        display: none;
    }

    .movie-section {
        padding: 80px 5%;
    }

    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .request-section {
        padding: 80px 5%;
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


@media (max-width: 600px) {

    .navbar {
        height: 65px;
    }

    .nav-request {
        padding: 9px 12px;
        font-size: 11px;
    }

    .hero {
        min-height: 520px;

        padding: 70px 5%;
    }

    .hero h1 {
        font-size: 55px;

        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;

        max-width: 220px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .movie-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

    .movie-info h3 {
        font-size: 17px;
    }

    .request-section h2 {
        font-size: 48px;
    }
}

.order-btn {
    width: 100%;
    margin-top: 14px;
    padding: 11px 14px;

    background: #171717;
    color: white;

    border: none;
    border-radius: 3px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: .5px;

    cursor: pointer;
    transition: .2s ease;
}

.order-btn:hover {
    background: #b72b2b;
}
