/* Base Variables matching Brand Palette */
:root {
    --dark-navy: #1D2638;
    --brand-gold: #F5B80F;
    --light-gray: #E0E0E0;
    /* Changed site background to match the white Spectora form background */
    --bg-offwhite: #ffffff; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
    background-color: var(--bg-offwhite);
    color: var(--dark-navy);
    line-height: 1.6;
}

/* Navigation Header */
header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--brand-gold);
    padding: 8px 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
    
    /* CRITICAL: Allows absolute positioning to anchor internally */
    position: sticky;
    min-height: 70px; 
    z-index: 100;
    top: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    max-width: 260px;
    position: relative;
    z-index: 1; 
}

.logo-container img {
    width: auto;
    height: 100%;
    max-height: 90px;
    display: block;
}

.header-center-title {
    position: absolute;
    left: 50%;
    top: 50%;
    /* Shoves the exact middle of the element to the middle of the navbar */
    transform: translate(-50%, -50%); 
    
    margin: 0;
    font-family: 'Merriweather', serif;
    font-size: 1.5rem; /* Scaled slightly so it stays cleanly on one line between logo and button */
    color: var(--dark-navy);
    text-align: center;
    white-space: nowrap; /* Forces text to stay crisp on a single line on desktop */
    z-index: 2;
}

.contact-btn {
    background-color: var(--brand-gold);
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.contact-btn:hover {
    background-color: #e0a60b;
    transform: translateY(-1px);
}

/* Main Booking Layout Area */
.main-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Modified Booking Card to fade borders out down the page */
.booking-card {
    background: #ffffff;
    padding: 25px 15px 15px 15px;
    overflow: visible; 
    position: relative;
    
    /* Solid Navy Top Border */
    border-top: 4px solid var(--dark-navy);
    
    /* Gradients generating a side border effect that fades completely to transparent by 400px down */
    background-image: 
        linear-gradient(to bottom, rgba(29, 38, 56, 0.15), rgba(29, 38, 56, 0) 400px), 
        linear-gradient(to bottom, rgba(29, 38, 56, 0.15), rgba(29, 38, 56, 0) 400px);
    background-position: left top, right top;
    background-size: 1px 100%; /* 1px wide side lines */
    background-repeat: no-repeat;
}

.section-title {
    text-align: center;
    font-family: 'Merriweather', serif;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.text_body {
    margin: 10px auto;
}

.text_body ul {
    margin-top: 0px;
}

/* Ultra-tall seamless iframe settings */
.scheduler {
     border: 0 !important;
     width: 100% !important;
     height: 2000px; /* Extremely tall window for desktop steps */
     min-height: 2000px;
     display: block !important;
     overflow: visible !important; /* No internal iframe scrollbar needed */
}

/* Footer Accent */
footer {
    background-color: var(--dark-navy);
    color: #ffffff;
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
    font-size: 0.9rem;
}

footer p {
    margin: 5px 0;
}

/* Change header if window too small */
@media (max-width: 1450px) {
	.small-window-hide {
    	display: none;
    }
}

/* Responsive Optimization */
@media (max-width: 992px) {
    header {
        flex-direction: column;
        gap: 12px;
        padding: 15px 2%;
    }
    
    .header-center-title {
        position: static;
        transform: none;
        white-space: normal; /* Allows text wrap on mobile screens */
        font-size: 1.3rem;
        margin: 5px 0;
    }
    
    .logo-container {
        max-width: 220px;
    }
    
    .scheduler {
    	height: 2600px;
    	min-height: 2600px;
    }
    
    .mobile-hide {
    	display: none;
    }
}