/* Global Smooth Scrolling Behavior */
html {
    background-color: #162024;
    scroll-behavior: smooth;
}

/* Responsive Flexbox Container for Navigation Buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px; 
    width: min(100%, calc(80vh * 16 / 9)); 
    margin: 15px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Scoped Button Styling */
.button-container button { 
    background-color: #004872;
    color: white;
    width: 156px;
    height: 30px;
    font-size: 14px;
    text-align: center;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10; 
    position: relative;
}

.button-container button:hover { 
    background-color: #008686;
}

.button-container button:focus-visible { 
    outline: 3px solid red;
}

/* Section Text Block Layout */
.centered-block {
    display: block; 
    width: 80%;     
    margin: 80px auto; 
    font-size: 22px;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    color: white;
}

/* Tour Iframe Responsive Wrapper */
.tour-wrapper {
    position: relative;
    z-index: 5;
    width: min(100%, calc(65vh * 16 / 8));
    aspect-ratio: 16 / 8;
    margin: 0 auto;
    border: none;
    padding: 10px;
    box-sizing: border-box;
}

/* Tour Iframe Box */
.tour-iframe {
    width: 100%; 
    height: 100%; 
    border: 4px solid black; 
    border-radius: 10px; 
    pointer-events: auto;
}

@keyframes heartbeat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.animate-cta-text {
    display: inline-block;
    animation: heartbeat-pulse 4s ease-in-out infinite;
}