/* style.css */

:root {
    --warriors-blue: #1D428A;
    --warriors-gold: #FFC72C;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1, #top-header {
    font-size: 2.5rem;
    color: var(--warriors-gold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
    text-shadow: 0 4px 12px rgba(29, 66, 138, 0.6);
    margin-bottom: 15px;
}

nav {
    background: linear-gradient(135deg, var(--warriors-blue), #0b2559);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    animation: fadeIn 1.2s ease-out;
    border: 1px solid rgba(255, 199, 44, 0.3);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
    color: var(--warriors-gold);
    text-shadow: 0 0 10px rgba(255, 199, 44, 0.8);
}

main {
    width: 100%;
    max-width: 1200px;
    animation: fadeInUp 1s ease-out;
}

.news-stats {
    color: var(--warriors-gold);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
    animation: slideInLeft 0.8s ease-out;
}

.descriptions {
    line-height: 1.6;
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 35px auto;
}

/* Grids */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Cards (Sections and List Items) */
section, li {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--warriors-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section:hover, li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(29, 66, 138, 0.4);
}

section h2, li h3 {
    color: var(--warriors-gold);
    margin-top: 0;
}

section h2 {
    font-size: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

li h3 {
    font-size: 1.3rem;
}

section p, li p.descriptions {
    color: var(--text-muted);
}

li .descriptions {
    text-align: left;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

/* Media handling */
li img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    border: 2px solid var(--warriors-gold);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

li div img:hover, li img:hover {
    transform: scale(1.02);
}

/* Buttons and Links */
section a[href^="mailto:"] {
    display: inline-block;
    background-color: var(--warriors-blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid var(--warriors-gold);
    align-self: flex-start;
}

section a[href^="mailto:"]:hover {
    background-color: #15326b;
    transform: scale(1.03);
}

p > a[href^="#"] {
    display: block;
    text-align: center;
    color: var(--warriors-gold);
    text-decoration: none;
    font-weight: bold;
    margin-top: 40px;
    padding: 10px;
    transition: opacity 0.3s ease;
}

p > a[href^="#"]:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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