/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #222;
}
img {
    max-width: 100%;
    display: block;
}

/* Colors */
:root {
    --umn-maroon: #7A0019;
    --umn-gold: #FFCC33;
    --umn-gray: #f5f5f5;
    --text-dark: #222;
    --text-light: #fff;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: var(--umn-maroon);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo img {
    height: 60px;
}
.nav-menu {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
}
.nav-menu li a:hover {
    color: var(--umn-gold);
}

/* Dropdown */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    color: #000;
    top: 100%;
    left: 0;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 999;
}
.dropdown-content li {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}
.dropdown-content li a {
    color: #000;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background-image: url('assets/images/umn_bg_hero.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0); /* brighter overlay */
}

.hero-text {
    position: relative;
    color: var(--text-light);
    text-align: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--umn-gold);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-text p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


/* Main Sections */
.welcome-news {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 0;
    gap: 2rem;
}
.welcome, .news {
    flex: 1;
    min-width: 280px;
}
h2 {
    color: var(--umn-maroon);
    margin-bottom: 1rem;
}
ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.button {
    background-color: var(--umn-gold);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    margin-right: 1rem;
    border: none;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}
.button:hover {
    background-color: #e0b200;
    color: #000;
}
.button.secondary {
    background-color: #ffffff;
    color: var(--umn-maroon);
    border: 2px solid var(--umn-maroon);
}
.button.secondary:hover {
    background-color: var(--umn-maroon);
    color: #fff;
}

.committee-section {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #ddd;
}
.committee-section h2, .committee-section h3 {
    color: var(--umn-maroon);
    margin-bottom: 1rem;
}
.committee-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
.committee-card {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem;
    text-align: center;
}

.committee-card img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.committee-card-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.committee-card-affiliation {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.3;
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.sponsor-logo img {
    height: 100px;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Footer */
/* Footer container layout */
.footer {
    background-color: var(--umn-maroon);
    color: white;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-section {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-section h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-past-years {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-past-years ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-past-years li {
    margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
    }
    .footer-past-years {
        flex-direction: column;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero {
        height: 400px;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
}
