@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

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

.header {
    display: flex;
    background-color: burlywood;
    width: 100%;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header_img img {
    width: 100%;
    max-width: 70px; 
    height: auto;
    margin-left: 20px;
    border-radius: 10px;
}

.main_content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 30px;
    margin-left: 100px;
}

.container_img {
    display: flex;
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin-right: 20px; 
}

.container_img img {
    width: 100%;
    border-radius: 20px;
    height: auto;
}

.container_content {
    flex: 1;
}

.container_title p {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
}

.container_description p {
    text-align: left;
    margin: 1rem 0;
    font-weight: 400; 
}

.container_button {
    text-align: left;
    margin: 1rem 0;
}

.section_title p {
    font-size: 1.5rem;
    font-weight: 800; 
    text-align: center;
    margin: 1rem 0;
}

.section_option {
    text-align: center;
    margin-bottom: 1rem;
}

.section_icon img {
    width: 50px;
    height: auto;
}

.container_options .box {
    text-align: center;
    margin-bottom: 2rem; 
}

.box_img img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    max-width: 300px;
    object-fit: cover;
}

.container_reserva {
    margin-top: 2rem;
}

.reserva_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; 
}

.reserva_info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title p {
    font-size: 1.5rem;
    font-weight: 700;
}

.description p {
    margin: 1rem 0;
    text-align: center;
    font-weight: 400;
}

.reserva_form {
    flex: 2 1 600px;
}

.input_options {
    margin-bottom: 1rem;
}

.input_options label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.input_options input, .input_options textarea {
    width: 100%;
}

.text_box {
    margin-bottom: 1rem;
    text-align: center;
}

.text_box textarea {
    width: 100%;
    max-width: 100%; 
    height: 100px;
    resize: none;
}

.mini_input {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 20px;
}

.input-group {
    flex: 1;
    margin-right: 1rem;
}

.number_input {
    width: 100%;
    max-width: 120px; 
}

.button {
    text-align: center;
    margin-top: 1rem; 
}

.button .btn {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 50px;
    border-radius: 20px;
}

#alert-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    display: none;
    align-items: center;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.alert-success {
    background-color: #ffffff;
    color: #2e8b57;
    border: 2px solid #2e8b57;
}

.alert-success.show {
    display: block;
    opacity: 0;
    transform: translateY(-20px);
    align-items: center;
}

.alert-success.show.active {
    opacity: 1;
    transform: translateY(0);
}

.alert-success.active {
    animation: fadeOut 5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

@media (max-width: 576px) {
    .header_img img {
        max-width: 50px; 
    }

    .main_content {
        flex-direction: column;
        margin-left: 0; 
        text-align: center; 
    }

    .container_title p, .container_description p, .container_button {
        text-align: center; 
    }

    .container_img {
        margin-right: 0; 
    }

    .reserva_info, .reserva_form {
        flex: 1 1 100%; 
        align-items: center; 
    }

    .text_box, .mini_input {
        width: 100%; 
    }

    .button .btn {
        margin-top: 1rem; 
    }

    #alert-container .alert {
        font-size: 0.9rem; 
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e9ecef; 
}