/* 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 PREMIUM – (UPDATED, SAME CLASSES, NO HTML CHANGES)
   ====================================================== */

.footer {
    position: relative;
    padding: 90px 0 40px;
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b0b0b, #000000);
}

/* Background Image Section */
.bg-2 {
    background: url(img/footer.jpg) center center / cover no-repeat;
    background-color: #000;
    position: relative;
    z-index: 0;
    background-attachment: fixed;
}

/* Dark overlay + premium light accents */
.bg-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 450px at 18% -10%, rgba(255,77,77,.22), transparent 60%),
        radial-gradient(800px 420px at 85% 10%, rgba(153,0,0,.22), transparent 60%),
        rgba(0,0,0,0.72);
    z-index: -1;
}

/* Container */
.footer .footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Row */
.footer .row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: space-between;
    text-align: center;
}

/* Columns as glass cards */
.footer .col-lg-3,
.footer .col-md-3,
.footer .col-sm-6,
.footer .col-md-6 {
    flex: 1 1 260px;
    min-width: 250px;
    border-radius: 22px;
    padding: 28px 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.footer .col-lg-3:hover,
.footer .col-md-3:hover,
.footer .col-sm-6:hover,
.footer .col-md-6:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.60);
    border-color: rgba(255,77,77,0.55);
    background: rgba(255,255,255,0.075);
}

/* Text */
.footer .address {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
}

/* Titles */
.footer h6 {
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 900;
    position: relative;
}

.footer h6::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff4d4d, #990000);
}

/* Links */
.footer a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
    font-weight: 800;
    display: inline-block;
}

.footer a:hover {
    color: #ff4d4d;
    transform: translateY(-1px);
}

/* Icons */
.footer i {
    margin-right: 8px;
    transition: color 0.3s ease-in-out, transform .25s ease;
    font-size: 18px;
    color: rgba(255,77,77,0.95);
}

.footer a:hover i {
    color: #ff4d4d;
    transform: translateY(-1px);
}

/* Footer logo */
.footer img#logo_img_footer {
    width: 180px;
    margin: 18px auto 12px;
    display: block;
    transition: transform 0.35s ease-in-out, filter 0.35s ease-in-out;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,0.6));
}

.footer img#logo_img_footer:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 18px 34px rgba(0,0,0,0.75));
}

/* Lists */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin: 9px 0;
}

/* Buttons (Kontakt / DSE / Impressum) – premium */
.touch-target {
    display: inline-block;
    padding: 10px 18px;
    margin: 8px 6px 0;
    font-size: 11px;
    text-align: center;
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff4d4d, #990000);
    border: 1px solid rgba(255,77,77,0.35);
    box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.touch-target:hover,
.touch-target:focus {
    opacity: .92;
    transform: translateY(-2px);
    outline: none;
}

/* App download – keep your structure, premium style */
.app-download{
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.app-download-title{
    color:#fff;
    font-weight:900;
    letter-spacing:.15em;
    margin-bottom:12px;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .95;
}

.app-download-buttons{
    display:flex;
    gap:14px;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}

.app-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.14);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,0.28);
}

.app-badge:hover{
    transform: translateY(-3px);
    background: rgba(0,0,0,0.30);
    border-color: rgba(255,77,77,0.35);
}

.app-badge img{
    height: 44px;
    width: auto;
    display:block;
}

.app-download-note{
    margin-top:12px;
    font-size:12px;
    color: rgba(255,255,255,0.78);
    text-align:center;
}

/* Copyright Section – premium bar */
.custom-copyright {
    font-size: 13px;
    text-align: center;
    padding-top: 18px;
    margin-top: 34px;
    color: rgba(255,255,255,0.75);
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* click-info (kept) */
.click-info {
    font-size: 0.85rem;
    color: #ff4d4d;
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
    font-weight: 900;
}

.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,
    .footer .col-md-3,
    .footer .col-sm-6,
    .footer .col-md-6 {
        min-width: auto;
    }
    .bg-2 {
        background-attachment: scroll;
    }
}

/* keep your helpers */
.address i {
    font-size: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.address .name a {
    display: inline-flex;
    align-items: center;
}

.address .name a i {
    margin-right: 8px;
}

/* keep these as-is */
.bg-image {
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
  .bg-image {
    margin-top: 160px;
  }
}
@media (max-width: 768px) {
  .bg-image:nth-child(2) {
    display: none;
  }
}

/* move the reCAPTCHA badge to the bottom-left */
.grecaptcha-badge {
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
  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;
}
#menu-toggle {
  position: relative;
  z-index: 999999;
}
