@font-face {
    font-family: "Good Timing Rg";
    src: url('../../gt.ttf');
}

:root {
    --site-bg: radial-gradient(circle at top right, rgba(183, 202, 235, 0.28) 0%, rgba(183, 202, 235, 0) 24%), radial-gradient(circle at bottom left, rgba(219, 207, 236, 0.22) 0%, rgba(219, 207, 236, 0) 26%), linear-gradient(180deg, #f6f8fc 0%, #eef3fb 46%, #f8fbff 100%);
    --site-text: #31435c;
    --site-heading: #22324a;
    --site-accent: #6a8fd8;
    --site-accent-strong: #436fbf;
    --site-accent-soft: #dfe8fb;
    --site-surface: rgba(255, 255, 255, 0.72);
    --site-surface-alt: rgba(245, 248, 253, 0.88);
    --site-surface-border: rgba(167, 183, 214, 0.34);
    --site-shadow: 0 18px 40px rgba(74, 102, 146, 0.12);
}

.site-body {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    letter-spacing: 0.01em;
    background-attachment: fixed;
}

.site-font {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.site-link-light,
.site-link-light:hover,
.site-link-light:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.site-link-primary,
.site-link-primary:hover,
.site-link-primary:focus {
    color: var(--site-accent-strong) !important;
}

.site-footer {
    background: linear-gradient(135deg, rgba(111, 137, 181, 0.92) 0%, rgba(144, 169, 206, 0.9) 55%, rgba(196, 185, 224, 0.88) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.48);
    border-bottom: 1px solid rgba(115, 134, 170, 0.16);
    box-shadow: 0 -10px 24px rgba(99, 121, 160, 0.14);
    backdrop-filter: blur(18px);
}

.footer a {
    text-decoration: none;
}

.gallery-image {
    object-fit: cover;
    height: 200px;
    width: 100%;
    cursor: pointer;
    border-radius: 18px;
    border: 1px solid rgba(183, 196, 223, 0.42);
    box-shadow: var(--site-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.gallery-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(91, 116, 156, 0.18);
    filter: saturate(1.04) contrast(1.01);
}

#modalImage {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(91, 116, 156, 0.2);
}

@media (max-width: 767px) {
    #modalImage {
        max-height: none;
    }
}

.custom-nav-bg {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.72), rgba(245, 248, 253, 0.72));
    border: 1px solid var(--site-surface-border);
    box-shadow: var(--site-shadow);
    backdrop-filter: blur(18px);
}

.relief-nav {
    background: linear-gradient(135deg, #f6f8fc 0%, #eef3fb 58%, #e2e9f7 100%);
    border-bottom: 1px solid rgba(177, 191, 219, 0.38);
    box-shadow: 0 14px 34px rgba(99, 121, 160, 0.14);
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand span,
.navbar-brand b {
    font-family: Tahoma, sans-serif !important;
    color: #4b5f7c !important;
    letter-spacing: normal;
    font-weight: 700;
}

.custom-nav-bg .app-brand-text,
.custom-nav-bg .app-brand-text:hover,
.custom-nav-bg .app-brand-text:focus {
    font-family: Tahoma, sans-serif !important;
    color: #4b5f7c !important;
    letter-spacing: normal;
    font-weight: 700;
}

.nav-link {
    color: #4b5f7c !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--site-heading) !important;
}

.dropdown-menu {
    border: 1px solid var(--site-surface-border);
    border-radius: 18px;
    padding: 0.6rem;
    box-shadow: 0 22px 48px rgba(99, 121, 160, 0.16);
    background: #ffffff;
}

.navbar-collapse {
    position: relative;
    z-index: 2;
}

.dropdown-item {
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, rgba(106, 143, 216, 0.14) 0%, rgba(191, 202, 235, 0.08) 100%);
    color: var(--site-accent-strong) !important;
    transform: translateX(2px);
}

.dropdown-divider {
    border-top-color: rgba(167, 183, 214, 0.24);
}

main {
    position: relative;
}

main::before {
    content: '';
    position: fixed;
    top: 96px;
    right: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(186, 203, 236, 0.3) 0%, rgba(186, 203, 236, 0) 72%);
    pointer-events: none;
    z-index: 0;
}

main::after {
    content: '';
    position: fixed;
    left: -120px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 201, 234, 0.24) 0%, rgba(213, 201, 234, 0) 72%);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 575.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.85rem 1rem;
        border-radius: 18px;
        background: linear-gradient(135deg, #fcfdff 0%, #eff4fb 100%);
        border: 1px solid rgba(177, 191, 219, 0.34);
        box-shadow: 0 14px 34px rgba(99, 121, 160, 0.18);
    }
}
