/* Arsenal FC History - Stylesheet */

:root {
    --arsenal-red: #EF0107;
    --arsenal-dark-red: #9C0006;
    --arsenal-gold: #FFCD00;
    --arsenal-navy: #023474;
    --arsenal-white: #FFFFFF;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1a;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1000;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav .logo img {
    height: 50px;
}

nav .logo span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--arsenal-red);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--arsenal-red), var(--arsenal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--arsenal-gold);
    margin-bottom: 10px;
}

.hero-content .founded {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* SECTIONS */
.section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--arsenal-red);
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--arsenal-red), var(--arsenal-gold));
    margin: 20px auto 0;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* TIMELINE */
.history-timeline {
    position: relative;
    padding-left: 50px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--arsenal-red), var(--arsenal-gold), var(--arsenal-red));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding: 30px;
    background: var(--dark-bg);
    border-radius: 10px;
    border-left: 4px solid var(--arsenal-red);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--arsenal-red);
    border-radius: 50%;
    border: 4px solid var(--darker-bg);
}

.timeline-item.highlight {
    border-left-color: var(--arsenal-gold);
    background: linear-gradient(135deg, var(--dark-bg), rgba(255,205,0,0.1));
}

.timeline-item.highlight::before {
    background: var(--arsenal-gold);
}

.timeline-item .year {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--arsenal-gold);
    margin-bottom: 10px;
}

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

.timeline-item img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.timeline-item p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* PLAYER GRID */
.player-grid {
    display: grid;
    gap: 40px;
}

.player-card {
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

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

.player-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--arsenal-red), var(--arsenal-dark-red));
}

.player-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--arsenal-gold);
}

.player-info h3 {
    font-size: 2rem;
    color: var(--arsenal-white);
    margin-bottom: 5px;
}

.player-info .position {
    font-size: 1.1rem;
    color: var(--arsenal-gold);
    margin-bottom: 5px;
}

.player-info .stats {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.player-content {
    padding: 30px;
}

.player-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.player-content p:last-child {
    margin-bottom: 0;
}

/* TROPHIES */
.trophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.trophy-item {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.trophy-item:hover {
    border-color: var(--arsenal-red);
    transform: scale(1.02);
}

.trophy-item.special {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--dark-bg), rgba(255,205,0,0.1));
    border-color: var(--arsenal-gold);
}

.trophy-count {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--arsenal-red);
    line-height: 1;
}

.trophy-item.special .trophy-count {
    color: var(--arsenal-gold);
}

.trophy-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 15px 0;
}

.trophy-years {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* STADIUM */
.stadium-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.stadium-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.stadium-info h3 {
    font-size: 2rem;
    color: var(--arsenal-red);
    margin-bottom: 20px;
}

.stadium-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.stadium-info li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.stadium-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.stadium-history {
    margin-top: 80px;
    text-align: center;
}

.stadium-history h3 {
    font-size: 1.8rem;
    color: var(--arsenal-gold);
    margin-bottom: 30px;
}

.stadium-history img {
    max-width: 800px;
    width: 100%;
    margin: 0 auto 30px;
    border-radius: 15px;
}

.stadium-history p {
    max-width: 900px;
    margin: 0 auto 15px;
    color: var(--text-muted);
}

/* FOOTER */
footer {
    background: var(--dark-bg);
    padding: 60px 50px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    height: 80px;
    opacity: 0.8;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 5px;
    color: var(--text-muted);
}

.footer-credits {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .stadium-content {
        grid-template-columns: 1fr;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 20px !important;
        line-height: 2 !important;
    }
    
    p {
        font-size: 20px !important;
        line-height: 2 !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .tagline {
        font-size: 1.3rem !important;
    }
    
    .hero-content .founded {
        font-size: 1.2rem !important;
    }
    
    .section {
        padding: 60px 15px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1.2rem !important;
    }
    
    .history-timeline {
        padding-left: 25px;
    }
    
    .history-timeline::before {
        left: 8px;
    }
    
    .timeline-item {
        padding: 20px;
    }
    
    .timeline-item::before {
        left: -30px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item h3 {
        font-size: 1.5rem;
    }
    
    .timeline-item p {
        font-size: 20px !important;
        line-height: 2 !important;
    }
    
    .timeline-item .year {
        font-size: 1.4rem;
    }
    
    .timeline-item .content p {
        font-size: 20px !important;
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .player-info h3 {
        font-size: 1.8rem;
    }
    
    .player-info .position,
    .player-info .stats {
        font-size: 1.2rem !important;
    }
    
    .player-content {
        padding: 20px;
    }
    
    .player-content p {
        font-size: 20px !important;
        line-height: 2 !important;
    }
    
    .trophy-name {
        font-size: 1.4rem;
    }
    
    .trophy-years {
        font-size: 1.1rem !important;
    }
    
    .trophy-item {
        padding: 25px;
    }
    
    .stadium-info li,
    .stadium-info p,
    .stadium-history p {
        font-size: 20px !important;
        line-height: 2 !important;
    }
    
    nav ul {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-credits {
        text-align: center;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--arsenal-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--arsenal-dark-red);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item,
.player-card,
.trophy-item {
    animation: fadeInUp 0.6s ease-out;
}
