/* --- THE SYSTEM CORE --- */
:root {
    --bg-dark: #0f1012;
    /* Deep obsidian background */
    --glass-bg: rgba(25, 26, 30, 0.75);
    /* Frosted glass panel */
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-glow: #c68a53;
    /* Rose Gold accent */
    --card-bg: #1a1c20;
    /* Raised card color */
    --text-main: #e0e0e0;
    --text-muted: #808080;

    /* Neomorphic Shadow Recipies */
    --neo-shadow: 10px 10px 20px #08090a, -5px -5px 15px #22252a;
    --neo-inset: inset 6px 6px 12px #08090a, inset -6px -6px 12px #22252a;
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top right, #1d1f23, #0f1012);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- MAIN GLASS CONTAINER --- */
.main-dashboard {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    margin: 2rem auto;
    padding: 3.5rem;
    max-width: 1400px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    min-height: 85vh;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 12px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 12px 24px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: lowercase;
}

nav ul li a:hover {
    color: #fff;
}

nav ul li a.active {
    background: var(--card-bg);
    box-shadow: var(--neo-shadow);
    color: var(--accent-glow);
    border: 1px solid rgba(198, 138, 83, 0.15);
}

/* --- CONTENT SECTIONS --- */
h1,
h2 {
    font-weight: 800;
    letter-spacing: -1px;
}

.glow-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(198, 138, 83, 0.12);
    color: var(--accent-glow);
    border-radius: 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border: 1px solid rgba(198, 138, 83, 0.2);
}

/* --- GALLERY & CARDS --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.photo-item {
    background: var(--card-bg);
    border-radius: 35px;
    padding: 20px;
    box-shadow: var(--neo-shadow);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-8px);
    border: 1px solid rgba(198, 138, 83, 0.3);
}

.photo-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: var(--neo-inset);
    filter: brightness(0.85);
    transition: filter 0.4s ease;
}

.photo-item:hover img {
    filter: brightness(1);
}

.photo-text {
    display: block;
    margin-top: 20px;
    padding-left: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- BUTTONS --- */
.btn-accent {
    background: linear-gradient(145deg, #c68a53, #a06e3e);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 20px;
    box-shadow: 8px 8px 20px #08090a, -4px -4px 15px #22252a;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(198, 138, 83, 0.5);
}

/* --- LIGHTBOX --- */
#lightbox {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
}

#lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 60px rgba(0, 0, 0, 1);
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .main-dashboard {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 25px;
    }

    nav {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .logo {
        font-size: 1rem;
    }

    nav ul li a {
        padding: 10px 15px;
        font-size: 0.7rem;
    }

    h1 {
        font-size: 2.5rem !important;
    }
}

/* --- SYSTEM FOOTER STYLES --- */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    /* Green for online */
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

#current-date {
    letter-spacing: 1px;
    opacity: 0.6;
}
