﻿/* Base Styles & Typography */
html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F9FBFD; /* A very light, calming blue-gray */
    color: #34495E; /* Deep blue-gray for main text */
    line-height: 1.6;
    margin: 0;
    margin-bottom: 0px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif; /* A classic, elegant serif font for headings */
    color: #2C3E50;
    font-weight: 600;
}

/* Global Loader */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1080;
}

    .global-loader:not(.d-none) {
        display: flex;
    }

    .global-loader.d-none {
        display: none !important;
    }

.loader-backdrop {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    width: 100%;
    height: 100%;
    flex-direction: column;
}

    .loader-backdrop .spinner-border {
        width: 3.5rem;
        height: 3.5rem;
        border-color: #F39C12; /* Muted gold/orange for a professional accent */
        border-top-color: transparent;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
.navbar-custom {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EAECEE;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.bolilmod-brand {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #34495E;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .bolilmod-brand:hover {
        color: #F39C12;
        transform: scale(1.05);
    }

.navbar-custom .nav-link {
    color: #5D6D7E; /* A slightly lighter blue-gray for links */
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}

    .navbar-custom .nav-link:hover,
    .navbar-custom .nav-link:focus {
        color: #F39C12;
    }

/* Dropdown Menu */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.nav-item.dropdown > .dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.nav-item.dropdown:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
}

.navbar-custom .dropdown-menu {
    background-color: #FFFFFF;
    border: 1px solid #EAECEE;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.navbar-custom .dropdown-item {
    color: #5D6D7E;
    padding: 0.7rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .navbar-custom .dropdown-item:hover,
    .navbar-custom .dropdown-item:focus {
        background-color: #F8FBFD;
        color: #F39C12;
    }

/* Navbar Toggler (Hamburger) */
.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(52, 73, 94, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Footer Styling */
footer.footer {
    background-color: #F8FBFD;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #7F8C8D;
    border-top: 1px solid #EAECEE;
}
