@import url('https://fonts.googleapis.com/css2?family=Ancizar+Serif:ital,wght@0,300..900;1,300..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Font Families */
    --title: 'Ancizar Serif', Serif;
    --body: 'Noto Serif', Georgia, Serif;

    /* Colors */
    --background: #f7f3e3;
    --secondary: #36393b;
    --primary: #ee772f;
    --buttons: #9984d4;
    --white: #ffffff;
    --black: #000000;

    /* Utils */
    --border: 1px solid;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: var(--body);
    font-weight: 500;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--title);
}

main {
    flex: 1 0 auto;
    background-color: var(--white);
}

/* Footer */
footer {
    flex-shrink: 0;
    background-color: var(--secondary);
    border-top: var(--primary);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.social-icon {
    height: 2rem;
    margin: 1rem;
}

/* Heder */
.my-nav {
    background-color: var(--secondary);
    color: var(--primary);
}

a.nav-link {
    color: var(--primary);
    font-weight: 700;
    font-size: larger;
    flex-direction: column;
    text-align: center;
}

a.nav-link:hover {
    color: var(--white);
}

.active {
    border-bottom: 2px solid var(--primary);
    font-weight: 700;
    color: var(--white) !important;
}

.form {
    width: 60%;
    margin: 3% auto;
    border: 6px var(--primary);
    border-radius: 5px;
    box-shadow: 0 4px 15px var(--primary);
}

.my-button {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: larger;
    border-radius: 5px;
    margin-bottom: 10px;
    border: none;
    box-sizing: border-box;
}

.my-button:hover {
    background-color: var(--white);
    color: var(--primary);
    border: var(--border) var(--primary);
}

.card {
    width: 70%;
    margin: 3% auto;
    border: 6px var(--primary);
    border-radius: 5px;
    box-shadow: 0 4px 15px var(--primary);
}

.image-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 5px;
}

.img-placeholder {
    width: 0%;
    height: 200px;
    background-color: var(--secondary);
    border-radius: 5px;
}

.img-valid {
    width: 100%;
    height: 200px;
    background-color: var(--secondary);
    border-radius: 5px;
}

.img-carousel {
    width: 100%;
    height: 600px;
    border-radius: 5px;
    margin-top: 1%;
    margin-bottom: 1%;
}

.text-carousel {
    text-shadow: #ffffff 0px 0px 5px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.text-carousel:hover {
    text-shadow: #ffffff 0px 0px 20px;
}

.book-button {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: larger;
    border-radius: 5px;
    margin-bottom: 10px;
    border: none;
    box-sizing: border-box;
}

.book-button:hover {
    background-color: var(--white);
    color: var(--primary);
    border: var(--primary);
}

.book-button-about {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: larger;
    border-radius: 5px;
    border: none;
    display: inline-flex;
    /* keeps size tight */
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.book-button-about:hover {
    background-color: var(--white);
    color: var(--primary);
    border: var(--primary);
    border-radius: 5px;
}


.about-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary);
    margin: 2% auto;
}

.about-h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    border: var(--primary);
    border-radius: 5px;
}

#reserve-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: 500;
    color: var(--secondary);
    margin: 2% auto;
    border-radius: 5px;
    border: var(--primary);
    box-shadow: 0 4px 15px var(--primary);
}

@media only screen and (max-width: 767px),
       only screen and (min-width: 768px) and (max-width: 1024px) {

    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }


    /* Prevent mobile styles for empty message row */
    tr.empty-row {
        display: table-row;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    tr.empty-row td {
        display: table-cell;
        padding: 1rem;
        text-align: center;
        font-weight: 500;
        font-size: 1rem;
        color: #555;
    }

    tr {
        border: 1px solid #ddd;
        margin-bottom: 12px;
        border-radius: 10px;
        background: #f9f9f9;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        padding: 10px;
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 10px 12px 45%;
        border-bottom: 1px solid #eee;
        font-size: 0.95rem;
        position: relative;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 12px;
        width: 40%;
        font-weight: 600;
        font-size: 0.9rem;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    td:last-child {
        border-bottom: none;
    }

    .my-button {
        padding: 6px 12px;
        font-size: 0.9rem;
        border-radius: 5px;
        white-space: nowrap;
    }
}