/*
# --- CONFIGURARE CSS: STILURI COMPLETE & CORECTIE HERO ---
# Nume Fisier: style.css
# Descriere: Include reset, header, mecanica 3D, acordeon preturi si logica de imagini hero pe pagini.
# Auto necunoscut
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
}

.autoloa-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOP BAR (CONTACT) --- */
.autoloa-top-bar {
    background-color: #000;
    padding: 10px 0;
}
.autoloa-top-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; 
}
.autoloa-top-bar a {
    color: #e6c89c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.autoloa-top-bar a:hover { color: #fff; }

/* --- HEADER SI NAVIGATIE --- */
.autoloa-main-header {
    background-color: #000;
    padding: 25px 0;
}
.autoloa-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.autoloa-logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}
.autoloa-main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}
.autoloa-main-nav a {
    text-decoration: none;
    color: #e6c89c;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}
.autoloa-main-nav a:hover { color: #fff; }
.autoloa-main-nav a.autoloa-nav-active {
    color: #fff; 
    border-bottom: 2px solid #e6c89c; 
    padding-bottom: 5px;
}

.autoloa-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
}
.autoloa-mobile-toggle span {
    width: 30px;
    height: 3px;
    background-color: #e6c89c;
    border-radius: 2px;
}

/* --- LOGICA HERO  --- */

.autoloa-hero-base {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* PAGINA: ACASA (600px) */
.autoloa-hero-home {
    height: 600px;
    background-image: url('heroslider4.jpg');
    padding-bottom: 80px;
}

/* PAGINA: PRETURI (300px) */
.autoloa-hero-preturi {
    height: 300px;
    background-image: url('hero_preturi.jpg');
    padding-bottom: 40px;
}

/* PAGINA: CONTACT (300px) */
.autoloa-hero-contact {
    height: 300px;
    background-image: url('hero_contact.jpg');
    padding-bottom: 40px;
}
/* PAGINA: GALERIE (300px) */
.autoloa-hero-galerie{
    height: 300px;
    background-image: url('hero_galerie.jpg');
    padding-bottom: 40px;
}


.autoloa-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.autoloa-hero-content { position: relative; z-index: 2; max-width: 600px; }
.autoloa-hero-title { font-size: 48px; color: #fff; margin-bottom: 15px; line-height: 1.2; }
.autoloa-hero-desc { font-size: 18px; color: #e6c89c; line-height: 1.5; }

.autoloa-hero-separator {
    width: 90%;
    height: 2px;
    margin: 30px auto 20px auto;
    background: radial-gradient(ellipse at center, rgba(230, 200, 156, 0.8) 0%, rgba(230, 200, 156, 0) 70%);
}

/* --- FORMULAR PROGRAMARE --- */
.autoloa-booking-section { background-color: #000; padding: 50px 0; text-align: center; }
.autoloa-booking-intro { color: #fff; font-size: 16px; margin-bottom: 30px; }
.autoloa-booking-form { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 20px; }
.autoloa-input, .autoloa-btn-submit {
    background-color: #e6c89c;
    color: #000;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    width: 250px;
}
.autoloa-date-wrapper { position: relative; display: flex; align-items: center; }
.autoloa-date-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.autoloa-btn-submit { cursor: pointer; transition: background-color 0.3s ease; }
.autoloa-btn-submit:hover { background-color: #dcb37b; }
.autoloa-calendar-icon { position: absolute; right: 20px; width: 20px; height: 20px; pointer-events: none; }

/* --- SECTIUNEA SERVICII 3D --- */
.autoloa-services-section { position: relative; padding: 20px 0 100px 0; overflow: hidden; }
.autoloa-canvas-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.autoloa-services-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 40px; justify-items: center; }

.autoloa-service-item {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px; 
    aspect-ratio: 1 / 1;
    perspective: 1000px;
}
.autoloa-service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

@media (hover: hover) {
    .autoloa-service-item:hover .autoloa-service-flip-inner { transform: rotateY(180deg); }
    .autoloa-service-item:hover .autoloa-service-front { opacity: 0; }
}
.autoloa-service-item.is-flipped .autoloa-service-flip-inner { transform: rotateY(180deg); }
.autoloa-service-item.is-flipped .autoloa-service-front { opacity: 0; }
.autoloa-pricing-category {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.autoloa-service-front, .autoloa-service-back {
    position: absolute; width: 100%; height: 100%;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: 50%;
}
.autoloa-service-back { transform: rotateY(180deg); overflow: hidden; box-shadow: 0 0 20px rgba(230, 200, 156, 0.3); }
.autoloa-service-icon { width: 100%; height: 100%; object-fit: contain; opacity: 0.6; }
.autoloa-service-image { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.autoloa-service-title {
    position: absolute; top: 25%; left: 45%;
    transform: translate(-50%, -50%) translateZ(1px);
    width: 85%; color: #e6c89c; font-size: 17px; font-weight: 600; text-align: center;
}

/* --- PAGINA PRETURI & ACORDEON --- */
.autoloa-pricing-section { background-color: #000; padding: 50px 0 100px 0; }
.autoloa-pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px 60px; }
.autoloa-pricing-icon-wrapper { position: relative; width: 100%; max-width: 250px; aspect-ratio: 1 / 1; margin: 0 auto 40px auto; }
.autoloa-pricing-icon { width: 100%; height: 100%; object-fit: contain; opacity: 0.8; }
.autoloa-pricing-title {
    position: absolute; top: 25%; left: 45%; transform: translate(-50%, -50%);
    width: 85%; color: #e6c89c; font-size: 15px; font-weight: 600; text-align: center;
}

.autoloa-accordion { width: 100%; max-width: 450px; margin: 0 auto; }
.autoloa-accordion-item { border-bottom: 1px solid rgba(230, 200, 156, 0.2); margin-bottom: 5px; }
.autoloa-accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5px; cursor: pointer; }
.autoloa-acc-name { color: #ccc; font-size: 14px; font-weight: 500; transition: color 0.3s ease; }
.autoloa-acc-right { display: flex; align-items: center; gap: 15px; }
.autoloa-acc-price { color: #e6c89c; font-size: 15px; font-weight: 600; opacity: 0; transform: translateX(10px); transition: all 0.3s ease; }
.autoloa-acc-icon { color: #e6c89c; font-size: 20px; transition: transform 0.3s ease; }

.autoloa-accordion-item.is-open .autoloa-acc-name { color: #e6c89c; font-weight: 600; }
.autoloa-accordion-item.is-open .autoloa-acc-price { opacity: 1; transform: translateX(0); }
.autoloa-accordion-item.is-open .autoloa-acc-icon { transform: rotate(45deg); }

/* --- FOOTER SI MODALE --- */
.autoloa-footer { position: relative; padding: 20px 0 40px 0; color: #e6c89c; font-size: 13px; }
.autoloa-footer-inner { display: flex; justify-content: space-between; align-items: center; }
.autoloa-footer-links { display: flex; align-items: center; gap: 10px; }
.autoloa-footer-links a { color: #e6c89c; text-decoration: none; font-weight: 600; }
.autoloa-footer-socials { display: flex; gap: 15px; }
.autoloa-footer-socials a { color: #e6c89c; transition: transform 0.3s ease; }
.autoloa-footer-socials a:hover { transform: translateY(-3px); }

.autoloa-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
}
.autoloa-modal.is-active { display: flex; opacity: 1; }
.autoloa-modal-content { position: relative; max-width: 90%; max-height: 90vh; }
.autoloa-modal-image { max-width: 100%; max-height: 90vh; border: 2px solid #e6c89c; border-radius: 4px; }
.autoloa-modal-text-content { background-color: #111; border: 1px solid #e6c89c; padding: 50px 40px; border-radius: 8px; max-width: 600px; }
.autoloa-info-list { list-style: none; }
.autoloa-info-list li { color: #e6c89c; font-size: 16px; text-transform: uppercase; margin-bottom: 20px; }
.autoloa-modal-close { position: absolute; top: -40px; right: 0; color: #e6c89c; font-size: 35px; cursor: pointer; }

/* --- GDPR --- */
.autoloa-cookie-banner {
    position: fixed; bottom: -100%; left: 0; width: 100%; background-color: rgba(10, 10, 10, 0.95);
    border-top: 1px solid #e6c89c; padding: 20px; display: flex; justify-content: center; align-items: center; gap: 30px; z-index: 9998; transition: bottom 0.5s ease;
}
.autoloa-cookie-banner.is-visible { bottom: 0; }
.autoloa-cookie-text { color: #ccc; font-size: 13px; max-width: 800px; }
.autoloa-cookie-trigger {
    position: fixed; bottom: 20px; right: 20px; width: 45px; height: 45px; border-radius: 50%;
    background-color: rgba(10, 10, 10, 0.8); border: 1px solid #e6c89c; color: #e6c89c; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 9997;
}
.autoloa-cookie-trigger.is-visible { display: flex; }

/* # --- CONFIGURARE CSS: PAGINA CONTACT --- */
.autoloa-contact-page-section {
    padding: 60px 0 20px 0;
    background-color: #000;
}
.autoloa-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.autoloa-contact-heading {
    color: #e6c89c;
    font-size: 32px;
    margin-bottom: 15px;
}
.autoloa-contact-sub {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.5;
}
.autoloa-contact-details {
    margin-bottom: 40px;
}
.autoloa-contact-item {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
}
.autoloa-contact-item strong {
    color: #e6c89c;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.autoloa-contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.autoloa-contact-item a:hover {
    color: #e6c89c;
}
.autoloa-btn-navigatie {
    display: inline-block;
    background-color: #e6c89c;
    color: #000;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.autoloa-btn-navigatie:hover {
    background-color: #dcb37b;
    transform: translateY(-3px);
}
.autoloa-contact-image-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(230, 200, 156, 0.1);
}
.autoloa-contact-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.autoloa-contact-image-box:hover .autoloa-contact-img {
    transform: scale(1.05);
}
.autoloa-map-section {
    padding: 20px 0 40px 0;
}
/* --- STILIZARE SEMNATURA AGENTIE FOOTER --- */
.autoloa-footer-credit {
    width: 100%;
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    font-size: 13px;
    color: #888; 
    letter-spacing: 0.5px;
}

.autoloa-footer-credit a {
    color: #e6c89c; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.autoloa-footer-credit a:hover {
    color: #fff; 
}
/*
# --- CONFIGURARE CSS: GALERIE FOTO SI LIGHTBOX ---
# Descriere:
# 1. Filtre: Stilizare butoane meniu galerie.
# 2. Grid: Forteaza miniaturile la patrate uniforme (aspect-ratio + object-fit: cover) fara a deforma poza.
# 3. Lightbox: Modalul negru pe tot ecranul care arata poza completa (object-fit: contain).
*/

/* Filtre */
.autoloa-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
.autoloa-filter-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.autoloa-filter-btn:hover,
.autoloa-filter-btn.active {
    background-color: #e6c89c;
    color: #000;
    border-color: #e6c89c;
}


.autoloa-gallery-grid {
    display: grid;
    
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}
.autoloa-gallery-item {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: block;
}
.autoloa-gallery-img {
    width: 100%;
    
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    display: block;
    transition: transform 0.4s ease;
}
.autoloa-gallery-item:hover .autoloa-gallery-img {
    transform: scale(1.08);
}


.autoloa-lightbox {
    display: none; 
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}
.autoloa-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh; 
    object-fit: contain; 
    border-radius: 4px;
    animation: zoomIn 0.3s;
}
.autoloa-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #e6c89c;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.autoloa-lightbox-close:hover {
    color: #fff;
}

.autoloa-lightbox-prev,
.autoloa-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #e6c89c;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 100000;
}
.autoloa-lightbox-prev {
    left: 20px;
}
.autoloa-lightbox-next {
    right: 20px;
}
.autoloa-lightbox-prev:hover,
.autoloa-lightbox-next:hover {
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
}

/* --- STILIZARE FAQ ACCORDION --- */
.autoloa-faq-section { padding: 80px 0; background: #0a0a0a; }
.autoloa-faq-accordion { max-width: 900px; margin: 0 auto; }
.autoloa-faq-item { border-bottom: 1px solid #333; margin-bottom: 10px; }

.autoloa-faq-question {
    width: 100%; padding: 20px; background: none; border: none;
    color: #e6c89c; font-size: 18px; font-weight: 600; text-align: left;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: color 0.3s ease;
}

.autoloa-faq-question::after { content: '+'; font-size: 24px; transition: transform 0.3s; }
.autoloa-faq-item.active .autoloa-faq-question::after { transform: rotate(45deg); color: #fff; }
.autoloa-faq-item.active .autoloa-faq-question { color: #fff; }

.autoloa-faq-answer { 
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #111; 
}
.autoloa-faq-answer p { padding: 20px; color: #ccc; line-height: 1.6; margin: 0; }
.autoloa-faq-item.active .autoloa-faq-answer { max-height: 300px; }

@media (max-width: 768px) {
    .autoloa-lightbox-prev { left: 5px; font-size: 30px; padding: 10px; }
    .autoloa-lightbox-next { right: 5px; font-size: 30px; padding: 10px; }
}
@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0}
    to {transform:scale(1); opacity:1}
}

/* --- RESPONSIVITATE --- */
@media (max-width: 992px) { .autoloa-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .autoloa-top-bar-inner { flex-direction: column; gap: 12px; }
    .autoloa-pricing-grid { grid-template-columns: 1fr; gap: 60px 0; }
    .autoloa-mobile-toggle { display: flex; }
    .autoloa-main-nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background-color: #111; padding: 30px 0; z-index: 99; }
    .autoloa-main-nav.active { display: block; }
    .autoloa-main-nav ul { flex-direction: column; align-items: center; gap: 25px; }
    .autoloa-hero-title { font-size: 32px; }
    .autoloa-booking-form { flex-direction: column; }
    .autoloa-input, .autoloa-btn-submit { width: 100%; }
    .autoloa-services-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
    .autoloa-service-item { max-width: 160px; }
    .autoloa-footer-inner {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .autoloa-footer-copy {
        order: 3; /* Textul de copyright pe ultimul rand pe mobil */
        font-size: 11px;
    }
    
    .autoloa-footer-links {
        order: 1;
        flex-direction: column;
        gap: 15px;
    }

    .autoloa-separator { display: none; } /* Ascundem bara | pe mobil */
    
    .autoloa-footer-socials {
        order: 2;
    }

    .autoloa-cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 15px;
    }
    /* CSS Contact pentru Mobil */
    .autoloa-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Centram textul pe mobil */
    }
    .autoloa-btn-navigatie {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    .autoloa-gallery-filters {
        flex-wrap: nowrap; 
        overflow-x: auto;  
        justify-content: flex-start;
        padding-bottom: 15px; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; 
    }
    
    .autoloa-gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .autoloa-filter-btn {
        flex: 0 0 auto; 
        white-space: nowrap; 
        font-size: 13px;
        padding: 8px 16px;
    }

    .autoloa-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px; 
    }
    
    .autoloa-gallery-img {
        aspect-ratio: 1 / 1; 
    }
}
