

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 130px 20px;
    text-align: center;
    color: white;
}

.main-title { font-size: 3rem; color: #ffcc00; font-weight: 800; margin-bottom: 10px; }
.main-subtitle { color: #ddd; margin-bottom: 60px; font-weight: 300; }

/* PANOU GLASS PRINCIPAL */
.glass-panel-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* COLOANE INFO & FORMULAR */
.side-info, .side-form { padding: 60px; }
.side-info { 
    flex: 1; 
    background: rgba(0, 0, 0, 0.2); 
    text-align: left; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.side-form { flex: 1.2; }



/* DATE CONTACT & SOCIAL */
.data-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.data-item i { color: #ffcc00; font-size: 1.5rem; width: 25px; }
.data-item span { font-size: 1.1rem; }

.social-footer-box h3 { font-size: 1rem; letter-spacing: 2px; margin: 70px 0 40px; color: #ffcc00; }
.social-icons-wrapper { display: flex; gap: 20px; }

.glass-btn {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.4rem; text-decoration: none;
    transition: 0.3s ease;
}
.glass-btn:hover { background: #ffcc00; color: #000; transform: translateY(-5px); }

/* FORMULAR */
.input-field { position: relative; margin-bottom: 20px; }
.input-field i { 
    position: absolute; left: 20px; top: 50%; 
    transform: translateY(-50%); color: #ffcc00; opacity: 0.7; 
}
.textarea-field i { top: 25px; transform: none; }

.glass-contact-form input, 
.glass-contact-form textarea {
    width: 100%; padding: 15px 20px 15px 55px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white; outline: none; transition: 0.3s;
}
.glass-contact-form input:focus { border-color: #ffcc00; background: rgba(255, 255, 255, 0.12); }
::placeholder { color: rgba(255, 255, 255, 0.5); }

/* BUTON TRIMITE */
.gold-submit-btn {
    width: 100%; padding: 18px;
    background: #ffcc00; color: #1a472a;
    border: none; border-radius: 12px;
    font-weight: 800; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s;
}
.gold-submit-btn:hover { background: white; transform: scale(1.02); }

.final-copy { margin-top: 50px; opacity: 0.3; font-size: 0.8rem; }




/* ============================================================ */
/* OPTIMIZARE CONTACT PENTRU SMARTPHONE (< 768px)             */
/* ============================================================ */
@media (max-width: 767px) {

    /* 1. CONTAINERUL DE CONTACT (Harta + Info) */
    .side-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centrează blocul de info în pagină */
        padding: 20px !important;
        text-align: left !important; /* Textul din interior rămâne aliniat la stânga față de icoane */
    }

    /* 2. MICȘORARE ȘI CENTRARE HARTĂ */
    .side-info iframe, 
    .map-container { 
        width: 100% !important;
        height: 220px !important; /* Înălțime redusă, mult mai ergonomică */
        border-radius: 25px !important;
        margin-bottom: 35px !important;
    }

    /* 3. ALINIERE: ICOANĂ ÎN STÂNGA, TEXT ÎN DREAPTA */
    .contact-data {
        display: inline-block !important; /* Permite blocului să fie centrat de părinte */
        margin: 0 auto !important;
    }

    .data-item {
        display: flex !important;
        flex-direction: row !important; /* Forțează așezarea pe orizontală */
        align-items: center !important; /* Aliniază icoana vertical cu textul */
        justify-content: flex-start !important; /* Aliniere la începutul rândului */
        gap: 15px !important; /* Spațiu între icoană și text */
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .data-item i {
        font-size: 1.3rem !important;
        color: #ffcc00 !important;
        min-width: 30px !important; /* Spațiu fix pentru icoane să fie aliniate perfect vertical */
        text-align: center !important;
    }

    .data-item span {
        font-size: 1rem !important;
        color: #fff !important;
        word-break: break-all !important; /* Previne ieșirea textului (ex: email lung) din ecran */
    }

    /* 4. SOCIAL MEDIA (Rămân așa cum sunt, dar centrate) */
    .social-footer-box {
        text-align: center !important;
        width: 100% !important;
    }

    .social-icons-wrapper {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 10px !important;
    }

    /* 5. FORMULARUL (Sub info) */
    .side-form {
        padding: 30px 15px !important;
        width: 100% !important;
    }

    .glass-panel-container {
        flex-direction: column !important;
        background: rgba(255, 255, 255, 0.03) !important;
    }
 .side-info h3 {
        color: #ffcc00 !important; /* Culoarea schimbată în galben */
        margin-bottom: 20px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }
    
}




/* ============================================================ */
/* OPTIMIZARE CONTACT PENTRU TABLETĂ (768px - 1023px)           */
/* ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {

    /* 1. AJUSTARE PANOU PRINCIPAL */
    .glass-panel-container {
        flex-direction: row !important; /* Păstrăm coloanele pe tabletă */
        max-width: 95% !important;
        margin: 0 auto !important;
    }

    /* 2. COLOANA DIN STÂNGA (Info & Hartă) */
    .side-info {
        flex: 1 !important;
        padding: 40px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; /* Aliniere la stânga pentru profesionalism */
    }

    /* MICȘORARE HARTĂ PE TABLETĂ */
    .side-info iframe, 
    .map-container { 
        width: 100% !important;
        height: 250px !important; /* Mai mică decât pe desktop */
        border-radius: 20px !important;
        margin-bottom: 30px !important;
    }

    /* 3. DATE CONTACT (Icoană Stânga - Text Dreapta) */
    .data-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
        text-align: left !important;
    }

    .data-item i {
        min-width: 35px !important;
        font-size: 1.4rem !important;
        text-align: center;
    }

    .data-item span {
        font-size: 1.1rem !important;
    }

    /* 4. COLOANA DIN DREAPTA (Formular) */
    .side-form {
        flex: 1.2 !important;
        padding: 40px 30px !important;
    }

    .glass-contact-form input, 
    .glass-contact-form textarea {
        padding: 12px 15px 12px 50px !important; /* Compactăm puțin input-urile */
    }

    /* 5. TITLURI ȘI FOOTER */
    .main-title {
        font-size: 2.5rem !important;
        margin-bottom: 10px !important;
    }

    .main-subtitle {
        margin-bottom: 40px !important;
    }

    .social-icons-wrapper {
        justify-content: flex-start !important; /* Aliniate cu textul de info */
    }
}







/* ============================================================ */
/* DESIGN PREMIUM DESKTOP - GLOW & GLASSMORPHISM (CORECTAT)      */
/* ============================================================ */
@media (min-width: 1024px) {

    #contact.contact-section {
        background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                    url('../Img/grape.jpg') center/cover fixed !important;
        padding: 180px 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .glass-panel-container {
        background: rgba(255, 255, 255, 0.03) !important;
        backdrop-filter: blur(25px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 0 60px rgba(255, 204, 0, 0.2) !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;

        max-width: 1500px !important;
        width: 95%;
        border-radius: 45px !important;
        overflow: hidden !important;
        margin: 0 auto !important;
    }

    /* ============================================================ */
    /* COLOANA STÂNGA – HARTĂ (500x500 FIX)                          */
    /* ============================================================ */
    .side-info {
        flex: 1.6 !important;
        padding: 70px !important;
        background: rgba(0, 0, 0, 0.35) !important;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* TITLU GĂSEȘTE-NE AICI */
    .side-info h3 {
        color: #ffcc00 !important;
        margin-bottom: 20px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
    }

    .side-info iframe {
        width: 500px !important;
        height: 500px !important;

        border-radius: 28px !important;
        filter: grayscale(100%) invert(90%) contrast(90%);
        border: 1px solid rgba(255, 204, 0, 0.25) !important;
        transition: transform 0.4s ease;
    }

    .side-info iframe:hover {
        transform: scale(1.03);
    }

    /* ============================================================ */
    /* COLOANA DREAPTA – INFO & SOCIAL                              */
    /* ============================================================ */
    .side-form {
        flex: 1 !important;
        padding: 90px 70px !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background: transparent !important;
    }

    /* DATE CONTACT */
    .data-item {
        display: flex !important;
        align-items: center !important;
        gap: 25px !important;
        margin-bottom: 40px !important;
        transition: all 0.35s ease;
    }

    .data-item i {
        font-size: 2rem !important;
        color: #ffcc00 !important;
        min-width: 55px;
        text-align: center;
        text-shadow:
            0 0 12px rgba(255, 204, 0, 0.6),
            0 0 25px rgba(255, 204, 0, 0.8);
        transition: all 0.35s ease;
    }

    .data-item:hover i {
        transform: translateY(-7px) scale(1.2) rotate(-4deg);
        text-shadow:
            0 0 20px rgba(255, 204, 0, 0.9),
            0 0 45px rgba(255, 204, 0, 1);
    }

    .data-item span {
        font-size: 1.3rem !important;
        font-weight: 400 !important;
        color: #ffffff !important;
    }

    /* TITLU SOCIAL MEDIA */
    .social-footer-box h3 {
        color: #ffcc00 !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-top: 50px !important;
        margin-bottom: 30px !important;
        font-size: 1rem !important;
        text-align: center;
    }

    /* SOCIAL ICONS */
    .social-icons-wrapper {
        display: flex !important;
        justify-content: center !important;
        gap: 35px !important;
    }

    .glass-btn {
        width: 75px !important;
        height: 75px !important;
        border-radius: 24px !important;
        font-size: 2rem !important;

        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: white !important;

        display: flex;
        align-items: center;
        justify-content: center;

        transition: all 0.45s ease !important;
    }

    .glass-btn:hover {
        background: #ffcc00 !important;
        color: #000 !important;
        transform: translateY(-10px) scale(1.1);
        box-shadow: 0 0 40px #ffcc00 !important;
    }
}
