/* RESETARE SI SETARI DE BAZA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* PALETA CULORI: ALB SI NEGRU */
.section-dark {
    background-color: #000;
    color: #fff;
    padding: 80px 20px;
}

.section-light {
    background-color: #fff;
    color: #000;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-center {
    text-align: center;
    margin-bottom: 30px;
}

/* HEADER / NAVIGATIE ACTUALIZAT (Spatii egale) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #333;
}

/* --- STANGA: LOGO --- */
.logo-container {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.1);
}

.logo-img {
    height: 60px;
    width: auto;
}

/* --- CENTRU: NUME ECHIPA --- */
.team-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- DREAPTA: MENIU NAVIGATIE --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero-section {
    height: 100vh;
    background-color: #050505;
    background-image: repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.09) 2px,
            transparent 2px,
            transparent 15px);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.valori {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.valoare-item {
    border: 1px solid #fff;
    padding: 15px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* GRID GENERAL */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

/* DESPRE ECHIPA (Carduri) */
.echipa-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.player-card {
    background-color: #fff;
    color: #000;
    border: 1px solid #333;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.player-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.player-info {
    padding: 20px;
}

.player-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.player-info .position {
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.player-info .desc {
    font-size: 0.9rem;
}

/* COMPETITII (Stiri) */
.competitii-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.news-card {
    border: 1px solid #ccc;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
}

.news-content .date {
    font-size: 0.8rem;
    font-weight: bold;
    color: #666;
}

.news-content h3 {
    margin: 10px 0;
    font-size: 1.3rem;
}

/* MEDIA */
.social-links-container {
    text-align: center;
    margin-bottom: 50px;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 2rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.media-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* PARTENERI */
.parteneri-logos {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.partener-box {
    width: 200px;
    height: 100px;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.partener-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.partener-box:hover {
    background-color: #000;
    color: #fff;
}

/* CONTACT */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    width: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}

.btn-submit {
    padding: 15px;
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #ccc;
}

/* FOOTER */
footer {
    background-color: #000;
    color: #666;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
}

/* --- BUTON SCROLL TO TOP --- */
#btn-sus {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#btn-sus.arata {
    opacity: 1;
    visibility: visible;
}

#btn-sus:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
    transform: translateY(-5px);
}

/* --- RESPONSIVITATE PENTRU TELEFOANE UNITĂ AICI --- */
@media (max-width: 768px) {

    /* Navbar mobil */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Ajustari Hero mobil */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .valori {
        flex-direction: column;
    }

    /* Ajustari grid mobil */
    .media-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Ajustari Buton Scroll mobil */
    #btn-sus {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}