


/* --- RESET & FUNDAMENT --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; }
section { scroll-margin-top: 80px; }
.content-wrapper { max-width: 1200px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }



.btn-main:hover { background: #ffcc00; color: #1a472a; transform: translateY(-5px) scale(1.05); border-color: #ffcc00; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: url("../Img/poamaaa.jpg") center / cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

/* Container pentru a crea efectul de perspectivă (semicerc) */
.company-container {
    perspective: 1000px;
    margin-bottom: 30px;
}









/* TITLU COMPANIE - EXTREM DE MARE ȘI CURBAT */
.company-name-huge {
    font-size: 7rem; /* Foarte mare pe desktop */
    font-weight: 900;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 15px;
    margin: 0;
    line-height: 1;
    
    /* Efect de semicerc (bombat spre utilizator) */
    transform: rotateX(10deg) scale(1.1);
    text-shadow: 
        0 10px 20px rgba(0,0,0,0.5),
        0 0 100px rgba(255, 204, 0, 0.3);
    
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
}

/* SUBTITLURI MAI MICI PENTRU CONTRAST */
.hero-subtitle {
    font-size: 1.8rem; /* Redus considerabil conform cerinței */
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem; /* Mai mic și discret */
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    opacity: 0.8;
}


/* BUTON MAIN */
.btn-main {
    background: rgba(46, 125, 50, 0.9);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}


.btn-main:hover {
    background: #ffcc00;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.4);
}


















/* ============================= */
/* TABLET (OPTIMIZAT)           */
/* 768px – 1023px               */
/* ============================= */
@media (min-width: 768px) and (max-width: 1023px) {

    .hero {
        position: relative;
        background: none !important;
        overflow: hidden;
    }

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url("../Img/poamaaa.jpg") center / cover no-repeat;

        background-attachment: fixed;
        filter: blur(2px);
        transform: scale(1.08);
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding: 0 30px;
    }

    .company-name-huge {
        font-size: 5rem;
        letter-spacing: 12px;
        transform: rotateX(10deg) scale(1.05);
    }

    .hero-subtitle {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto 35px;
    }

    .btn-main {
        padding: 14px 35px;
        font-size: 1rem;
    }
}







/* ============================= */
/* DESKTOP                       */
/* ≥ 1024px                      */
/* ============================= */
@media (min-width: 1024px) {

 .hero {
        position: relative; /* Necesar pentru a poziționa stratul de blur */
        background: none !important; /* Scoatem fundalul direct de pe container */
        overflow: hidden;
    }

    /* Creăm un strat separat pentru imaginea de fundal */
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                    url("../Img/poamaaa.jpg") center / cover no-repeat;
        background-attachment: fixed;
        
        /* --- CONTROLUL BLUR-ULUI --- */
        filter: blur(2px); /* Ajustează valoarea (2px - ușor, 8px - intens) */
        transform: scale(1.1); /* Mărim puțin imaginea ca să nu se vadă marginile albe de la blur */
        
        z-index: 1;
    }

    /* Ne asigurăm că textul rămâne deasupra blur-ului */
    .hero-content {
        position: relative;
        z-index: 2;
    }
}











/* Smartphone */
@media (max-width: 767px) {
    /* Creăm un strat separat pentru imaginea de fundal */
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                    url("../Img/poamaaa.jpg") center / cover no-repeat;
        background-attachment: fixed;
        
        /* --- CONTROLUL BLUR-ULUI --- */
        filter: blur(2px); /* Ajustează valoarea (2px - ușor, 8px - intens) */
        transform: scale(1.1); /* Mărim puțin imaginea ca să nu se vadă marginile albe de la blur */
        
        z-index: 1;
    }

    /* Ne asigurăm că textul rămâne deasupra blur-ului */
    .hero-content {
        position: relative;
        z-index: 2;
    }


   
    .hero-content {
        padding: 0 20px !important; /* Oferă puțin spațiu lateral textului */
    }

    .hero-content h1 {
        font-size: 1.8rem !important; /* Scade dimensiunea titlului principal */
        line-height: 1.2 !important;  /* Ajustează spațiul dintre rânduri */
        margin-bottom: 15px !important;
        font-weight: 800;
    }

    .hero-content p {
        font-size: 1rem !important;    /* Scade dimensiunea descrierii */
        line-height: 1.4 !important;
        margin-bottom: 25px !important;
        opacity: 0.9;
    }

    .btn-main {
        padding: 12px 20px !important; /* Ajustează butonul să nu fie prea mare */
        font-size: 0.9rem !important;
    }
}



/* Adaugă asta la începutul fișierului medialphone.css */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Elimină scroll-ul stânga-dreapta */
    background-color: #000; /* Setează fundalul de bază negru ca să nu se vadă albul */
}

/* Fix pentru Secțiunea de Contact */
#contact.contact-section {
    min-height: 100vh; /* Forțează secțiunea să ocupe tot ecranul dacă e goală */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0 !important;
    padding-bottom: 50px !important; /* Spațiu sub copyright */
}
