/*
 * Copyright (c) 2026 NoNiMaLaEl (Gârneață Dragoș-Mihai)
 * All rights reserved. Unauthorized copying, distribution, or reproduction of this work is strictly prohibited.
 */

:root {
    --primary-color: #b91c1c;
    /* Stronger Red */
    --primary-dark: #991b1b;
    --text-dark: #111827;
    --text-light: #4b5563;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #d1d5db;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-heading: 'Inter', sans-serif;
    /* Could be Roboto or Oswald for sportier look */
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

/* Header - Sport Federation Style */
.header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-symbol {
    color: var(--primary-color);
    font-size: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - Bold & Pronounced */
.hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/hero-bg.png') center/cover no-repeat;
    opacity: 0.7;
    /* Much more visible */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    /* Glass effect box */
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: #e5e7eb;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(185, 28, 28, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.23);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Features - Overlapping Section */
.features {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #fef2f2;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* News Section */
.news.section {
    background: white;
    padding: 6rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    position: relative;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
}

.news-date {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    width: fit-content;
    border-radius: 0 0 8px 0;
}

.news-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.news-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    flex-grow: 1;
}

.read-more {
    display: block;
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.read-more:hover {
    background: #f3f4f6;
    text-decoration: none;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding-top: 5rem;
}

.footer h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features {
        margin-top: 0;
        padding-top: 4rem;
    }

    .nav {
        position: fixed;
        background: white;
        width: 100%;
        top: 80px;
        left: 0;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }
}