/* --- TTU BRAND COLORS --- */
:root {
    --ttu-red: #CC0000;
    --ttu-black: #000000;
    --white: #FFFFFF;
}

/* --- WRAPPER & READABILITY --- */
#pfp-40th-anniversary {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

#pfp-40th-anniversary .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

#pfp-40th-anniversary .text-white {
    color: var(--white) !important;
}

/* --- HERO SECTION --- */
#pfp-40th-anniversary .hero-anniversary {
    /* Replace URL with your actual image path */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://www.depts.ttu.edu/hs/pfp/images/SFP-40th-celerbation.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pfp-40th-anniversary .hero-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-bottom: 5px solid var(--ttu-red);
    max-width: 800px;
}

#pfp-40th-anniversary .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Change only the Hero Button to Black */
#pfp-40th-anniversary .hero-anniversary .btn-primary {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #FFFFFF; /* Added a thin white border to help it stand out against the dark hero overlay */
}

/* Optional: Add a hover effect so it turns Red when moused over */
#pfp-40th-anniversary .hero-anniversary .btn-primary:hover {
    background-color: #CC0000 !important;
    border-color: #CC0000;
}

/* --- IMPACT BAR --- */
#pfp-40th-anniversary .impact-bar {
    background-color: var(--ttu-red);
    color: var(--white);
    padding: 50px 0;
}

#pfp-40th-anniversary .flex-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

#pfp-40th-anniversary .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    color: var(--white) !important;
}

#pfp-40th-anniversary .stat-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--white) !important;
}

/* --- TIMELINE SECTION --- */
#pfp-40th-anniversary .timeline-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

#pfp-40th-anniversary .section-heading {
    text-align: center;
    color: var(--ttu-black);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
}

#pfp-40th-anniversary .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

#pfp-40th-anniversary .timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--ttu-red);
    top: 0;
    bottom: 0;
    left: 20px;
}

#pfp-40th-anniversary .timeline-item {
    padding: 20px 40px;
    position: relative;
    width: auto;
}

#pfp-40th-anniversary .timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    left: 14px;
    background-color: var(--white);
    border: 4px solid var(--ttu-red);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

#pfp-40th-anniversary .timeline-date {
    font-weight: bold;
    color: var(--ttu-red);
    font-size: 1.2rem;
}

#pfp-40th-anniversary .timeline-content h3 {
    margin: 5px 0;
    color: var(--ttu-black);
}

/* --- CTA SECTION --- */
#pfp-40th-anniversary .cta-section {
    background-color: var(--ttu-black);
    padding: 100px 0;
    text-align: center;
}

/* --- BUTTONS --- */
#pfp-40th-anniversary .btn-primary {
    background-color: var(--ttu-red);
    color: var(--white) !important;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

#pfp-40th-anniversary .btn-secondary {
    background-color: #333333;
    color: var(--white) !important;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

#pfp-40th-anniversary .btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white) !important;
    padding: 12px 33px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* --- RESPONSIVE TIMELINE (Desktop) --- */
@media (min-width: 768px) {
    #pfp-40th-anniversary .timeline::after {
        left: 50%;
        margin-left: -2px;
    }
    #pfp-40th-anniversary .timeline-item {
        width: 50%;
        box-sizing: border-box;
    }
    #pfp-40th-anniversary .timeline-item:nth-child(even) {
        left: 50%;
    }
    #pfp-40th-anniversary .timeline-item:nth-child(odd) {
        text-align: right;
    }
    #pfp-40th-anniversary .timeline-dot {
        left: auto;
        right: -12px;
    }
    #pfp-40th-anniversary .timeline-item:nth-child(even) .timeline-dot {
        left: -12px;
    }
}

/* --- FEATURED STORY SECTION --- */
#pfp-40th-anniversary .featured-story {
    padding: 100px 0;
    /* Replace with a high-res photo of alumni or campus */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://www.depts.ttu.edu/hs/pfp/images/pfp-faces.jpg') no-repeat center center/cover;
}

#pfp-40th-anniversary .story-focus-card {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.85); /* Dark high-contrast box */
    padding: 50px;
    border-left: 8px solid var(--ttu-red);
}

#pfp-40th-anniversary .story-focus-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#pfp-40th-anniversary .story-focus-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Reusing your black button logic if preferred, 
   or keep it red to contrast against the black box */
#pfp-40th-anniversary .story-focus-content .btn-primary {
    background-color: var(--ttu-red) !important;
    border: none;
    transition: background 0.3s ease;
}

#pfp-40th-anniversary .story-focus-content .btn-primary:hover {
    background-color: #a30000 !important;
}