
/* Fundal fix */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}


/* Header */
header {
    position: relative;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

/* Fundal semi-transparent pentru header */
.header-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.1); /* ✅ Fundal negru cu 10% opacitate */
    padding: 3vh 0; /* ✅ Adaugă mai mult spațiu */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    min-height: 15vh; /* ✅ Mărește înălțimea ca să treacă și pe sub siglă */
}


/* Logo ajustat */
.logo {
    position: absolute;
    top: 2vh;
    left: 2vw;
    width: 10vw; /* Se redimensionează automat */
    height: auto;
    max-width: 100%;
}


h1 {
    font-size: 5vw;
    margin: 0;
    font-weight: bold;
    color: #ff8201;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.8),  /* Stratul primar (negru mai închis) */
        4px 4px 0px rgba(0, 0, 0, 0.6),  /* Stratul secundar (negru mai deschis) */
        6px 6px 10px rgba(0, 0, 0, 0.4); /* Stratul final pentru efect de adâncime */
}

h2 {
    font-size: 2.5vw;
    margin: 0;
    font-weight: lighter;
    color: whitesmoke;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.7),
        2px 2px 0px rgba(0, 0, 0, 0.5),
        4px 4px 8px rgba(0, 0, 0, 0.3);
}


/* Casete flotante responsive */
.content-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 2vw;
    width: 80%;
    max-width: 50vw;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: whitesmoke;
    font-size: 2.5vw;
    position: absolute; /* ✅ Poziționează caseta relativ la pagină */
    top: calc(15vh + 10vh); /* ✅ Asigură că stă sub titlu */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* ✅ Se asigură că este peste fundal dar sub header */
}


/* Efect de apariție pentru caseta flotantă */
@keyframes fadeInBox {
    from {
        opacity: 0.3; /* ✅ Pornește de la o transparență mai mare (30%) */
       /* transform: translateY(20px); /* Se ridică ușor din spate */

    }
    to {
        opacity: 1; /* Ajunge la transparența actuală */
        /*transform: translateY(0);*/
    }
}

/* Aplicăm animația pe .content-box */
.content-box {
    animation: fadeInBox 2s ease-out;
}

/* Stilizare mesaj de întâmpinare - italic & font rotunjit */
.welcome-message {
    font-family: 'Poppins', 'Arial', sans-serif; /* Font modern cu colțuri rotunjite */
    font-size: 1.5vw; /* Dimensiune flexibilă */
    font-weight: 500; /* Semi-bold */
    font-style: italic; /* ✅ Scris italic */
    line-height: 1.5; /* Spațiere între rânduri */
    color: whitesmoke; /* Text alb */
}

/* Stilizare bara de navigație */
.nav-bar {
    position: absolute;
    top: calc(100vh - 30vh); /* ✅ Poziționează meniul sub caseta de bun venit */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease-in-out;
    z-index: 999; /* Menține meniul sub titlu */
    
}

/* Când meniul devine fix la scroll */
.nav-bar.fixed {
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1vh 0;
}

/* Lista de butoane */
.nav-bar ul {
    list-style: none;
    display: flex;
    gap: 2vw; /* Spațiere între butoane */
    padding: 0;
    margin: 0;
}

/* Butoane */
.nav-bar ul li {
    display: inline-block;
}

/* Stilizare butoane */
.nav-bar ul li a {
    display: block;
    padding: 1vw 2vw;
    font-size: 1.5vw;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9); /* Alb sclipitor */
    background: rgba(0, 0, 0, 0.6); /* ✅ Fundal negru cu 20% opacitate */
    border-radius: 10px; /* ✅ Colțuri rotunjite */
    text-align: center;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Efect hover */
.nav-bar ul li a:hover {
    background: rgba(0, 0, 0, 0.9); /* ✅ Opacitate mai mare la hover */
    color: rgb(255, 255, 255);
}


/* Meniul devine fix în partea de sus când utilizatorul derulează */
.nav-bar.fixed {
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1vh 0;
}
.floating-box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vh; /* Spațiere între casete */
    margin-top: calc(100vh - 50vh); /* ✅ Asigură că este sub bara de navigație */
    width: 100%;
    position: relative;
    z-index: 5; /* ✅ Se asigură că stă sub titlu și caseta de bun venit */
}

/* Stilizare casetă flotantă */
.floating-box {
    width: 85%;
    background: rgba(0, 0, 0, 0.5); /* ✅ Fundal negru cu 20% opacitate */
    border-radius: 10px;
    padding: 2vw;
    top: calc(100vh - 30vh); /* Eu: am distantat casetele folotante de bara de butoane*/
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: whitesmoke;
    font-size: 1.5vw;
    position: relative;
}

/* Titlu casetă flotantă */
.floating-box .box-title {
    width: 97%;
    background: rgba(255, 130, 1, 0.5); /* ✅ Fundal portocaliu cu 30% opacitate */
    padding: 1vw;
    font-size: 2vw;
    font-weight: bold;
    color: whitesmoke;
    text-align: center;
    border-radius: 10px 10px 0 0;
}


/* Container pentru serviciile din caseta "Servicii" */
.services-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2vw;
    margin-top: 2vh;
}

/* Fiecare serviciu individual */
.service-item {
    text-align: center;
    width: 18%;
}

/* Imagini servicii */
.service-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Titlu servicii */
.service-item h3 {
    font-size: 1.5vw;
    color: whitesmoke;
    margin-top: 1vw;
}

/* Descriere servicii */
.service-item p {
    font-size: 1vw;
    color: #ccc;
}

/* Efect hover pe imagine */
.service-item img:hover {
    transform: scale(1.05);
}

/* Stilizare Subsol */
.site-footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.9); /* Fundal negru */
    color: whitesmoke;
    text-align: center;
    top: calc(100vh - 10vh); /* chatgpt imi ofera o alte solutie mai complicata*/
    padding: 3vh 0;
    position: relative;
    bottom: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
}

.footer-logo img {
    width: 5vw;
    height:auto;
}

.footer-logo h3 {
    font-size: 1.5vw;
    font-weight: bold;
    color: #ff8201; /* Portocaliu */
}

.footer-text {
    font-size: 0.8vw;
    opacity: 0.8;
}

/* Buton WhatsApp flotant */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 999;
}

/* Iconiță WhatsApp */
.whatsapp-float img {
    width: 40px;
    height: 40px;
}

/* Efect de pulsare la hover */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}
/* Stilizare Banner Temporar */
.temp-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff8201;
    color: whitesmoke;
    padding: 2vw;
    width: 60%;
    max-width: 600px;
    text-align: center;
    border-radius: 10px;
    font-size: 1.5vw;
    z-index: 9999;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

/* Stilizare Buton Închidere */
.close-banner {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: whitesmoke;
    font-size: 2vw;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.close-banner:hover {
    color: rgb(0, 0, 0);
}

/* Container principal pentru caseta Contact */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    padding: 2vw;
    text-align: left;
}

/* 📌 Coloana 1: Informații Contact */
.contact-info {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.5vw;
    color: #ff8201;
    margin-bottom: 1vw;
}

.contact-info p {
    font-size: 1vw;
    color: whitesmoke;
    display: flex;
    align-items: center;
}

.contact-info .icon {
    width: 2vw;
    height: auto;
    margin-right: 0.5vw;
}

/* Butoane social media */
.social-links {
    display: flex;
    gap: 1vw;
    margin-top: 1vw;
}

.social-button img {
    width: 2vw;
    height: 2vw;
    transition: transform 0.3s ease-in-out;
}

.social-button img:hover {
    transform: scale(1.2);
}

/* 📌 Coloana 2: Formular de email */
.contact-form {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-size: 1.5vw;
    color: #ff8201;
    margin-bottom: 1vw;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1vw;
    margin-bottom: 1vw;
    border-radius: 5px;
    border: 1px solid #ff8201;
    font-size: 1vw;
}

.contact-form button {
    padding: 1vw;
    background-color: #ff8201;
    color: whitesmoke;
    border: none;
    cursor: pointer;
    font-size: 1vw;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: #e67300;
}

/* 📌 Responsivitate */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info, .contact-form {
        width: 100%;
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}
.social-media-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-media-buttons a {
    display: inline-block;
    width: 40px; /* Ajustează dimensiunea butonului */
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.social-media-buttons img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Face butoanele rotunde */
}

.social-media-buttons a:hover {
    transform: scale(1.1); /* Efect de mărire la hover */
}

/* BUTON APEL CU LINK DIRECT*/
.call-button {
    display: inline-block; /* Îl face să ocupe doar cât este necesar */
    width: fit-content; /* Se ajustează automat în funcție de text */
    padding: 8px 15px;
    margin: 10px 0; /* Elimină centrare, păstrează spațierea */
    background-color: #ff8201;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    text-align: left; /* Asigură că textul este aliniat corect */
    transition: background 0.3s, transform 0.2s;
}

.call-button:hover {
    background-color:  #e67300;
    transform: scale(1.05);
}

.call-button:active {
    transform: scale(0.95);
}

.email-link {
    color: inherit; /* Păstrează culoarea textului existent */
    text-decoration: none; /* Elimină sublinierea implicită */
}

.email-link:hover {
    text-decoration: underline; /* Adaugă doar subliniere la hover, dacă dorești */
}

.netopia-payments {
    margin-top: 20px !important;
    margin-left: 20px !important;
    display: block !important;
}

/* ===== SERVICII TIP BROȘURĂ ===== */

.services-panel {
    display: flex;
    width: 100%;
    gap: 2px;
    margin-top: 20px;
}

.service-card {
    flex: 1;
    background: rgba(0, 0, 0, 0.85);
    border-left: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.95);
}

.service-number {
    font-size: 42px;
    font-weight: 700;
    color: #ff8201;
    margin-bottom: 10px;
}

.service-icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ff8201;
}

.service-card h3 {
    color: white;
    font-size: 1.2rem;
    min-height: 70px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    color: #d9d9d9;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
}

.service-card ul li::before {
    content: "›";
    color: #ff8201;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 1200px) {
    .services-panel {
        flex-wrap: wrap;
    }

    .service-card {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .services-panel {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
    }
}

/*imagn=ine 01 service-icon*/
.service-icon img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}