
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Content Sections --- */
main { 
    padding : 400px; 
    margin-top: 200px; 
}
            
            
body {
    background-color: #1a1a1a; /* Dark charcoal background */
    color: #ffffff; 
    font-family: Arial, sans-serif; 
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header {
    background-color: #000000; /* Slightly lighter background for the header */
    padding-bottom: 20px;
}

.header-top {
    font-size: 10;
    text-align: center;
    padding: 40px 0 20px 0;
}

.header-top h1 {
    font-size: 5em;
    font-weight: bold;
    letter-spacing: 2px;
    font-style:italic;
}

.header-top h2 {
  font-size: 1.5em;
  font-weight: normal;
  letter-spacing: 2px;
  
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between links */
}

.nav-link {
    color: #cccccc; /* Slightly grayed out links like the original site */
    text-decoration: none;
    font-size: 0.8em;
    padding: 8px 12px;
    border: 1px solid transparent; /* Placeholder for hover effect */
    transition: all 0.2s;
}

.nav-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* --- Content Sections --- */
main {
    padding: 40px 0;
}

.content-section {
    padding: 40px 0;

}

.content-section:last-child {
    border-bottom: none;
}

.content-container {
    max-width: 900px; /* Constrain content width */
    margin: 0 auto;
    padding: 0 20px;
}

.content-container h2 {
    color: #00ff6a; /* Green highlight color */
    font-size: 1.8em;
    margin-bottom: 15px;
}

.content-container h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: 2px solid #333333; /* Separator under title */
    padding-bottom: 5px;
    letter-spacing: 1px;
}

.video-placeholder {
    width: 100%;
    max-width: 600px;
    height: 350px;
    background-color: #333333;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px 0;
    color: #666666;
    font-size: 0.75em;
    border-top: 1px solid #333333;
}
            
            
/* --- Dropdown Menu Styles --- */
.dropdown {
    position: relative; /* This is key to positioning the drop-down content */
    display: inline-block;
}

/* Style the main link/toggle for the drop-down */
.dropdown-toggle {
    /* Inherits main-nav styles */
    cursor: pointer;
}

/* Dropdown Content (the sub-menu) */
.dropdown-content {
    display: none; /* HIDE IT by default */
    position: absolute;
    background-color: #1a1a1a; /* Dark background */
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    top: 100%; /* Position it right below the main link */
    left: 50%;
    transform: translateX(-50%); /* Center the drop-down below the link */
    border-top: 2px solid #00ff6a; /* Green highlight on top */
}

/* Style the individual links inside the drop-down */
.dropdown-content a {
    color: #cccccc;
    padding: 12px 16px;
    text-decoration: none;
    display: block; /* Makes each link take up its own row */
    text-align: left;
    font-size: 0.8em;
}

/* Change link color on hover inside the drop-down */
.dropdown-content a:hover {
    background-color: #333333; /* Slightly lighter background on hover */
    color: #ffffff;
}

/* SHOW the drop-down content when hovering over the main .dropdown container */
.dropdown:hover .dropdown-content {
    display: block;
}

/* --- New Styles for Side-by-Side Layout --- */
.project-media-wrapper {
    display: flex; /* Enable Flexbox */
    gap: 30px; /* Space between the text box and the video */
    align-items: flex-start; /* Aligns items to the top */
    margin-bottom: 20px;
}

.project-info {
    flex-basis: 300px; /* Give the text box a fixed width (adjust as needed) */
    flex-shrink: 0; /* Prevents the text box from shrinking */
}

/* Style for the project details list (UL) */
.project-details {
    list-style: none;
    margin-top: 15px;
    padding-left: 0;
}

.project-details li {
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 0.9em;
}

/* Ensure the iframe (video) is flexible */
.project-media-wrapper iframe {
    flex-grow: 1; /* Allows the video to take up the remaining space */
    width: 100%; /* Important for responsiveness within its flex container */
    max-width: none; /* Override any potentially conflicting styles */
}

/* Add a responsive breakpoint for smaller screens (e.g., mobile) */
@media (max-width: 768px) {
    .project-media-wrapper {
        flex-direction: column; /* Stack the text and video vertically */
        gap: 10px;
    }
    .project-info {
        flex-basis: auto; /* Reset width */
    }
}