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

:root {
    --primary-red: #C41E3A;
    --secondary-red: #E63946;
    --dark-red: #A01728;
    --light-pink: #f8d7da;
    --dark-gray: #2b2b2b;
    --medium-gray: #4a4a4a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('images/austin_skyline.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 40px;
}

.logo-section {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-text {
    grid-column: 2;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.hero-buttons {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--medium-gray);
}

/* Mission Section */
.mission {
    background-color: var(--white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mission-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

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

.mission-card {
    background: linear-gradient(135deg, var(--light-pink) 0%, #f5e6e8 100%);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-card h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Leadership Section */
.leadership {
    background-color: var(--light-gray);
}

.leadership-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    color: var(--text-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-red);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-number {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 4px solid var(--white);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.timeline-content {
    position: absolute;
    width: 42%;
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.timeline-left {
    left: 0;
    text-align: right;
}

.timeline-right {
    right: 0;
    text-align: left;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-red);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.philosophy {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.philosophy h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.philosophy-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--light-gray);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

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

.footer-logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-red);
}

.footer-logo p {
    color: var(--light-gray);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--light-gray);
}

.version-info {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--chakra-fonts-mono), 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        grid-column: 1;
    }

    .hero-buttons {
        grid-column: 1;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .philosophy-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-number {
        position: absolute;
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px;
        text-align: left !important;
    }

    .timeline-left,
    .timeline-right {
        position: relative;
        left: auto;
        right: auto;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .logo-image {
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo-image {
        max-width: 200px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
