* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    background-color: #1b1b1b;
    color: #00ff00;
    line-height: 1.6;
    padding: 0;
    font-size: 16px;
}
h1, h2, h3 {
    color: #00ff00;
}
a {
    text-decoration: none;
    color: #00ff00;
    transition: color 0.3s;
}
a:hover {
    color: #ff0033;
}
header {
    background-color: #0a0a0a;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}
header h1 {
    font-size: 2.5rem;
}
.navbar {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.navbar a {
    margin: 0 20px;
    font-size: 1.2rem;
}
.hero {
    background: url('https://source.unsplash.com/1600x900/?code,hacking') no-repeat center center/cover;
    height: 400px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
}
.container {
    padding: 40px;
    text-align: center;
}
.container h2 {
    margin-bottom: 20px;
}
.card {
    background-color: #333;
    border: 1px solid #444;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s;
}
.card:hover {
    transform: scale(1.05);
}
footer {
    background-color: #0a0a0a;
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 40px;
}
footer a {
    color: #00ff00;
    text-decoration: none;
}
footer a:hover {
    color: #ff0033;
}
@media screen and (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .card {
        width: 100%;
        margin: 10px 0;
    }
}
/* Stiluri pentru pagina de contact */
.contact-section {
    background-color: #1b1b1b;
    color: #00ff00;
    padding: 40px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}

.form-group label {
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: block;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #222;
    color: #00ff00;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #00ff00;
    color: #1b1b1b;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #ff0033;
}
/* Stiluri pentru pagina Despre */
.about-section {
    background-color: #1b1b1b;
    color: #00ff00;
    padding: 40px;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.about-content > div {
    width: 45%;
    margin-bottom: 30px;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-content ul {
    list-style-type: none;
    padding: 0;
}

.about-content li {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.about-content li strong {
    color: #ff0033;
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-content > div {
        width: 80%;
    }
}
/* Fundal global pentru întreaga pagină */
body {
    background: url('https://source.unsplash.com/1600x900/?hacking,code') no-repeat center center/cover;
    background-size: cover;
    color: #00ff00;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Overlay semitransparent pentru a face textul mai lizibil pe fundal */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oferă un overlay semitransparent pentru întregul site */
    z-index: -1; /* Asigurăm că overlay-ul este sub conținutul paginii */
}

/* Stiluri generale pentru header, footer și restul elementelor */
header, footer {
    z-index: 1;
    position: relative;
}

h1, h2, h3, p, a {
    z-index: 1;
}

a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff0033;
}

/* Alte stiluri pentru pagină - navbar, secțiuni, carduri */
header {
    background-color: rgba(10, 10, 10, 0.7); /* Header cu fundal semitransparent */
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.navbar a {
    margin: 0 20px;
    font-size: 1.2rem;
}

footer {
    background-color: rgba(10, 10, 10, 0.7);
    padding: 20px;
    text-align: center;
}

footer a {
    color: #00ff00;
}

/* Stiluri pentru secțiunile de conținut */
section {
    z-index: 1;
}

.hero {
    background: none; /* Nu este necesar să adăugăm o altă imagine pentru secțiunea hero */
    padding: 100px 0;
    text-align: center;
    color: white;
}

.card {
    background-color: #333;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Responsivitate */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .card {
        width: 90%;
        margin: 10px auto;
    }
}
/* Stiluri pentru navbar */
.navbar {
    display: flex;
    justify-content: center;
    background-color: #111;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Umbra subtilă pentru întreaga navbar */
}

.navbar a {
    color: #00ff00;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 12px 20px;
    margin: 0 15px;
    border-radius: 5px;  /* Colțuri rotunjite pentru butoane */
    transition: all 0.3s ease-in-out; /* Efecte de tranziție pentru toate schimbările */
    position: relative;
}

/* Efecte de hover pentru butoane */
.navbar a:hover {
    background-color: #00ff00;  /* Culoare de fundal verde */
    color: #111;  /* Textul devine negru pentru contrast */
    transform: scale(1.1);  /* Butonul crește ușor */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4); /* Umbra se intensifică la hover */
}

/* Efect de activare (dacă butonul este apăsat) */
.navbar a:active {
    transform: scale(1);  /* Butonul revine la dimensiunea normală */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Umbra revine la normal */
}

/* Efect de hover mai subtil pe fondul dark */
.navbar a:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #ff0033;  /* O linie subțire de evidențiere */
    transform: translate(-50%, -50%);
    animation: lineAnimation 0.3s ease-in-out;
}

/* Animația liniei care apare sub buton la hover */
@keyframes lineAnimation {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}
