/* Basic Reset & Font Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Using Rajdhani for a slightly techy feel, Orbitron for headings, fallback to monospace */
    font-family: 'Rajdhani', 'Consolas', 'Monaco', monospace;
    color: rgba(240, 240, 240, 0.9); /* Whitish text with slight transparency */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    /* We don't set background here, using the dedicated div */
}

/* Background Container */
.background-container {
    position: fixed; /* Keeps it fixed during scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* MAKE SURE your image file is named image_b00c38.jpg and in the same folder */
    background-image: url('image_b00c38.jpg');
    background-size: cover; /* Cover the entire viewport */
    background-position: center center;
    background-attachment: fixed; /* Optional: keeps image position fixed on scroll */
    z-index: -1; /* Place it behind all other content */
    filter: brightness(0.8) contrast(1.1); /* Optional: Adjust image appearance */
}

/* Main Content Area Styling */
.content-container {
    max-width: 900px; /* Adjust max width as needed */
    margin: 40px auto; /* Center the container with top/bottom margin */
    padding: 30px 40px;
    /* CRUCIAL: Transparent background with a dark tint */
    background-color: rgba(15, 15, 25, 0.75); /* Dark blue/purple tint, adjust alpha (0.75) for transparency */
    border: 1px solid rgba(0, 255, 255, 0.4); /* Neon cyan border */
    box-shadow: 0 0 20px rgba(0, 220, 220, 0.3), inset 0 0 15px rgba(10, 10, 20, 0.5); /* Outer glow and subtle inner shadow */
    min-height: 80vh; /* Ensure it has some height */
    position: relative; /* Needed for z-index if any overlapping issues */
    z-index: 1;
    border-radius: 3px; /* Slight rounding */
}

/* Header and Navigation */
header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px dashed rgba(0, 255, 255, 0.3);
    padding-bottom: 20px;
}

header h1 {
    font-family: 'Orbitron', sans-serif; /* More distinct heading font */
    font-size: 2.5em;
    color: #00ffff; /* Bright Cyan */
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.7), 0 0 12px rgba(0, 255, 255, 0.5);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between nav items */
}

nav a.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    border: 1px solid transparent; /* Placeholder for hover/active */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff;
    border-bottom: 1px solid #f0f; /* Magenta accent on hover */
}

/* Style for the active navigation link */
nav a.nav-link.active {
    color: #00ffff; /* Cyan for active */
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.5);
    background-color: rgba(0, 255, 255, 0.05); /* Very subtle background */
}

/* Content Sections */
.content-section {
    display: none; /* Hide sections by default */
    animation: fadeIn 0.5s ease-in-out; /* Simple fade-in */
}

.content-section.active-section {
    display: block; /* Show the active section */
}

h2 {
    font-family: 'Orbitron', sans-serif;
    color: #f0f; /* Magenta for section titles */
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.4);
    padding-bottom: 10px;
    text-shadow: 0 0 6px rgba(255, 0, 255, 0.5);
    letter-spacing: 1px;
}

/* Post Styling */
.post {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dotted rgba(240, 240, 240, 0.3); /* Dotted separator */
}

.post:last-child {
    border-bottom: none; /* No border for the last post */
}

.post h3 {
    color: #00ffff; /* Cyan for post titles */
    margin-bottom: 5px;
    font-size: 1.4em;
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.5);
}

.post-meta {
    font-size: 0.85em;
    color: rgba(240, 240, 240, 0.6); /* Dimmer color for metadata */
    margin-bottom: 10px;
    font-style: italic;
}

/* Links within content */
section a {
    color: #f0f; /* Magenta links */
    text-decoration: none;
    font-weight: bold;
}

section a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px #f0f;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 255, 255, 0.3);
    font-size: 0.9em;
    color: rgba(240, 240, 240, 0.6);
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .content-container {
        margin: 20px 15px;
        padding: 20px;
    }

    header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically */
        gap: 10px;
    }
}

@media (max-width: 480px) {
     header h1 {
        font-size: 1.8em;
    }
    body {
        font-size: 15px; /* Slightly smaller base font */
    }
    .post h3 {
        font-size: 1.2em;
    }
}
