/* * MEU.css - Enhanced Stylesheet for Main MEU Page
 * Primary Color: Dark Blue (#003366) - SVIMS Brand Color
 * Accent Color: Gold/Yellow (#FFC72C) - For contrast and emphasis
 * Secondary Background: Very Light Blue (#f0f8ff)
 */

:root {
    --primary-color: #003366; 
    --accent-color: #FFC72C; /* Gold/Yellow */
    --secondary-bg: #f0f8ff; /* Light Blue/Grey */
    --text-color: #333;
    --border-color: #ddd;
    --background-color: #f7f9fb; /* Overall page background */
}

/* --- Base Styles --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Header and Navigation Centering and Styling --- */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Centers H1 and NAV content */
    padding: 0 15px;
}

.site-header h1 {
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Navigation Links --- */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.main-nav a, .main-nav .main-dropdown-link {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    font-size: 1em;
}

.main-nav a:hover, .main-nav .main-dropdown-link:hover {
    background-color: var(--accent-color); /* Gold background on hover */
    color: var(--primary-color); /* Dark blue text on hover */
}

/* --- Dropdown Menu Styles (Moved from inline <style>) --- */
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.main-nav li {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Position right below the main link */
    left: 50%;
    transform: translateX(-50%); /* Centers the dropdown under the link */
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 6px 12px 0px rgba(0,0,0,0.3);
    z-index: 10;
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    padding: 0; /* Remove default padding */
}

.dropdown-content a {
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: var(--secondary-bg);
    color: #000;
}

.main-nav li:hover .dropdown-content {
    display: block;
}

.nav-toggle {
    display: none; /* Hide on desktop */
}

/* --- Section Content Layout --- */
.section {
    max-width: 1000px;
    margin: 30px auto;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--accent-color); /* Gold top border for flair */
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-bg);
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.8em;
    font-weight: 600;
}

/* --- Differentiation Styles: Tables and Lists --- */

/* Wrapper for Tables (Curriculum and Faculty) */
.table-container {
    padding: 20px;
    background-color: var(--secondary-bg); /* Light background for the table block */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 20px;
}

/* Styled Table for Members/Faculty */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.styled-table th, .styled-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

.styled-table thead th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.styled-table tbody tr:hover {
    background-color: #e0f0ff; /* Slightly darker light blue on hover */
}

/* Workshop Summary Lists */
.workshop-summary {
    border-left: 8px solid var(--primary-color); /* Strong vertical line differentiator */
    border-radius: 0 12px 12px 0;
}

.workshop-list {
    list-style-type: none; /* Remove default bullet */
    padding-left: 0;
    margin-top: 15px;
}

.workshop-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 25px;
}

/* Custom list marker (Dark blue bullet/dot) */
.workshop-list li::before {
    content: '•'; 
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* --- Footer Style --- */
.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #444;
    color: #f0f0f0;
    font-size: 0.9em;
    margin-top: 40px;
}

/* --- Gallery Grid (Basic styling for the image placeholders) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding-top: 15px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}
