/* ==========================================================================
   Main Stylesheet
   ========================================================================== */

/* Import theme variables and colors */
@import 'theme.css';

/* ==========================================================================
   Base Styles
   ========================================================================== */

/**
 * Base styles for the entire document
 * Sets up the foundation for typography, colors, and layout
 */
body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--primary-text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Heading styles
 * Consistent typography for all heading levels
 */
h1, h2, h3 {
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    color: var(--primary-text-color);
}

h1 {
    text-align: center;
    color: var(--accent-color);
    text-shadow: 0 2px 4px var(--shadow-color);
}

h2 {
    text-align: center;
    color: var(--accent-color);
}

/**
 * Paragraph styles
 * Base text styling for content
 */
p {
    line-height: 1.8;
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/**
 * Section container
 * Full-height sections with consistent padding
 */
section {
    min-height: 100vh;
    padding: 4rem 0;
    position: relative;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

/**
 * Navigation bar
 * Fixed position navigation with blur effect
 */
.navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.navbar-brand {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    color: var(--accent-color) !important;
}

.nav-link {
    font-family: 'Noto Sans', sans-serif;
    color: var(--primary-text-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

/* ==========================================================================
   Directory Section
   ========================================================================== */

/**
 * Directory section
 * Grid of items with hover effects
 */
#directory {
    background-color: var(--background-color);
}

.directory-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    backdrop-filter: blur(5px);
}

.directory-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.directory-item h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.directory-item p {
    color: var(--secondary-text-color);
}

.directory-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.directory-item a:hover {
    color: var(--primary-text-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

/**
 * Footer styles
 * Fixed position footer with blur effect
 */
footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

footer p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/**
 * Media queries for responsive design
 * Adjusts layout and typography for different screen sizes
 */
@media (max-width: 768px) {
    .directory-item {
        padding: 2rem;
    }
}