/* ============================================
   CWRU Beta Alumni - Beta Theta Pi Theme
   ============================================ */

/* Google Fonts - Clean sans-serif like beta.org */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables - Beta Theta Pi Colors */
:root {
    /* Brand Colors */
    --beta-navy: #002f6c;
    --beta-navy-dark: #001f4a;
    --beta-blue: #69b3e7;
    --beta-blue-light: #a8d4f0;
    --beta-pink: #e8b4bc;
    --beta-pink-accent: #d4919d;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --black: #212529;

    /* Feedback */
    --success: #28a745;
    --error: #dc3545;

    /* Typography */
    --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--beta-blue);
    color: var(--white);
}

a {
    color: var(--beta-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--beta-blue);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--beta-blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--beta-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: var(--beta-navy);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--beta-navy) 0%, var(--beta-navy-dark) 100%);
    color: var(--white);
    padding: 100px 0 120px;
    text-align: center;
    overflow: hidden;
}

/* Subtle diagonal accent */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(105, 179, 231, 0.1) 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--beta-blue-light);
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--beta-navy) 0%, var(--beta-navy-dark) 100%);
    color: var(--white);
    padding: 60px 0 70px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--gray-50);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--beta-navy);
    text-align: center;
    margin-bottom: 12px;
}

.section-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto 48px;
}

/* Section with side image */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.section-content .section-title,
.section-content .section-intro {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-content .contact-form {
    margin: 0;
}

/* Section header image */
.section-header-image {
    margin-bottom: 32px;
}

.section-header-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.required {
    color: var(--beta-pink-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--black);
    background-color: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--beta-blue);
    box-shadow: 0 0 0 3px rgba(105, 179, 231, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-status {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: var(--success);
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: var(--error);
    border: 1px solid #f5c6cb;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--beta-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #5aa3d7;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 179, 231, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--beta-navy);
    border: 2px solid var(--beta-navy);
}

.btn-secondary:hover {
    background-color: var(--beta-navy);
    color: var(--white);
}

/* ============================================
   Volunteer / Opportunity Cards
   ============================================ */
/* Volunteer layout */
.volunteer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
}

.volunteer-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.opportunities {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.opportunity-card {
    background-color: var(--white);
    padding: 36px 28px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.opportunity-icon {
    color: var(--beta-blue);
    margin-bottom: 20px;
}

.opportunity-icon svg {
    width: 48px;
    height: 48px;
}

.opportunity-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--beta-navy);
    margin-bottom: 12px;
}

.opportunity-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.volunteer-cta {
    text-align: center;
}

/* ============================================
   Give Section
   ============================================ */
.give-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.give-content > p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.payment-option {
    background-color: var(--gray-50);
    padding: 36px 28px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: border-color 0.2s ease;
}

.payment-option:hover {
    border-color: var(--beta-blue);
}

.payment-option h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--beta-navy);
    margin-bottom: 16px;
}

.paypal-qr {
    width: 140px;
    height: auto;
    margin: 0 auto 16px;
    border-radius: 4px;
}

.zelle-logo {
    width: 120px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    border-radius: 8px;
}

.zelle-info {
    font-size: 15px;
    color: var(--gray-600);
}

.zelle-info strong {
    color: var(--beta-navy);
    font-weight: 600;
}

/* ============================================
   Events Page
   ============================================ */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 800px;
    margin: 0 auto 56px;
}

.event-card {
    display: flex;
    gap: 28px;
    background-color: var(--white);
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 20px 16px;
    background-color: var(--beta-navy);
    color: var(--white);
    border-radius: 8px;
    text-align: center;
}

.event-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--beta-blue-light);
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 4px 0;
}

.event-year {
    font-size: 13px;
    opacity: 0.7;
}

.event-details {
    flex: 1;
}

.event-details h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--beta-navy);
    margin-bottom: 8px;
}

.event-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--beta-blue);
    margin-bottom: 10px;
}

.event-description {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 14px;
    line-height: 1.6;
}

.event-contact {
    font-size: 14px;
    color: var(--gray-600);
}

.event-contact a {
    color: var(--beta-navy);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--gray-300);
    text-underline-offset: 2px;
}

.event-contact a:hover {
    text-decoration-color: var(--beta-blue);
}

.events-cta {
    text-align: center;
}

.events-cta p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

/* ============================================
   Visit Us Page
   ============================================ */
.visit-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.visit-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--beta-navy);
    margin-bottom: 16px;
}

.visit-content > p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.visit-content > p.address {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--beta-navy);
    margin-bottom: 24px;
}

.chapter-link {
    margin-bottom: 56px;
}

/* Featured photo */
.photo-featured {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.photo-featured img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.photo-featured .photo-caption {
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    background-color: var(--white);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.photo-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.photo-caption {
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    background-color: var(--white);
}

/* Location Map */
.location-map {
    margin-bottom: 32px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.map-container iframe {
    display: block;
}

.mailing-list {
    background-color: var(--gray-50);
    padding: 48px 40px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.mailing-list h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--beta-navy);
    margin-bottom: 12px;
}

.mailing-list p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--beta-navy);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.footer p {
    margin: 4px 0;
    font-size: 14px;
    opacity: 0.85;
}

.footer p:first-child {
    font-size: 13px;
    opacity: 0.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 900px) {
    :root {
        --section-padding: 64px;
    }

    .section-with-image {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-image {
        order: -1;
    }

    .section-image img {
        height: 250px;
    }

    .section-content .section-title,
    .section-content .section-intro {
        text-align: center;
    }

    .section-content .contact-form {
        margin: 0 auto;
    }

    .volunteer-layout {
        grid-template-columns: 1fr;
    }

    .volunteer-image {
        order: -1;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px 24px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav.nav-open {
        display: flex;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        padding: 64px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .page-hero {
        padding: 48px 0 56px;
    }

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

    .event-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .event-date {
        width: 100%;
        max-width: 140px;
    }

    .event-details {
        text-align: center;
    }

    .mailing-list {
        padding: 36px 24px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 14px 16px;
    }

    .logo img {
        height: 38px;
    }

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

    .section-title {
        font-size: 1.65rem;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .opportunity-card {
        padding: 28px 20px;
    }

    .payment-option {
        padding: 28px 20px;
    }
}
