@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* GENERAL */
:root {
    --primary-color: #42200b;
    --secondary-color: #ffc135;
    --tertiary-color: #df1c1c;
    --text-dark: #212529;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font-1: "Alfa Slab One", serif;
    --header-font-2: "Bebas Neue", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
}


/* HEADER */
.header {
    background-image: url("assets/header-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

nav {
    position: fixed;
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    z-index: 9;
}

.nav-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
}

.nav-logo img {
    max-width: 150px;
}

.nav-logo-dark {
    display: none;
}

.nav-menu-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0.35rem;
    background: transparent;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav-menu-btn:focus-visible,
.navlinks a:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.navlinks {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 2rem;
    list-style: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--primary-color);
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-100%);
}

.navlinks.open {
    transform: translateY(0);
}

.navlinks a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--white);
    transition: 0.3s;
}

.navlinks a:hover {
    color: var(--secondary-color);
}


/* BUTTONS */
.btn {
    padding: 1rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--tertiary-color);
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
}

img {
    display: flex;
    width: 100%;
}

/* LINKS */
a {
    text-decoration: none;
    transition: 0.3s;

}


/* SECTIONS */
.section-container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section-header {
    font-size: 3rem;
    font-weight: 500;
    font-family: var(--header-font-1);
    color: var(--primary-color);
    text-align: center;
    line-height: 3.75rem;
    text-shadow: 2px 2px var(--secondary-color);
}

.section-description {
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.75rem;
}

.header-container {
    display: grid;
    gap: 2rem;
    overflow: hidden;
}

.header-image {
    max-width: 600px;
    margin-inline: auto;
}

.header-content h2 {
    max-width: 400px;
    margin-inline: auto;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    font-size: 1.75rem;
    font-weight: 400;
    font-family: var(--header-font-2);
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
    text-align: center;
}

.header-content h1 {
    font-size: 4.5rem;
    font-weight: 500;
    font-family: var(--header-font-1);
    color: var(--primary-color);
    line-height: 3.5rem;
    text-align: center;
    text-shadow: 2px 2px var(--white);
}

.header-content h1 span {
    font-size: 3rem;
}


/* BANNER */
.banner-container {
    display: grid;
    gap: 1rem;
    grid-auto-rows: 200px;
}

.banner-card {
    padding: 1rem;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1rem;
}

.banner-card:nth-child(1) {
    background-image: url(assets/banner-1.png);
}

.banner-card:nth-child(2) {
    background-image: url(assets/banner-2.png);
}

.banner-card:nth-child(3) {
    background-image: url(assets/banner-3.png);
}

.banner-card p {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
}

.banner-card h4 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}


/* ORDER */
.order-container h3 {
    max-width: fit-content;
    margin-inline: auto;
    margin-bottom: 1rem;
    padding: 0.5rem 2rem;
    font-size: 0.5rem;
    font-weight: 400;
    font-family: var(--header-font-2);
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.order-container .section-header {
    margin-bottom: 1rem;
}

.order-container .section-description {
    margin-bottom: 2rem;
    text-align: center;
}

.order-grid {
    display: grid;
    gap: 2rem 1rem;
}

.order-card {
    padding: 2rem 1rem;
    border-radius: 1rem;
    text-align: center;
    transition: 0.3s;
}

.order-card:hover {
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.order-card img {
    max-width: 250px;
    margin-inline: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(10px 10px 30px rgba(0, 0, 0, 0.3));
}

.order-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.order-card p {
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.75rem;
}


/* EVENT */
.event-content {
    display: grid;
    gap: 2rem;
    padding: 1rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.event-details {
    text-align: center;
}

.event-details h3 {
    font-size: 2rem;
    font-weight: 500;
    font-family: var(--header-font-2);
    color: var(--text-dark);
}

.event-details .section-header {
    margin-bottom: 1rem;
}


/* FOOTER */
.footer {
    background-image: url("assets/footer-bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.footer-logo img {
    max-width: 250px;
}

.footer-content {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
}

.footer-content p {
    font-weight: 5500;
    color: var(--white);
    line-height: 1.75rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--white);
}

.footer-links li span {
    font-size: 1.25rem;
}

.footer-socials {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-socials a {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-socials a:hover {
    color: var(--secondary-color);
}

.footer-bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--white);
    text-align: center;
}

.footer-bar a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.footer-bar a:hover {
    color: var(--secondary-color);
}

@media (width <= 768px) {
    .section-container {
        padding: 3.5rem 1.25rem;
    }

    .section-header {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
        line-height: 1.15;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .header-container {
        min-height: 100svh;
        padding-top: 5.25rem;
        padding-bottom: 2.5rem;
        align-content: center;
        gap: 1rem;
    }

    .header-image {
        width: min(100%, 360px);
    }

    .header-content h2 {
        max-width: 330px;
        margin-bottom: 0.85rem;
        padding: 0.65rem 1rem;
        font-size: clamp(1.15rem, 5.5vw, 1.5rem);
        line-height: 1.15;
    }

    .header-content h1 {
        font-size: clamp(2.75rem, 14vw, 4rem);
        line-height: 0.92;
    }

    .header-content h1 span {
        font-size: 0.68em;
    }

    .banner-container {
        grid-auto-rows: 170px;
        gap: 0.75rem;
    }

    .banner-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .banner-card p {
        margin-bottom: 0.35rem;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .banner-card h4 {
        max-width: 90%;
        font-size: 1.45rem;
        line-height: 1.15;
    }

    .order-container h3 {
        padding-inline: 1rem;
        font-size: 0.75rem;
        text-align: center;
    }

    .order-container .section-description {
        margin-bottom: 1rem;
    }

    .order-grid {
        gap: 0.75rem;
    }

    .order-card {
        padding: 1.5rem 0.75rem;
    }

    .order-card img {
        max-width: 220px;
        margin-bottom: 1.25rem;
    }

    .order-card p {
        margin-bottom: 1.25rem;
        font-size: 0.925rem;
        line-height: 1.6;
    }

    .order-card .btn {
        min-height: 48px;
        width: min(100%, 220px);
    }

    .event-content {
        gap: 1.25rem;
        padding: 0.75rem;
    }

    .event-details h3 {
        font-size: 1.6rem;
    }

    .footer .section-container {
        padding-block: 3rem 2rem;
    }

    .footer-logo img {
        max-width: 210px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-content p,
    .footer-links li {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-links li {
        align-items: flex-start;
    }

    .footer-socials {
        gap: 0.5rem;
    }

    .footer-socials a {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
    }
}

@media (width <= 360px) {
    .section-container {
        padding-inline: 1rem;
    }

    .header-container {
        padding-top: 4.75rem;
    }

    .nav-logo img {
        max-width: 128px;
    }

    .banner-card h4 {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html,
    body {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
