﻿@media (max-width: 991.98px) {
    /* 1. Enlarge the Brand Logo */
    .navbar-brand-img {
        max-height: 3.5rem !important; /* Increased from 2rem */
        margin-left: 10px; /* Reduced margin for better horizontal space */
    }
}

/* 1. Fix Footer Position & Default Background (White for non-home pages) */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    padding: 1rem 0;
    pointer-events: none;
    transition: all 0.4s ease;
    background-color: #ffffff; /* Default background */

}

/* 2. Make background transparent ONLY when on #home */
#siteNavbar:has(a[href="#home"].active) ~ .site-footer {
    background-color: transparent;
    border-top-color: transparent;
}

/* 3. Default Text Style (Dark for white background) */
.site-footer p, .site-footer a {
    color: #303342;
    font-size: .875rem;
    transition: color 0.4s ease;
    pointer-events: auto;
    margin-bottom: 0;
}

/* 4. White text ONLY when on #home */
#siteNavbar:has(a[href="#home"].active) ~ .site-footer p {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.site-footer p, .site-footer a {
    pointer-events: auto;
}
.site-navbar {
    z-index: 1050 !important;
}

/* Fix for mobile: Push slider items down so they don't cover the nav hit area */
@media (max-width: 991.98px) {
    .website-slider-item {
        z-index: 1 !important;
    }
    .website-slider-item-inner {
        z-index: 1 !important;
        pointer-events: auto;
    }

    .navbar-nav{
        margin-top: 1rem !important;
    }

    /* Increase left margin for nav items on mobile */
    .navbar-nav .nav-item {
        margin-left: 1.5rem; /* Change this value to get your desired spacing */
    }
}