/* Resetare stiluri implicite */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    color: #007BFF;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

/* Stil pentru butoane */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.btn:hover {
    background-color: #0056b3;
}

/* Container opțiuni */
.options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.options a {
    display: block;
    padding: 15px 25px;
    border: 2px solid #007BFF;
    color: #007BFF;
    background-color: #cecece;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
}

.options a:hover {
    color: white;
    background-color: #007BFF;
}

/* Secțiunea de asistență suplimentară */
.support-section {
    background-color: #c4c4c4;
    color: #2b2b2b;
    padding: 40px 20px;
    text-align: center;
}

.support-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.support-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

.support-btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.support-btn:hover {
    background-color: #0056b3;
}

/* Stiluri pentru footer */
.footer {
    background-color: #0f0f0f;
    color: #ffffff;
    padding: 40px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Afișează pe 4 coloane pentru ecrane mari */
    gap: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #007bff;
}

.footer-brand p {
    font-size: 14px;
    margin-top: 10px;
}

.language-currency {
    margin-top: 20px;
    font-size: 14px;
    color: #aaaaaa;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #aaaaaa;
}

/* Media Query pentru ecrane mai mici (ex. telefoane) */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Afișează pe o singură coloană */
        gap: 30px;
    }

    .footer-column {
        text-align: center; /* Centrează conținutul */
    }

    .footer-column ul li {
        margin-bottom: 15px;
    }
}

/* Stiluri modernizate pentru meniul dropdown */
.user-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* Umbre mai elegante */
    border-radius: 10px; /* Colțuri rotunjite mai pronunțate */
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 100;
    min-width: 200px; /* Dimensiune minimă */
}

.user-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-menu ul {
    list-style: none;
    padding: 10px 0; /* Spațiu mai compact între elemente */
    margin: 0;
}

.user-menu ul li {
    padding: 12px 20px; /* Spațiu interior pentru fiecare element */
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0; /* Linie de separare subtilă */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.user-menu ul li:hover {
    background-color: #f3f4f6; /* Culoare de hover subtilă */
    color: #007BFF; /* Accentuare text pe hover */
}

.user-menu ul li:last-child {
    border-bottom: none; /* Elimină linia de separare pentru ultimul element */
}

.user-menu ul li a {
    color: #ffffff; /* Culoare text implicită */
    text-decoration: none;
    font-size: 16px; /* Dimensiune font moderată */
    font-weight: 500; /* Font puțin mai gros */
    transition: color 0.3s ease;
}

.user-menu ul li a:hover {
    color: #0056b3; /* Accentuare pe hover */
}

/* Stiluri suplimentare pentru icon-ul utilizatorului */
.user-icon-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007BFF; /* Fundal pentru icon */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.user-icon-container:hover {
    background-color: #007bff41; /* Schimbă fundalul pe hover */
    transform: scale(1.05); /* Efect de mărire pe hover */
}

.user-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover; /* Asigură proporțiile imaginii */
}

/* Logo Styling */
.navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.navbar-logo img {
    max-height: 60px; /* Crește dimensiunea logoului fără a afecta navbarul */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-logo img:hover {
    transform: scale(1.1); /* Efect de mărire pe hover */
}

/* Container and Products Section */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

h1 {
    color: #007bff;
    font-size: 32px;
    margin-bottom: 20px;
}

h2 {
    color: #007bff;
    font-size: 28px;
    margin-bottom: 20px;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.product {
    background-color: #555555a9;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.product h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
}

.product p {
    color: #c5c5c5;
    font-size: 14px;
    margin-bottom: 10px;
    white-space: pre-line; /* Asigură că liniile se sparg automat */
}

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;
}

.assistance-section {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.assistance-section h2 {
    font-size: 24px;
    font-weight: bold;
}

.assistance-section p {
    font-size: 16px;
}

.assistance-section .button {
    background-color: #1e90ff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.assistance-section .button:hover {
    background-color: #0077cc;
}

/* 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 */
}

}


