html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
}

.form-check-inline .form-check {
    display: inline-block;
    margin-right: 10px; /* Adjust as needed */
}
    
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #23425c;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #23425c;
}

h2 .byvo-highlight {
    color: #FF6B35;
}

/* Homepage hero: image must stay in its column (old scale(1.25) drew over the text) */
@media (min-width: 768px) {
    .home-hero-copy {
        position: relative;
        z-index: 1;
    }

    .home-hero-visual {
        overflow: hidden;
    }

    .home-hero-image {
        max-height: min(380px, 52vh);
        width: auto;
        max-width: 100%;
        display: inline-block;
        vertical-align: bottom;
    }
}

/* Keep multi-word labels on one line (e.g. “About Us”, “Our Team”) */
.navbar-nav .nav-link {
    white-space: nowrap;
}

/* Plain links: animated underline via ::after */
.navbar-nav .nav-link:not(.dropdown-toggle) {
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover {
    color: #FF6B35 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #FF6B35;
    transition: width 0.3s ease, background-color 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 80%;
}

.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
    background-color: #FF6B35;
}

/*
 * Dropdown toggles use ::after for Bootstrap’s caret - do not override it.
 * Use border-bottom for hover/active highlight across the full link width.
 */
.navbar-nav .nav-link.dropdown-toggle {
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border-bottom: 2px solid transparent;
}

/* Logout: POST form styled as a nav item (main menu, mobile-accessible) */
.navbar-nav form .nav-link {
    cursor: pointer;
}

.navbar-nav .nav-link.dropdown-toggle:hover,
.navbar-nav .nav-link.dropdown-toggle.active,
.navbar-nav .nav-link.dropdown-toggle.show {
    color: #FF6B35 !important;
    border-bottom-color: #FF6B35;
    transform: translateY(-2px);
}

footer.bg-primary {
    background: linear-gradient(to right, #23425c, #466c8a, #23425c) !important;
}

.body-content {
    background: linear-gradient(to bottom, #deeef5 0px, #deeef5 0px, #ffffff 300px, #ffffff 100%);
    background-color: #ffffff;
    padding-top: 220px; /* Adjust based on navbar height */
}

.navbar.fixed-top {
    z-index: 1030;
}

/*
 * Desktop: when logged in, extra items (Admin, user menu) squeeze the row.
 * Prevent the nav from wrapping to a second row; keep labels on one line.
 */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar-expand-lg .navbar-collapse .navbar-nav > .nav-item {
        flex-shrink: 0;
    }

    /* Tighter horizontal gap between items (Bootstrap me-3 = 1rem) */
    .navbar-expand-lg .navbar-collapse .navbar-nav > .nav-item.me-3 {
        margin-right: 0.5rem !important;
    }
}

.admin-dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
}

/* Keep admin dropdown within viewport on mobile (navbar-expand-lg breakpoint) */
@media (max-width: 991.98px) {
    .admin-dropdown-menu {
        max-height: min(45vh, calc(100vh - 320px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* All navbar dropdowns when collapsed: prevent menu container from going off-screen */
    .navbar-collapse .dropdown-menu {
        max-height: min(45vh, calc(100vh - 320px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*
     * Collapsed menu: nav-links are often full-width blocks, so ::after with left:50% + width:80%
     * centers on the whole row - underline appears misaligned under the label.
     * Shrink the link to content and anchor the line under the text.
     */
    .navbar-collapse .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-collapse .navbar-nav .nav-link:not(.dropdown-toggle) {
        display: inline-block;
        width: auto;
        max-width: 100%;
        vertical-align: top;
    }

    .navbar-collapse .navbar-nav .nav-link:not(.dropdown-toggle)::after {
        left: 0;
        transform: none;
    }

    .navbar-collapse .navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
    .navbar-collapse .navbar-nav .nav-link:not(.dropdown-toggle).active::after {
        width: 100%;
    }

    .navbar-collapse .navbar-nav .nav-link.dropdown-toggle {
        display: inline-block;
        width: auto;
        max-width: 100%;
        vertical-align: top;
    }
}

/* Environment Banner */
.environment-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.environment-banner-test {
    background-color: #ff9800;
    color: #000;
}

.environment-banner-dev {
    background-color: #4caf50;
}

.environment-banner-maintenance {
    background-color: #c62828;
    color: #ffffff;
}

/* Croppie container styling */
#croppie-container {
    margin: 0 auto;
    overflow: hidden;
}

#croppie-container .cr-viewport {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

#croppie-container .cr-boundary {
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Ensure modal body doesn't overflow */
#cropModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Adjust navbar position when banner is present */
body:has(.environment-banner) .navbar {
    top: 40px; /* Height of banner */
}

/* Adjust body content margin when banner is present */
body:has(.environment-banner) .body-content {
    padding-top: 260px; /* Space for fixed navbar + banner */
}

.row.g-4 > [class*="col-"] {
    display: flex;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #23425c;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #23425c;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-subtitle {
    color: #6c8ba3;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* FAQ Styling */
#faqAccordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#faqAccordion .accordion-button {
    background-color: #f8f9fa;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #23425c;
    box-shadow: none;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #23425c;
    font-weight: 700;
    box-shadow: none;
}

#faqAccordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

#faqAccordion .accordion-body {
    padding: 1.5rem;
    background-color: white;
    color: #495057;
    line-height: 1.6;
}

#faqAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2323425c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#faqAccordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2323425c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.faq-heading {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.faq-heading:first-child {
    margin-top: 0;
}

.faq-heading h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #23425c;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FF6B35;
}

/* Testimonial Styling */
.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 250px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.testimonial-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 600;
    color: #23425c;
    margin-bottom: 0;
    text-align: right;
    font-size: 0.95rem;
}

.testimonial-date {
    font-weight: normal;
    color: #666666;
    font-size: 0.85em;
}

/* Booking Page Styling */
.booking-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #e9ecef;
    cursor: pointer;
}

.booking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.booking-card-selected {
    border: 3px solid #0057A8 !important;
    box-shadow: 0 10px 26px rgba(0, 87, 168, 0.35) !important;
    transform: scale(1.04);
    background: #f8f9fa;
}

.booking-card-featured {
    border: 3px solid #28a745;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.25);
}

.booking-card-featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 12px 32px rgba(40, 167, 69, 0.35);
}

@media (max-width: 991px) {
    .booking-carousel {
        max-width: 100%;
    }
    .booking-carousel-btn-left {
        left: 8px;
    }
    .booking-carousel-btn-right {
        right: 8px;
    }
}

@media (max-width: 575px) {
    .booking-options-swiper {
        padding: 1rem 2rem 1.25rem;
    }
    .booking-option-item {
        width: 280px;
    }
    .booking-card {
        min-height: 480px;
    }
}

.booking-options-wrapper {
    position: relative;
}

.booking-carousel {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.booking-carousel::before,
.booking-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.booking-carousel::after {
    right: 0;
    transform: rotate(180deg);
}

.booking-carousel::before {
    left: 0;
}

.booking-options-swiper {
    padding: 1.25rem 3.25rem 1.5rem;
    overflow: hidden;
}

.booking-option-item {
    width: 320px;
    display: flex;
    align-items: stretch;
    transition: transform 0.35s ease, filter 0.35s ease;
    transform-origin: center;
}

.booking-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background-color: #ffffff;
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.booking-carousel-btn-left {
    left: 12px;
}

.booking-carousel-btn-right {
    right: 12px;
}

.booking-option-item.is-active .booking-card {
    border: 3px solid #0057A8 !important;
    box-shadow: 0 10px 26px rgba(0, 87, 168, 0.35) !important;
    transform: scale(1.04);
    background: #f8f9fa;
}

.booking-option-item.is-active {
    transform: scale(1.03);
}

.booking-option-item:not(.is-active) {
    transform: scale(0.98);
}

.booking-card,
.booking-option-item.is-active .booking-card,
.booking-option-item:not(.is-active) .booking-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.booking-card {
    min-height: 520px;
}

.booking-option-item .booking-card {
    height: 100%;
}

.booking-card-compact .booking-card-header h3 {
    font-size: 1.05rem;
}

.booking-card-compact .booking-card-body p {
    font-size: 0.9rem;
}

.booking-card-compact .booking-card-body {
    padding: 1rem;
}

.booking-card-badge {
    position: absolute;
    top: 8px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.booking-card-header {
    padding-top: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.booking-card-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0057A8;
    margin: 0;
}

.booking-card-featured .booking-card-header h3 {
    color: #0057A8;
}

.booking-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.booking-card-body p {
    color: #333333;
    line-height: 1.7;
    font-size: 1.05rem;
    flex-grow: 1;
}

.booking-card .btn-primary {
    background-color: #0057A8;
    border-color: #0057A8;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.booking-card .btn-primary:hover:not(:disabled) {
    background-color: #004085;
    border-color: #004085;
}

.booking-card .btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Team page styles */
.team-member-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #deeef5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member-photo-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid #deeef5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-img-top-container {
    min-height: 300px;
    background: linear-gradient(to bottom, #deeef5 0%, #ffffff 100%);
}

/* Croppie custom styles */
#croppie-container {
    margin: 0 auto;
}

#cropped-preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Public social links (footer + about) */
.social-links--footer a:hover {
    opacity: 0.85;
}

/* About page: prominent callout + circular icon targets */
.social-links-about-box {
    background: linear-gradient(135deg, #e4ecf4 0%, #f5f8fb 100%);
    border-left: 4px solid #ff6b35;
    border-radius: 0.5rem;
    padding: 1.75rem 1.5rem 1.75rem 1.75rem;
    box-shadow: 0 4px 18px rgba(35, 66, 92, 0.1);
}

.social-links-about-box h2 {
    color: #23425c;
}

.social-links-about-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.social-links-about-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: #fff;
    color: #23425c;
    font-size: 1.75rem;
    box-shadow: 0 2px 10px rgba(35, 66, 92, 0.12);
    transition:
        transform 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.social-links-about-icons a:hover {
    color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(35, 66, 92, 0.18);
}

.social-links-about-icons a:focus-visible {
    outline: 3px solid #ff6b35;
    outline-offset: 3px;
}

/* Homepage hero - payment methods intro + marks */
.home-hero-payment-intro {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    line-height: 1.45;
    max-width: 32rem;
}

@media (max-width: 767.98px) {
    .home-hero-payment-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-payment-marks {
        justify-content: center;
    }

    .home-hero-payment-callout {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Homepage hero - payment marks: FA glyphs sit small in the em box; --pay-icon-em is the row target height */
.home-hero-payment-marks {
    /* Mobile: compact row (one line + horizontal scroll if needed) */
    --pay-cap: 1.55rem;
    --pay-icon-em: calc(var(--pay-cap) * 1.42);
    max-width: 100%;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.125rem;
}

@media (min-width: 768px) {
    .home-hero-payment-callout {
        display: block;
        align-items: stretch;
    }

    .home-hero-payment-marks {
        --pay-cap: 2.875rem;
        --pay-icon-em: calc(var(--pay-cap) * 1.52);
        flex-wrap: wrap;
        gap: 1rem;
        overflow-x: visible;
        padding-bottom: 0;
        justify-content: flex-start;
    }
}

/* Book page: strip sits under centered headline - keep copy + marks centered at all breakpoints */
.book-page-payment-callout .home-hero-payment-intro {
    margin-left: auto;
    margin-right: auto;
}

.book-page-payment-callout .home-hero-payment-marks {
    justify-content: center;
}

@media (max-width: 767.98px) {
    .book-page-payment-callout .home-hero-payment-callout {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.home-hero-pay-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.home-hero-pay-mark--card {
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    line-height: 1.2;
    max-width: 5.5rem;
}

.home-hero-pay-card-label {
    font-size: clamp(0.62rem, 1.65vw, 0.72rem);
    font-weight: 600;
    color: #495057;
    text-align: center;
    line-height: 1.15;
}

.home-hero-pay-icon {
    font-size: var(--pay-icon-em);
    line-height: 1;
    display: block;
}

.home-hero-pay-icon--generic-card {
    color: #23425c;
    font-size: calc(var(--pay-icon-em) * 0.88);
}

.home-hero-pay-icon--apple-pay {
    color: #1f1f1f;
    font-size: calc(var(--pay-icon-em) * 0.96);
}

.home-hero-pay-brand-img {
    height: var(--pay-icon-em);
    width: auto;
    max-height: var(--pay-icon-em);
    display: block;
    object-fit: contain;
    object-position: center;
}

.home-hero-pay-afterpay {
    border-radius: 0.35rem;
}

/* Zip wordmark is very wide at full --pay-icon-em height; cap box so it matches Afterpay / card icons */
.home-hero-pay-brand-img.home-hero-pay-zip {
    height: auto;
    width: auto;
    max-height: var(--pay-icon-em);
    max-width: min(6.25rem, 34vw);
}

/* Mobile: cap wide marks + tighter card label so one row fits; pair with .home-hero-payment-marks nowrap + overflow-x */
@media (max-width: 767.98px) {
    .home-hero-pay-brand-img.home-hero-pay-afterpay {
        max-width: 4.65rem;
    }

    .home-hero-pay-brand-img.home-hero-pay-zip {
        max-width: min(3.55rem, 21vw);
    }

    .home-hero-pay-mark--card {
        max-width: 3.2rem;
        gap: 0.1rem;
    }

    .home-hero-pay-card-label {
        font-size: 0.54rem;
        letter-spacing: -0.015em;
    }
}

/* Color Google Pay acceptance mark; slight scale-up vs other marks */
.home-hero-pay-brand-img.home-hero-pay-google {
    height: calc(var(--pay-icon-em) * 1.18);
    max-height: calc(var(--pay-icon-em) * 1.18);
    width: calc(var(--pay-icon-em) * 1.18);
    max-width: calc(var(--pay-icon-em) * 1.18);
}

