.tile-slideshow {
    display: flex;
    width: 100%;
    height: 35vw;
    gap: 10px;
    align-items: center;
    overflow: hidden; /* Prevents any spillover jitter */
}

.tile {
    flex: 1; 
    height: 90%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    /* Smooth transitions for order shifts, flex, scale, and blur */
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.6s ease, 
                filter 0.6s ease, 
                transform 0.6s ease,
                order 0.6s ease;
    border-radius: 8px;
    filter: blur(4px) brightness(0.7);
    transform: scale(0.95);
}

.tile.active {
    flex: 4; 
    height: 100%;
    filter: blur(0px) brightness(1);
    transform: scale(1);
}

/* HEADER */

header {
    background-color: var(--main-color);
    padding: 2px 2vw;
    height:  14vw;
    max-height: 200px;
    font-size: clamp(0.9rem, 0.8vw + 0.75rem, 1.15rem);
    overflow: hidden;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo  {

    width:50%;
    /*
    height:100%; 
    max-height: 200px; */
    border-radius: 200px;
}

body { 
    background-color: var(--body-color);
    margin: 0px;
    padding: 0px;
    color: var(--text-color);
    font-family: 'Cinzel Decorative', serif;
}

.shared-text::before {
    content: var(--company-name);
}

.company-email::before {
    content: var(--company-email);
}

.company-phone::before {
    content: var(--company-phone);
}

.centered-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    padding-bottom: 2vw;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* HEADER START */
header .std-button {
    font-size: clamp(1rem 1.5vw 2rem);
    height: 30px;
    padding: 4px;
    margin-right: 10px;
    overflow: hidden;
}

.small-title, .small-title-second {
    display: inline;
    font-size: clamp(0.6rem, 3vw, 1.8rem);
    color: var(--secondary-color);
    margin-right: 50vw;
    padding: 0px;
    margin: 0px;
}
/* HEADER END */

.basic-button {
    display: block;
    box-sizing: border-box;
    width: 50%;
    border: 0px;
    font-size: clamp(1rem, 1.8vw, 4rem);
    border-radius: 5px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);

    background-color: var(--secondary-color);
    color: var(--button-text-color);

    float: right;

    text-decoration: none;
    text-align: center;
    transition:
        width 0.25s ease,
        padding 0.25s ease,
        font-size 0.25s ease;
}

.basic-button:hover {
    padding: 0.8vw;
    font-size: clamp(1.1rem, 2vw, 4.1rem);
    font-weight: bold;
}

.basic-button, p {
    padding: 5px;
}

.shadow-div {
    box-shadow: 0 0.5vw 0.8vw rgba(var(--shadow-color), 0.1);
    padding: 2vw;
}

/* PACKAGES */
.packages-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    padding: 2vw 4vw;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--main-color);
}
/* PACKAGES END */

/* OPEN HOURS */
table {
    /* Fluid font size based on viewport width, with safe min/max guardrails */
    font-size: clamp(0.75rem, 1.5vw + 0.5rem, 1.75rem);
    width: 100%;
    border-collapse: collapse; /* Optional: cleans up table borders */
}

caption {
    background-color: var(--secondary-color);
    color: var(--button-text-color);
    padding: 0.75vw;
}

tr {
    /* Tied to a balanced mix of viewport width and font sizing */
    font-size: clamp(0.7rem, 1.2vw + 0.4rem, 1.4rem);
}

th, td {
    text-align: center;
    /* Using logical or relative padding so spacing scales with zoom */
    padding: 0.6em 1.2em; 
    margin: 0px;
}
/* OPEN HOURS END */

/* Marketting */

.mid-section {
    border-bottom: 0.1vw solid var(--secondary-color); 
    padding-bottom: 1rem; 
    margin-top: 2vw;
}

.mid-section p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 2rem);
}

.mid-section h3 {
    margin: 0;
    font-size: clamp(1rem, 2vw, 2rem);
}

/* FOOTER START */
footer {
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    padding: 1vw;
    align-items: center;
}

footer > div {
    flex: 1;
}

.contact-details {
    font-size: clamp(0.6rem, 5vw, 0.9rem);
}

.footer-logo {
    text-align: center;
}

@media (max-width: 900px) {
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    footer > div {
        flex: none;
        width: 100%;
    }

    .footer-logo {
        text-align: center;
    }
}
/* FOOTER END */

.hours-map-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hours-wrapper, .map-wrapper {
    flex: 1;
    min-width: 100px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 990px) {
    .hours-map-container {
        flex-direction: column;
    }
}