/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', sans-serif;
}

body {
    background-color: #121212; /* Fundal închis */
    color: #e0e0e0; /* Text deschis */
    line-height: 1.6;
    margin: 20px;
    font-size: 16px;
}

/* Container for the page content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #1e1e1e; /* Fundal închis */
    border: 1px solid #333333; /* Bordură mai întunecată */
    border-radius: 8px;
}

/* Style for headers */
h1, h2 {
    color: #e0e0e0; /* Text deschis */
    margin-bottom: 20px;
    font-weight: 300;
    text-align: center;
}

h1 {
    font-size: 2em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #3498db;
    padding-bottom: 8px;
}

/* Grid layout for categories */
ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

/* Card style for categories */
ul li {
    background: #2e2e2e; /* Fundal închis */
    padding: 15px;
    border: 1px solid #444444; /* Bordură mai întunecată */
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Umbra mai întunecată */
}

ul li a {
    text-decoration: none;
    color: #3498db; /* Link deschis */
    font-weight: 400;
    display: block;
    transition: color 0.3s;
}

ul li a:hover {
    color: #2980b9;
}

/* Style for buttons */
button {
    background: #3498db;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* Style for forms */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
    color: #e0e0e0; /* Text deschis */
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="number"] {
    padding: 10px;
    border: 1px solid #444444; /* Bordură mai întunecată */
    border-radius: 4px;
    width: 100%;
    background-color: #2e2e2e; /* Fundal închis */
    color: #e0e0e0; /* Text deschis */
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="password"]:focus,
form input[type="email"]:focus,
form input[type="number"]:focus {
    border-color: #3498db;
}

/* Style for navigation links */
.nav-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.nav-links a {
    background: #3498db;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
    margin: 0 10px;
}

.nav-links a:hover {
    background: #2980b9;
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    ul {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links a {
        text-align: center;
        margin: 0;
    }
}