/* FONT */

@font-face {
    font-family: 'Behove';
    src: url('../font/Behove/Behove.otf') format('opentype');
}

/* ROOT */

:root {

    --brown: #8C5A3C;
    --dark: #2C1A08;
    --cream: #F5EBDD;
}

/* RESET */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: 'Baloo 2';
    src: url('../font/Baloo_2/Baloo2-VariableFont_wght.ttf'), format('truetype');
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .35), transparent 40%),
        linear-gradient(to bottom, #EFE4D2, #E8D8C2);
}

/* NAVBAR */
.navbar {
    font-family: 'Behove', sans-serif;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--brown);
    border-bottom: 3px solid var(--dark);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, .12);
}

.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    text-align: center;
}

.logo {
    color: #F9F8F6;
    text-decoration: none;
    font-size: 30px;
    font-family: 'Behove', sans-serif;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: #F9F8F6;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    transition: .25s ease;
}

.nav-links a:hover {
    opacity: .7;
}

/* MAIN */

.main-container {
    width: 100%;
    min-height: 100vh;
    padding: 70px 20px;
}

.queue-wrapper {
    max-width: 850px;
    margin: auto;
}

.page-title {
    font-family: 'Baloo 2', cursive;
    font-size: 52px;
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 45px;
}

/* QUEUE CARD */

.queue-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.queue-card {
    background: #FFF9F4;
    border-radius: 24px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    transition: .25s ease;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .06),
        inset 0 1px rgba(255, 255, 255, .5);
}

.queue-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(#8B5E3C, #C58B55);
    border-radius: 20px 0 0 20px;
}

.queue-card:hover {
    transform: translateY(-3px);
}

.queue-number {
    font-family: 'Baloo 2', cursive;
    font-size: 32px;
    color: var(--brown);
}

.queue-name {
    font-size: 20px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-title {
        font-size: 40px;
    }

    .queue-card {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        transition: .25s ease;
    }

    .queue-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
    }
}

.section-board {
    display: inline-block;
    padding: 14px 30px;
    background: #8C5A3C;
    color: #FFF8F1;
    border-radius: 18px;
    border: 3px solid #5E3418;
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    letter-spacing: 1px;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, .12),
        inset 0 2px 2px rgba(255, 255, 255, .08);
    position: relative;
}

.section-board {

    background:
        linear-gradient(180deg,
            #A36A45 0%,
            #8C5A3C 50%,
            #744629 100%);
}

.section-board::before,
.section-board::after {

    content: '';

    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #4B2A15;

    top: 50%;

    transform: translateY(-50%);
}

.section-board::before {
    left: 12px;
}

.section-board::after {
    right: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
}

.subtitle {
    opacity: .7;
    letter-spacing: .03em;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 768px) {

    /* NAVBAR */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 16px;
    }

    /* LOGO */
    .logo {
        width: 220px;
        height: 70px;
    }

    .logo-static,
    .logo-hover {
        width: 200px;
    }

    /* HERO */
    .hero {
        display: flex;
        flex-direction: column;

        gap: 30px;

        padding: 30px 20px 50px;

        min-height: auto;
    }

    /* BOX PUTIH */
    .hero-center {
        width: 100%;

        padding: 35px 25px;

        order: 1;

        border-radius: 20px;
    }

    .hero-center h1 {
        font-size: 48px;
        line-height: 0.95;
    }

    .hero-description {
        font-size: 15px;
    }

    /* BROWNIES KIRI */
    .hero-side:first-child {
        order: 2;
    }

    .hero-side:first-child .floating-img {
        width: 90%;

        transform: none;
    }

    /* BOX KANAN */
    .hero-side:last-child {
        order: 3;
        justify-content: center;
    }

    .hero-side:last-child .floating-img {
        width: 130%;

        max-width: 500px;

        transform: translateX(40px);
    }

    /* BUTTON */
    .btn-order {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 16px;
    }

    /* TICKER */
    .ticker-text span {
        font-size: 12px;
        padding: 0 25px;
    }

}