/* =========================================
   SETĂRI GENERALE
   ========================================= */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2d2926;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* =========================================
   HERO SECTION (Restabilită imaginea frumoasă)
   ========================================= */
.hero-section {
    height: 85vh;
    /* AICI E MODIFICAREA: Folosim calea scurtă (relativă) */
    background: url('images/Screenshot 2026-03-04 164945.png') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.15); /* O ușoară umbră pentru a putea citi textul */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: rgba(45, 41, 38, 0.9); /* Caseta neagră transparentă */
    padding: 60px;
    border-radius: 40px;
    max-width: 750px;
    color: white;
    text-align: center;
}

.hero-card h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* =========================================
   CAROUSEL PRODUSE (Funcționează perfect)
   ========================================= */
.carousel-container {
    overflow: hidden; 
    width: 100%;
    position: relative;
    padding: 0 10px;
}

.carousel-track {
    display: flex;
    gap: 30px; 
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px; 
    scrollbar-width: none; 
    -ms-overflow-style: none;  
}

.carousel-track::-webkit-scrollbar {
    display: none; 
}

.product-card {
    flex: 0 0 calc(33.333% - 20px); 
    background-color: #f6f3ee; 
    border-radius: 24px;
    padding: 40px 20px 20px 20px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px); /* Efect subtil de ridicare la hover */
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain; 
    mix-blend-mode: multiply; /* Face fundalul alb al imaginilor transparent */
    margin-bottom: 30px;
}

.product-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.product-price {
    color: #888888;
    font-size: 1rem;
    margin-bottom: 0;
}

/* SĂGEȚI */
.carousel-arrow {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.carousel-arrow:hover {
    color: #8B6F5A; 
    transform: translateY(-50%) scale(1.2);
}

.left-arrow { left: -10px; }
.right-arrow { right: -10px; }

/* BUTON JOS */
.btn-view-all {
    background-color: transparent; 
    color: #2d2926;
    border: 1px solid #2d2926;
    padding: 12px 35px;
    border-radius: 50px; 
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.btn-view-all:hover {
    background-color: #2d2926; 
    color: #ffffff;
}

/* =========================================
   MARQUEE (Textul rulant)
   ========================================= */
.marquee-container {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    font-size: 2.5rem;
    color: #e0dcd6;
    font-weight: 300;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   DESPRE NOI (Restabilită imaginea frumoasă)
   ========================================= */
.about-section {
    height: 550px;
    /* AICI E MODIFICAREA: Folosim calea scurtă (relativă) */
    background: url('images/Screenshot 2026-03-19 165954.png') center/cover no-repeat;
    
}
.about-card {
    background: #2d2926;
    color: white;
    padding: 50px;
    border-radius: 40px;
    max-width: 450px;
}
/* =========================================
   PAGINA DE PRODUSE (Grilă Perfectă 3x3)
   ========================================= */
.products-grid {
    display: grid;
    /* Aici e secretul: Forțează exact 3 coloane egale pe ecrane mari */
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
}

/* Ne asigurăm că pe pagina de produse cardurile stau perfect în grilă, nu ca în carusel */
.products-grid .product-card {
    flex: none;
    width: 100%;
    margin: 0;
}

/* --- RESPONSIVE (ADAPTARE PENTRU ECRANE MAI MICI) --- */

/* Pentru Tablete și Laptopuri mici: Arată 2 produse pe rând */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Pentru Telefoane: Arată 1 produs pe rând, mare și frumos centrat */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Facem imaginile o idee mai mici pe telefon ca să se vadă tot cardul pe ecran */
    .products-grid .product-card img {
        height: 180px; 
    }
}
/* Stiluri Pagina Contact */
.form-control:focus {
    background-color: #f0ede9 !important;
    box-shadow: none;
    border: 1px solid #8c6a51 !important;
}

.map-placeholder {
    transition: transform 0.3s ease;
}

.map-placeholder:hover {
    transform: scale(1.02);
}
/* STIL PENTRU NOTIFICARE COȘ */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2d2926; /* Maro închis/Negru ca în designul tău */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 1000;
    
    /* Efect de apariție */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.cart-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* =========================================
   STILURI MODAL COMPLEX AURA DECOR
   ========================================= */

/* 1. Overlay-ul (Fundalul gri care acoperă tot site-ul și centrează conținutul) */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fundal semi-transparent întunecat */
    display: flex;
    align-items: center; /* Centrare Verticală */
    justify-content: center; /* Centrare Orizontală */
    z-index: 2000; /* Foarte sus, peste meniu */
    
    /* Efecte de apariție lină */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Starea când modalul este deschis */
.cart-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 2. Cartonașul Propri?-zis (Stilizat ca produsele) */
.cart-modal-card {
    background-color: #f6f3ee; /* Bejul elegant AuraDecor */
    border-radius: 24px; /* Rotunjire mare */
    border: 2px solid #8c6a51; /* Bordură MARO pronunțată, cerută de tine */
    padding: 60px 40px 40px 40px; /* Padding generos */
    max-width: 450px; /* Lățime maximă pe desktop */
    width: 90%; /* Adaptabil pe mobil */
    position: relative; /* Pentru poziționarea 'X'-ului */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* Umbră adâncă, premium */
    
    /* Animatie de intrare (zoom in) */
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

/* Animatie card când se deschide overlay-ul */
.cart-modal-overlay.show .cart-modal-card {
    transform: scale(1);
}

/* 3. Conținutul din interior */
.modal-icon {
    font-size: 3.5rem; /* Iconiță coș foarte mare */
    line-height: 1;
}

.cart-modal-card .product-name {
    font-size: 1.4rem; /* Mesaj mare și clar */
    color: #1a1a1a;
}

/* 4. Butonul 'X' de închidere */
.close-modal-x {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #8c6a51; /* Maro */
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
    line-height: 1;
}

.close-modal-x:hover {
    opacity: 1;
    transform: rotate(90deg); /* Mic efect la hover */
}

/* 5. Butonul MARO către pagina Coș */
.btn-go-to-cart {
    background-color: #8c6a51; /* Maro AuraDecor */
    color: #ffffff !important; /* Text Alb */
    border: none;
    padding: 15px 30px;
    border-radius: 50px; /* Formă pilulă */
    font-weight: 600;
    font-size: 1rem;
    width: 100%; /* Ocupă toată lățimea cardului */
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-go-to-cart:hover {
    background-color: #6e513a; /* Maro mai închis */
    transform: translateY(-2px); /* Mică ridicare */
}
.cart-icon-nav:hover {
    transform: translateY(-3px) scale(1.1);
}