/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Container styling */
.contact-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
    text-align: center;
    color: #007bff;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Form styling */
.contact-container form input,
.contact-container form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-container form input:focus,
.contact-container form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-container form textarea {
    resize: none;
    height: 100px;
}

/* Button styling */
.contact-container form button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-container form button:hover {
    background-color: #0056b3;
}

/* Alert messages */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-container {
        padding: 15px;
    }

    .contact-container h1 {
        font-size: 24px;
    }

    .contact-container form button {
        font-size: 14px;
    }
}

header {
    background-color: #1f1f1f; /* Gri �nchis navbar */
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

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

.user-settings {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon-container {
    position: relative;
}

.user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    cursor: pointer;
}

.user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background-color: #1f1f1f;
    color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 10;
    width: 150px;
    text-align: center;
}

.user-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-menu ul li {
    padding: 10px;
    cursor: pointer;
}

.user-menu ul li:hover {
    background-color: #333;
}

/* Buton schimbare tema */
.theme-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s;
}

.theme-btn:hover {
    transform: rotate(360deg);

}

.user-icon-container:hover .user-menu {
    display: block;
}


/* Ascunde bara de scroll pe dispozitivele mobile */
html, body {
    overflow: hidden; /* Ascunde scroll-ul */
    overflow-y: auto; /* Permite scroll vertical */
    -ms-overflow-style: none; /* Ascunde scroll-ul pe Internet Explorer */
    scrollbar-width: none; /* Ascunde scroll-ul pe Firefox */
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none; /* Ascunde scroll-ul pe Webkit (Chrome, Safari, Edge) */
}




/* Meniul lateral (ascuns inițial) */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px; /* Inițial este complet ascuns pe stânga */
    width: 300px;
    height: 100%;
    background-color: #1a1a1a; /* Fundal modern, mai închis */
    flex-direction: column;
    padding: 20px;
    opacity: 0; /* Adaugă opacitate 0 pentru efectul fade */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5); /* Umbra pentru profunzime */
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease; /* Tranziție mai fluidă */
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* Linie discretă de separare */
    z-index: 5;
}

.side-menu a {
    color: #f5f5f5;
    text-decoration: none;
    padding: 15px;
    margin: 5px 0;
    display: block;
    font-size: 18px;
    border-radius: 8px; /* Colțuri rotunjite pentru linkuri */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Efect pe mișcare și fundal */
    z-index: 10; /* Setează un z-index suficient de mic */
}

.side-menu a:hover {
    transform: translateX(15px); /* Mișcare mai pronunțată la hover */
    background-color: rgba(255, 255, 255, 0.1); /* Fundal subtil la hover */
}

/* Stiluri pentru butonul de autentificare */
.side-menu a.login {
    background-color: #007BFF; /* Fundal albastru vibrant */
    color: white; /* Text alb pentru contrast */
    text-align: center;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 25px; /* Colțuri rotunjite complet */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Umbră subtilă pentru adâncime */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Efecte de hover */
}

.side-menu a.login:hover {
    background-color: #0056b3; /* Schimbare la un albastru mai închis */
    transform: scale(1.05); /* Mărire subtilă la hover */
}

/* Butonul de deschidere a meniului */
.menu-btn {
    font-size: 30px;
    color: #e6e6e6;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Poziționează relativ la ecran */
    top: 15px; /* Ajustează marginea de sus */
    right: 25px; /* Ajustează marginea din dreapta */
}

.menu-btn:hover {
    transform: scale(1.1); /* Efect de mărire la hover */
}

/* Vizualizarea meniului pe ecrane mici */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Ascunde meniul principal */
    }

    .menu-btn {
        display: block; /* Afișează butonul pentru a deschide meniul */
    }

    .side-menu.show {
        left: 0; /* Meniul apare din stânga */
        opacity: 1; /* Opacitate completă */
    }

    .user-icon-container{
        display: none;
    }
    .theme-btn{
        display: none;
    }
}

/* Media query pentru ecrane mari */
@media (min-width: 1024px) {
    .menu-btn {
        display: none; /* Ascunde butonul Menu */
    }


/* Poziționare centralizată */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px; /* Spațiu între butoane */
}

}