/* Resetarea stilurilor implicite */
* {
    margin: 0;
    padding: 0;

    transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f1f1;
    color: #333;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #990000, #ff4d4d, #990000); /* Gradient de la roșu închis la roșu deschis */
    padding: 5px 30px;
    height: 50px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 9999;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}


/* Logo centrat */
.logo {
    position: absolute;
    top: -14px; /* Ajustează poziția deasupra barei */
    left: -10%; /* Centrează logo-ul pe mijloc */
    transform: translateX(-50%); /* Corectează poziția */
    z-index: 10000;
}

.logo img {
    height: 220px; /* Ajustează dimensiunea */
    width: auto;
}


/* Meniul de navigare */
.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin: 0 15px;
    position: relative;
    padding: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav ul li:hover {
    transform: scale(1.1);
    color: #f1f1f1;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav ul li a:hover {
    background-color: #e60000;
    color: #fff;
}

/* Dropdown */
.nav ul li.dropdown {
    position: relative;
}

.nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 180px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    border-radius: 8px;
}

.nav ul li.dropdown.open .dropdown-menu {
    display: block;
}

.nav ul li.dropdown .dropdown-menu li a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
}

.nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: #e60000;
    color: #fff;
}

/* Butonul hamburger pentru mobil */
#menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

#menu-toggle span {
    display: block;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Transformările pentru starea activă (X) */
#menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

#menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
/* Stiluri implicite: hamburger-ul este ascuns */
#menu-toggle {
    display: none;
}
/* Media Query pentru mobil */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 9999;
        border-radius: 0;
        padding: 0 1px;
        height: 50px;
    }

    .nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        z-index: 9999;
        transition: transform 0.3s ease;
        border-radius: 10px;
        transform: translateY(-100%);
    }
    
    .nav ul li {
        margin: 10px 0;
        padding: 0;
    }
    
   #menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
        border: none;
        background: none;
        padding: 0;
        transform: translateX(150px);
        z-index: 10000;
    }
    
    .nav ul.active {
        display: flex;
        transform: translateY(0);
    }
    
    .nav ul li.dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: 180px;
        left: 0;
        background-color: #333;
        min-width: 100px;
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 1000;
        border-radius: 8px;
    }
    
    .nav ul li.dropdown.open .dropdown-menu {
        display: block;
    }
    
    .nav ul li.dropdown .dropdown-menu li a {
        padding: 10px;
        color: #fff;
        text-decoration: none;
    }
    
    .nav ul li.dropdown .dropdown-menu li a:hover {
        background-color: #e60000;
        color: #fff;
    }
}
@media (max-width: 480px) {
    .logo img {
        height: 80px;
        position: absolute;
        top: 20px; /* Ajustează dacă este necesar */
        left: 50px; /* Mută logo-ul mai spre centru */
        transform: none;
        z-index: 10000;
    }

}
@media (min-width: 481px) and (max-width: 768px) {
    .logo img {
        height: 120px;
        position: absolute;
        top: 20px; /* Ajustează dacă este necesar */
        left: 80px; /* Mută logo-ul mai spre centru */
        transform: none;
        z-index: 10000;
    }
   #menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
        border: none;
        background: none;
        padding: 0;
        transform: translateX(300px);
        z-index: 10000;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .logo img {
        height: 150px;
        position: absolute;
        top: 3px; /* Ajustează dacă este necesar */
        left: -35px; /* Mută logo-ul mai spre centru */
        transform: none;
        z-index: 10000;
    }
}
.social-icons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9999; /* Z-index mai mare pentru a fi deasupra altor elemente */
}

.social-icons a {
    background: #333;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #555;
}

@media (max-width: 768px) {
    .social-icons {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .social-icons a {
        width: 30px; /* Mai mici */
        height: 30px;
        margin: 0 3px; /* Mai puțin spațiu între ele */
    }
    }
}

.whatsapp-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important; /* Asigură că nu e poziționat greșit */
    top: auto !important;
    background-color: #25d366;
    border-radius: 50%;
    width: 80px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}


.whatsapp-button img {
    width: 55px;
    height: 55px;
}

/* Loader container */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Fundal transparent subtire */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.5s ease; /* Efect de dispariție lin și lent */
}

/* Loader propriu-zis */
.loader {
    display: flex;
    gap: 30px; /* Gap mai mare pentru mai mult spațiu între cercuri */
}

.circle {
    width: 30px;  /* Cercuri mai mari */
    height: 30px;
    background-color: #e74c3c; /* Culoare roșie pentru cercuri */
    border-radius: 50%;
    animation: bounce 4s infinite ease-in-out; /* Animație mai lungă, de 4 secunde */
}

/* Animația pentru mișcarea cercurilor */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-50px); /* Mișcare mai sus pentru un efect mai amplu */
    }
}

/* Animații diferențiate pentru fiecare cerc */
.circle:nth-child(1) {
    animation-delay: 0s;
}

.circle:nth-child(2) {
    animation-delay: 0.5s; /* Întârziere mai mare */
}

.circle:nth-child(3) {
    animation-delay: 1s; /* Întârziere și mai mare */
}

/* Efectul de dispariție treptată pentru loader */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Footer General Styles */
.footer {
    background: linear-gradient(135deg, #222222, #000000); /* Fundal optimizat */
    color: white;
    padding: 60px 0;
    font-size: 16px;
    position: relative;
}

.footer .footer-container {
    max-width: 1200px;
    margin: auto;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.footer .address {
    margin-bottom: 25px;
    transition: transform 0.3s ease-in-out;
    font-size: 18px;
}

.footer img#logo_img_footer {
    width: 180px;
    margin-top: 15px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.footer img#logo_img_footer:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer h6 {
    font-size: 22px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul {
    list-style: none; /* Removes the bullets from the list */
    padding: 0;
    margin: 0;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease-in-out;
    font-weight: bold;
    display: inline-block;
    font-size: 18px;
}

.footer a:hover {
    color: #ff4d4d;
    transform: scale(1.05);
}

.footer i {
    margin-right: 5px;
    transition: color 0.3s ease-in-out;
    font-size: 20px;
}

.footer a:hover i {
    color: #ff4d4d;
}

/* Targeting phone numbers and emails specifically */
.footer .contact-info a {
    color: #ff4d4d; /* Red color for phone and email links */
}

.footer .contact-info a:hover {
    color: #e60000; /* Darker red on hover */
}

/* Background Image Section */
.bg-2 {
    background: url(img/footer.jpg) center center / cover no-repeat;
    background-color: #000; /* Fundal mai închis */
    position: relative;
    z-index: 0;
    background-attachment: fixed;
}

/* Dark Overlay for Background */
.bg-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: -1; /* Ensure it's behind the content */
}

/* Copyright Section */
.custom-copyright {
    font-size: 16px;
    text-align: center;
    padding-top: 12px;
    margin-top: auto;
}
.click-info {
    font-size: 0.85rem;
    color: #ff4d4d;
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.click-info::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ff4d4d;
    transition: width 0.3s ease;
}

.click-info:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
    }
    .footer .col-lg-3 {
        margin-bottom: 25px;
    }
    .bg-2 {
        background-attachment: scroll;
    }
}

.address i {
    font-size: 24px; /* Dimensiune mai mare pentru iconiță */
    margin-right: 10px; /* Spațiu între iconiță și text */
    vertical-align: middle; /* Aliniere verticală cu textul */
}

.address .name a {
    display: inline-flex; /* Aliniere flex pentru a asigura corectitudinea aliniamentului */
    align-items: center; /* Aliniere verticală a iconiței și textului */
}

.address .name a i {
    margin-right: 8px; /* Spațiu între iconiță și nume/număr */
}
.bg-image {
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
  .bg-image {
    margin-top: 160px; /* ajustează valoarea după necesități */
  }
}
@media (max-width: 768px) {
  .bg-image:nth-child(2) {
    display: none;
  }
}
.touch-target { display: inline-block; padding: 2px 5px; margin: 10px 0; font-size: 10px; text-align: center; background-color: #990000; color: white; border-radius: 5px; text-decoration: none; }
.touch-target:hover, .touch-target:focus { background-color: #0056b3; outline: none; }
/* move the reCAPTCHA badge to the bottom-left */
.grecaptcha-badge {
  /* poziționare */
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;

  /* redimensionare */
  transform: scale(0.5) !important;
  transform-origin: bottom left !important;
}


/* ensure your WhatsApp button stays bottom-right */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  z-index: 9999;
}
