.hero {
    width: 100%;
    padding: 10rem 12.5%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
    position: relative;
    margin-top: -3rem;
}

.hero-main-image {
    /* width: 1440px; */
    height: 700px;
    width: 100%;

    background: linear-gradient(0deg, rgba(0, 0, 0, .3) 1%, rgba(0, 0, 0, 0) 100%), url(../img/contact/header.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    margin-top: -1.7rem;
    position: relative;
    z-index: 99;
}

.hero-pattern-image {
    /* width: 1440px; */
    height: 700px;
    width: 100%;

    background: url(../img/contact/5503780.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    position: absolute;
    z-index: 9;
    left: -70px;
    top: -70px;
}

.hero-content h1 {
    text-transform: capitalize;
    letter-spacing: 0.2em;
    font-size: clamp(3.5rem, 2.429rem + 2.857vw, 5rem);
    color: white;

    position: absolute;
    z-index: 999;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 0.629rem + 1.524vw, 2rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: white;

    position: absolute;
    margin-top: 15rem;
    z-index: 999;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: .2s;
}


/* ----------------- CONTACT ----------------- */
.contact {
    background-color: var(--background-primary);
}

.contact-container {
    padding: 10rem 12.5% 0 12.5%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    min-height: 80vh;
}

.contact-left {
    flex: 1 0 112px;

    background-color: #1a1a1a;
}

.contact-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;

    padding: 3.5rem;
    gap: 1rem;

    height: 100%;

    color: white;
}

.contact-us h2 {
    text-transform: capitalize;
    color: white;
    letter-spacing: .2em;
    width: 100%;
    text-align: center;
}

.contact-us-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.contact-us-divider-bar {
    width: 100%;
    height: 1px;
    background-color: #666;
    margin: 1rem 0;
}

.contact-us-content .social-logo a {
    color: white;
    margin-top: 1.5rem;
}

.contact-available {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.contact-right {
    flex: 5 
}

.contact-reservation {
    padding: 3.5rem;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-reservation h2 {
    text-transform: capitalize;
    color: #333;
    letter-spacing: .2em;
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-right-image {
    width: 30%;
    min-width: 230px;
    aspect-ratio: 3 / 1;
    background: url(../img/contact/oriental-divisor.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    margin-top: -3.5rem;
    align-self: center;

}

.reservation-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;

    height: 100%;
}

.reservation-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.option-group {
    flex: 1;
}

/* -------------- CALENDARY ----------------- */
.calendar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: clamp(1.1rem, 0.993rem + 0.286vw, 1.25rem);
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
}

.current-month {
    font-size: clamp(0.8rem, 0.746rem + 0.143vw, 0.875rem);
    font-weight: 500;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: clamp(0.7rem, 0.664rem + 0.095vw, 0.75rem);
    color: #666;
    margin-bottom: 10px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 0.746rem + 0.143vw, 0.875rem);
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
}

.day:hover:not(.disabled) {
    background-color: #f5f5f5;
}

.day.selected {
    background-color: #333;
    color: #fff;
}

.day.selected:hover {
    background-color: #333;
}

.day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* ------------------------ HORARY ---------------------- */
.time-select h3 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.time-slots {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;

    background-color: white;
}

.meal-period h4 {
    font-size: clamp(0.7rem, 0.664rem + 0.095vw, 0.75rem);
    color: #666;
    margin-bottom: 10px;
}

.time-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-btn {
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: clamp(0.8rem, 0.746rem + 0.143vw, 0.875rem);
    cursor: pointer;
}

.time-btn:hover {
    background-color: #f5f5f5;
}

.time-btn.selected {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* ----------------- GUESTS -------------------- */
.guests-select h3 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.guest-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;

    background-color: white;
}

.guest-btn {
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: clamp(0.8rem, 0.746rem + 0.143vw, 0.875rem);
    cursor: pointer;
}

.guest-btn:hover {
    background-color: #f5f5f5;
}

.guest-btn.selected {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* ------------------- CONTACT INPUTS ----------------- */
.contact-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.contact-inputs input[type="text"],
.contact-inputs input[type="email"],
.contact-inputs input[type="tel"] {
    padding: .75rem;
    border: 1px solid #e0e0e0;
    font-size: clamp(0.75rem, 0.714rem + 0.095vw, 0.8rem);
    color: white;
    outline: none;
    width: 50%;
    background-color: #333;
}

.contact-inputs input[type="text"]::placeholder,
.contact-inputs input[type="email"]::placeholder,
.contact-inputs input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-inputs button[type="submit"] {
    width: 50%;
}

/* ------------------- CONTACT MAP ----------------- */

.contact-map {
    width: 100%;
    height: 20vh;
}




/* ------------------- MEDIA QUERIES ----------------- */

@media (max-width: 1504px) {
    .contact-container {
        flex-direction: column-reverse;
    }

    .reservation-options {
        flex-direction: column;
    }

    .option-group {
        min-width: 18.75rem;
    }

}

@media screen and (max-width: 1154px) {

    .hero {
        padding: 6rem 6.25%;
    }

    .hero-pattern-image {
        display: none;
    }

    .contact-container {
        padding: 6rem 6.25% 0 6.25%;
    }
}

@media screen and (max-width: 702px) {
    .contact-inputs input[type="text"],
    .contact-inputs input[type="email"],
    .contact-inputs input[type="tel"] {
        width: 100%;
    }
}