﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background-color: lemonchiffon;
}

.hidden {
    display: none;
}

/* Adjusted 3D Button Style */
.btn-3d {
    position: relative;
    display: inline-block;
    color: black;
    background-color: #FFFACD;
    text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.2s ease-in-out;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.2;
    vertical-align: middle;
}

    .btn-3d:hover {
        background-color: #f0e68c;
        transform: translateY(-2px);
        box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.2), 0px 6px 12px rgba(0, 0, 0, 0.1);
    }

    .btn-3d:active {
        background-color: #e6db7f;
        transform: translateY(2px);
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.2), 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Navbar layout changes */
.navbar {
    width: 100%;
    max-width: 100%;
}

.navbar-collapse {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* Identity links - Desktop Mode */
.identity-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    white-space: nowrap;
}

/* Left-aligned Navbar items */
.navbar-nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
}

    .navbar-nav.ms-auto {
        margin-left: auto !important;
        margin-right: 1rem;
        display: flex;
        justify-content: flex-end;
    }

/* Ensure header is full width */
header {
    width: 100%;
}

/* Remove bullet points from navbar items */
.navbar-nav, .navbar-nav li {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

    /* Adjust dropdown layout */
    .navbar-nav .dropdown-menu {
        position: absolute;
        display: none;
    }

    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }

/* Debug borders for layout testing */
.debug-border {
    border: 1px solid red;
}

/* Ensure navbar collapses properly */
@media (max-width: 850px) {
    .navbar-expand-md .navbar-toggler {
        display: block !important;
    }
}

@media (max-width: 850px) {
    .navbar-collapse {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100%;
        display: none;
    }

        .navbar-collapse.show {
            display: flex !important;
        }

    .navbar-nav {
        width: 100%;
    }

        .navbar-nav .nav-item,
        .navbar-nav .nav-link {
            width: 100%;
            text-align: left !important;
            padding-left: 10px;
            display: block;
        }

    .identity-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        padding-left: 10px;
        margin-top: 10px;
    }

        .identity-links .nav-item {
            display: block;
            width: 100%;
            text-align: left;
        }
}

/* Ensure the hamburger button has proper spacing */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important;
    }
}

.navbar-toggler-icon {
    background-image: none !important;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .navbar-toggler-icon::after {
        content: "\2630"; /* ≡ symbol */
        font-size: 24px;
        display: block;
        text-align: center;
        line-height: 1;
    }

/* Fix container width issues */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling issues */
}

/*.splash-image {
    width: 100%;
    height: auto;
}*/

@media (max-width: 768px) {
    .navbar {
        width: 100%;
    }
}

html, body {
    overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
    -webkit-text-size-adjust: 100%; /* Fix Safari auto-zooming */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.splash-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Ensure it doesn't cause issues */
}

.splash-image {
    width: 100%;
    height: auto;
    max-width: 100vw; /* Ensures it scales properly */
    object-fit: cover;
    display: block;
}

/* Apply styles only to the home page */
.home-page .container {
    margin-top: 0;
    padding: 0;
}

.home-page .image-container {
    position: relative; /* Required for absolute positioning of the overlay */
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 5vw; /* Adds left and right spacing */
}

.home-page .background-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* Centers the image horizontally */
}

.home-page .title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 10;
    width: 100%;
}


/* Adjust space between the image and first paragraph */
.home-page .container p:first-of-type {
    margin-top: 0;
    padding: 0;
}

/* Tighten general margin for all paragraphs */
.home-page p {
    margin-top: 0;
}

/* Adjust list spacing if necessary */
.home-page ul.list-unstyled {
    margin-top: 10px;
}

body {
    background-color: lemonchiffon;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

