/* styles.css */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --tertiary-color: #333333;
    --accent-color: #ff4d4d;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

main {
    margin-top: 80px;
    padding: 2rem;
}

.hero {
    height: 80vh;
    position: relative;
    margin-bottom: 4rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide:nth-child(9) {
    background-position: center 20%;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    text-align: left;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--text-color);
    text-align: left;
}

.hero h1 .university-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-color);
    text-align: left;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 80%;
    text-align: left;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.about {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.disciplines {
    margin-top: 3rem;
}

.disciplines h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
}

.discipline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.discipline-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.discipline-card:hover {
    transform: translateY(-5px);
}

.discipline-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.discipline-card p {
    color: var(--text-secondary);
}

.leadership {
    background-color: var(--tertiary-color);
    padding: 4rem 2rem;
}

.leadership h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    text-align: center;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.leader-card {
    background-color: var(--secondary-color);
    padding: 2rem 0 2rem 0;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.leader-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
}

.belt-band {
    display: block;
    width: 100%;
    margin: 1.2rem 0 0.1rem 0;
    padding: 0.5rem 0;
    border-radius: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    background: #222;
}

.belt-band.belt-black { background: #222; }
.belt-band.belt-blue { background: #1976d2; }
.belt-band.belt-purple { background: #8e24aa; }
.belt-band.belt-white {
    background: #fff;
    color: #222;
    border: 2px solid #222;
}
.belt-band.belt-red {
    background: crimson;
    color: #fff;
}

.leader-card h3 {
    position: relative;
    z-index: 3;
}

.leader-card .leader-role,
.leader-card .class-year {
    position: relative;
    z-index: 3;
}

.leader-card h3 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.leader-role {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.view-more {
    display: block;
    text-align: center;
    margin-top: 3rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: var(--text-color);
}

.schedule {
    background-color: var(--primary-color);
    padding: 4rem 2rem;
}

.schedule h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.calendar-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.calendar-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: var(--secondary-color);
}

@media (max-width: 900px) {
    .calendar-container iframe {
        width: 100%;
        height: 500px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .captains-grid {
        gap: 1rem;
    }

    .captain .leader-image {
        width: 150px;
        height: 150px;
    }

    .leader-card {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .calendar-container iframe {
        height: 400px;
    }

    .leadership-grid {
        padding: 0 1rem;
    }

    .captains-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .captain {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .captain .leader-image {
        width: 180px;
        height: 180px;
    }

    .leader-card {
        padding: 1.5rem;
    }

    .hero-content {
        padding: 2rem;
        margin: 0 auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero h1 .university-name {
        font-size: 1.4rem;
        text-align: center;
    }

    .hero p {
        max-width: 100%;
        text-align: center;
    }
}

.contact {
    background-color: var(--secondary-color);
    padding: 3rem 2rem;
    color: var(--text-color);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--text-color);
}

@media (max-width: 600px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

.eboard {
    background-color: var(--primary-color);
    padding: 2rem 2rem 4rem 2rem;
}

.eboard h1 {
    font-size: 3rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2rem;
}

.eboard-section {
    margin-bottom: 3rem;
}

.eboard-section h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.eboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.eboard-section:nth-of-type(2) .eboard-grid {
    gap: 1rem;
}

.member-card {
    background-color: var(--secondary-color);
    padding: 2rem 0 2rem 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
}

.member-card h3 {
    color: var(--text-color);
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.member-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 900px) {
    .eboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .member-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 .university-name {
        font-size: 1.4rem;
    }

    .eboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .member-card {
        padding: 1rem;
    }

    .member-image {
        width: 160px;
        height: 160px;
    }

    .member-card h3 {
        font-size: 1.2rem;
    }

    .member-role {
        font-size: 0.9rem;
    }
}

.website-credit {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    padding-bottom: 0;
}

.website-credit a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.website-credit a:hover {
    color: var(--text-color);
}

.captains-names-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.captain-name h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

@media (max-width: 900px) {
    .captains-names-grid {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .captains-names-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}
  