/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #C8102E;
    --dark-red: #A00D25;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    height: 80px;
    padding: 0;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    padding-top: calc(80px + 2rem);
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mission-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.8;
    color: var(--text-dark);
    text-transform: uppercase;
}

.hero-about {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 0;
}

.hero-about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.hero-values {
    margin-top: 1rem;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.hero-values h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.value-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: inherit;
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.15);
    border-color: var(--primary-red);
    color: inherit;
}

.value-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.value-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* Sections */
.section {
    padding: 3rem 2rem;
    min-height: auto;
    display: flex;
    align-items: flex-start;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-red);
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.content-block {
    margin-bottom: 2rem;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Our Events / Anime Boston */
.event-subsection {
    margin-top: 2rem;
}

.event-subsection:first-of-type {
    margin-top: 0;
}

.subsection-title {
    font-size: 1.75rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.past-events-list {
    list-style: none;
    padding-left: 0;
}

.past-events-list li {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.past-events-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Anime Boston Section */
.anime-boston-section .container {
    max-width: 900px;
}

.anime-boston-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.anime-boston-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.placeholder-image {
    aspect-ratio: 16 / 10;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.placeholder-image span {
    padding: 1rem;
    text-align: center;
}

.anime-boston-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.anime-boston-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.anime-boston-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.anime-boston-link:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.values-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.hero-values .values-list li {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Officers Grid */
.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.officer-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.officer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.1);
    border-color: var(--primary-red);
}

.officer-card h3 {
    font-size: 1rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.officer-card p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Board Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.board-member {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.board-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.1);
}

/* Person Emoji Placeholder */
.person-emoji {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: var(--white);
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.board-member:hover .person-emoji,
.officer-card:hover .person-emoji {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
}

/* Person Image (for Todd and future real photos) */
.person-image {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover .person-image,
.officer-card:hover .person-image {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3);
}

/* Todd's image styling is now handled by .person-image */

.todd-tooltip {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.todd-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-red);
}

.todd-member.active .todd-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.ombudsman {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Value Modal */
.value-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.value-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.value-modal-close:hover {
    color: var(--primary-red);
}

.value-modal-body {
    padding-top: 1rem;
}

.value-modal-body h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        min-height: 60px;
    }

    .nav-logo {
        height: 60px;
    }

    .logo-img {
        height: 100%;
    }

    .hero {
        padding-top: calc(60px + 2rem);
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .mission-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-content {
        gap: 2rem;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero-about {
        margin-top: 1.5rem;
    }

    .hero-about p {
        font-size: 1rem;
    }

    .mission-text {
        font-size: 1.1rem;
    }

    .hero-values {
        margin-top: 2rem;
    }

    .hero-values h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .value-card {
        padding: 1.5rem 1rem;
    }

    .value-icon {
        font-size: 2rem;
    }

    .value-card h4 {
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .officers-grid,
    .board-grid {
        grid-template-columns: 1fr;
    }

    .person-emoji,
    .person-image {
        width: 100px;
        height: 100px;
        font-size: 4rem;
    }

    .anime-boston-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .anime-boston-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        min-height: 50px;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .nav-logo {
        height: 50px;
    }

    .logo-img {
        height: 100%;
    }

    .hero {
        padding-top: calc(50px + 1rem);
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .mission-text {
        font-size: 0.9rem;
    }

    .hero-about {
        margin-top: 1rem;
    }

    .hero-about p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .person-emoji,
    .person-image {
        width: 90px;
        height: 90px;
        font-size: 3.5rem;
    }

    .hero-values {
        margin-top: 1.5rem;
    }

    .hero-values h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 1.25rem 1rem;
    }

    .value-icon {
        font-size: 1.75rem;
    }

    .value-card h4 {
        font-size: 0.85rem;
    }

    .anime-boston-images {
        grid-template-columns: 1fr;
    }

    .placeholder-image span {
        font-size: 0.85rem;
    }
}
