/* Stiluri Generale PULA */
body {
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
    padding-top: 70px; /* Adaugă padding pentru header-ul sticky */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0; /* Am scos padding-ul lateral ca să se alinieze cu header-ul */
}

/* Header și Navigație */
.site-header {
    background-color: #111;
    padding: 10px 0;
    border-bottom: 3px solid #e53935;
    position: fixed; /* Schimbat în fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box; /* Asigură că padding-ul nu adaugă la lățime */
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    height: 40px;
    width: auto;
}

.nav-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-lista li {
    margin-left: 25px;
}

.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.nav-link:hover, .nav-link.active {
    color: #e53935;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #e53935;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0.5em;
}

.hamburger {
    display: block;
    position: relative;
    background-color: #f0f0f0;
    width: 2em;
    height: 3px;
    border-radius: 1px;
    transition: transform 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    background-color: #f0f0f0;
    width: 100%;
    height: 100%;
    border-radius: 1px;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.hamburger::before { top: -0.6em; }
.hamburger::after { top: 0.6em; }

/* Hero Section */
/* Header / Hero Section */
.hero {
    /* Eliminăm imaginea de fundal și gradientul anterior */
    background: linear-gradient(to right, 
        #001c52 0%, #001c52 33.33%,       /* Albastru Cobalt - prima treime */
        #ee970e 33.33%, #ee970e 66.66%,  /* Galben Crom - a doua treime */
        #940b18 66.66%, #940b18 100%     /* Roșu Vermillon - ultima treime */
    );
    color: white; /* Textul din hero va fi alb */
    /* Consideră să adaugi un text-shadow pentru lizibilitate mai bună pe galben */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); 
    
    padding: 80px 20px 60px 20px;
    text-align: center;
    /* Poți păstra border-bottom sau îl poți scoate, după preferință */
    border-bottom: 5px solid #e53935; /* Sau #000, sau fără */
}

/* Restul stilurilor pentru .hero h1, .hero p, .hero .btn-principal etc. rămân la fel */

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-family: 'Georgia', 'Times New Roman', serif;
    /* Poți ajusta text-shadow aici specific pentru h1 dacă e necesar */
}

.hero .logo-pula-mare {
    width: 120px;
    margin-bottom: 20px;
    /* Dacă logo-ul nu se vede bine pe tricolor, poți adăuga un mic fundal sau umbră pentru el */
    /* background-color: rgba(0, 0, 0, 0.3); */
    /* border-radius: 50%; */
    /* padding: 5px; */
}

.hero p {
    font-size: 1.25em;
    margin-bottom: 35px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-principal {
    background-color: #222; /* O culoare neutră pentru buton, ca să iasă în evidență pe tricolor */
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #000; 
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    text-transform: uppercase;
}

.hero .btn-principal:hover {
    background-color: #000;
    transform: scale(1.05);
}

/* Secțiuni Generale */
.sectiune {
    padding: 50px 0;
    border-bottom: 1px dashed #444;
}
.sectiune:last-of-type { border-bottom: none; } /* Ultimul element de tip .sectiune dintr-un părinte */


.sectiune h2 {
    text-align: center;
    font-size: 2.8em;
    color: #e53935;
    margin-bottom: 40px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.sectiune p, .sectiune ul, .sectiune ol {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    font-size: 1.05em;
}
.sectiune ul { list-style: disc; padding-left: 20px;}
.sectiune ol { list-style: decimal; padding-left: 20px;}
.sectiune strong { color: #e53935; }

/* Carduri */
.carduri-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.card {
    background: #2a2a2a;
    border: 1px solid #444;
    border-left: 5px solid #e53935;
    padding: 25px;
    border-radius: 8px;
    width: calc(50% - 45px);
    min-width: 290px;
    box-shadow: 0 3px 7px rgba(0,0,0,0.3);
}
.card h3 { font-size: 1.6em; color: #f0f0f0; margin-top: 0; margin-bottom: 10px;}
.card p { font-size: 1em; }

/* Comunitate Linkuri */
.comunitate-linkuri { text-align: center; }
.comunitate-linkuri a, .btn-secundar {
    display: inline-block;
    background-color: #333;
    color: #e53935;
    padding: 12px 25px;
    margin: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #555;
}

.comunitate-linkuri a:hover, .btn-secundar:hover {
    background-color: #e53935;
    color: white;
    border-color: #e53935;
}

/* Stil pentru pagina Whitepaper și Reguli */
.document-page iframe {
    width: 100%;
    height: 80vh; /* Ajustează înălțimea după nevoie */
    border: 2px solid #e53935;
    border-radius: 5px;
    margin-top: 20px;
}
.document-page .btn-download {
    display: inline-block;
    margin-top: 20px;
    background-color: #e53935;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.document-page .btn-download:hover { background-color: #c62828; }

/* Porunci PULA */
.porunci-lista {
    list-style-type: none;
    padding-left: 0;
}
.porunci-lista li {
    background: #2a2a2a;
    border-left: 5px solid #e53935;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}
.porunci-lista strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}


/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    background: #111;
    margin-top: 50px;
    font-size: 0.9em;
    border-top: 3px solid #e53935;
}
footer p { margin: 8px 0; }
footer a { color: #e53935; text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* Responsive Design */
@media (max-width: 768px) {
    body { padding-top: 60px; /* Ajustat pentru header-ul mai mic pe mobil */ }
    .site-header { padding: 8px 0; }
    .logo-nav { height: 35px; }

    .nav-lista {
        display: none;
        position: absolute;
        background-color: rgba(28, 28, 28, 0.98); /* Puțin transparent */
        width: 100%;
        left: 0;
        top: 100%; /* Apare sub header (56px + 3px border = 59px approx) */
        flex-direction: column;
        padding: 0.5em 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.5);
        border-top: 1px solid #444;
    }
    .nav-lista--vizibila { display: flex; }
    .nav-lista li { margin: 0; text-align: center; width: 100%;}
    .nav-link { display: block; padding: 0.8em 1em; width: 100%; border-bottom: 1px solid #333;}
    .nav-lista li:last-child .nav-link { border-bottom: none; }
    .nav-link:hover { background-color: #333; color: #e53935; }
    .nav-link::after { display: none; }
    .nav-toggle { display: block; }
    .nav-toggle.active .hamburger { transform: rotate(45deg); }
    .nav-toggle.active .hamburger::before { top: 0; transform: rotate(90deg); }
    .nav-toggle.active .hamburger::after { display: none; }

    .hero h1 { font-size: 2.2em; }
    .hero p { font-size: 1.05em; }
    .hero .btn-principal { font-size: 1.1em; padding: 14px 28px; }
    .logo-pula-mare { width: 100px; }

    .sectiune h2 { font-size: 2em; }
    .card { width: 100%; margin-bottom: 20px;}
    .carduri-container { gap: 0; }
}