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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
}

header {
    background-color: #000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.4);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    color: #ff0000;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff0000;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
}

.hero {
    background: linear-gradient(135deg, #000 0%, #ff0000 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff0000;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button,
.card-button,
#contactForm button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover,
.card-button:hover,
#contactForm button:hover {
    background-color: #b30000;
    transform: translateY(-3px);
}

.about,
.services,
.menu,
.rooms,
.contact {
    padding: 5rem 10%;
    text-align: center;
}

.about,
.contact,
.rooms {
    background-color: #111;
}

.services,
.menu {
    background-color: #000;
}

.about h2,
.services h2,
.menu h2,
.rooms h2,
.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff0000;
}

#menuCategory {
    appearance: none;
    -webkit-appearance: none;
    width: min(100%, 320px);
    margin: 0 auto 2.5rem;
    padding: 1rem 3.5rem 1rem 1.25rem;
    display: block;
    color: #fff;
    background-color: #111;
    background-image:
        linear-gradient(45deg, transparent 50%, #ff0000 50%),
        linear-gradient(135deg, #ff0000 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 1.15rem,
        calc(100% - 16px) 1.15rem;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    border: 2px solid #ff0000;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
        transform 0.3s ease;
}

#menuCategory:hover {
    background-color: #1f1f1f;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

#menuCategory:focus {
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.25);
}

#menuCategory option {
    color: #fff;
    background-color: #111;
}

.service-cards,
.menu-cards,
.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card,
.menu-item,
.room-item {
    background: #111;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover,
.menu-item:hover,
.room-item:hover {
    transform: translateY(-8px);
}

.card h3,
.menu-item h3,
.room-item h3 {
    color: #ff0000;
    margin-bottom: 1rem;
}

.card-button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
}

.menu-item span,
.room-item span {
    display: block;
    margin-top: 1rem;
    color: #ff0000;
    font-size: 1.2rem;
    font-weight: bold;
}

.quantity-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.quantity-control label {
    color: #ccc;
    font-size: 0.9rem;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input {
    width: 65px;
    padding: 0.7rem 0.3rem;
    color: #fff;
    background: #000;
    border: 1px solid #ff0000;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.quantity-input:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.quantity-button {
    width: 38px;
    height: 38px;
    padding: 0;
    color: #fff;
    background: #ff0000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.quantity-button:hover {
    background-color: #b30000;
    transform: scale(1.1);
}

.quantity-total {
    margin: 0.5rem 0 0;
    color: #ff0000;
    font-size: 1.1rem;
    font-weight: bold;
}

#contactForm {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contactForm input,
#contactForm textarea {
    padding: 1rem;
    border: 1px solid #ff0000;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #000;
    color: #fff;
}

#contactForm textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 2rem;
    border-top: 2px solid #ff0000;
}

.services,
.menu,
.rooms {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services.visible,
.menu.visible,
.rooms.visible {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(100%, 420px);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    background: #111;
    border: 2px solid #ff0000;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

.modal-content h2 {
    color: #ff0000;
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 0.5rem;
}

.close-modal {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    color: #fff;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.close-modal:hover {
    color: #ff0000;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 8vh;
        height: 92vh;
        width: 60%;
        background-color: #111;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    #menuCategory {
        width: 100%;
    }
}