/* ===================================================
   Copt cu Dor — Mobile & Tablet Fix v4.5-mobile-fullfix
=================================================== */

/* -------------------------------------------------------
   1. GLOBAL
------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* -------------------------------------------------------
   2. CONTAINER
------------------------------------------------------- */
.container,
.container-wide {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------------
   3. HEADER DESKTOP — logo + nav pe aceeași linie
------------------------------------------------------- */
:root { --nav-h: 100px; }

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    min-height: var(--nav-h); height: auto;
    background: #FDF9F4;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    height: 100px; width: auto;
    object-fit: contain;
    display: block;
}

.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

/* Font nav — Cormorant Garamond 600 */
.nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    color: var(--text);
    padding: 8px 13px;
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--brown);
    background: var(--cream-dark);
}
.nav-link.nav-contact {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: var(--brown);
    color: #fff;
    border-radius: 50px;
    padding: 8px 18px;
}
.nav-link.nav-contact:hover { background: var(--dark); }
.dropdown li a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
.hamburger { display: none; }

.hero { padding-top: var(--nav-h); }
.page-hero { padding-top: var(--nav-h); padding-bottom: 20px !important; }

/* -------------------------------------------------------
   4. TABLET (769px–1024px)
------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
    :root { --nav-h: 90px; }
    .logo-img { height: 70px; width: auto; }
    .header-inner { padding: 0 20px; }
    .nav-link { font-size: 13px !important; padding: 7px 9px; }
    .nav-link.nav-contact { font-size: 13px !important; padding: 7px 13px; }

    .produse-grid         { grid-template-columns: repeat(2, 1fr); }
    .proiecte-grid        { grid-template-columns: repeat(2, 1fr); }
    .testimoniale-grid    { grid-template-columns: repeat(2, 1fr); }
    .blog-grid            { grid-template-columns: repeat(2, 1fr); }
    .products-grid        { grid-template-columns: repeat(2, 1fr); }
    .footer-top           { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-grid         { grid-template-columns: 1fr; }
    .about-grid           { grid-template-columns: 1fr 1fr; gap: 40px; }
    .ateliere-grid        { grid-template-columns: 1fr 1fr; gap: 40px; }
    .atelier-card         { grid-template-columns: 1fr; }
    .atelier-card.reverse { direction: ltr; }
    .stats-inner          { flex-direction: column; gap: 32px; }
    .stats-photo          { width: 100%; max-width: 360px; }
    .stats-numbers        { grid-template-columns: repeat(4, 1fr); }
    .proiecte-grid-cards  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .faq-grid             { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------
   5. MOBIL (≤ 768px) — header 2 rânduri: logo sus, nav jos
------------------------------------------------------- */
@media (max-width: 768px) {
    :root { --nav-h: 70px; }

    .container,
    .container-wide {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Header pe 2 rânduri */
    .site-header {
        width: auto !important;
        min-height: var(--nav-h) !important;
        height: var(--nav-h) !important;
    }

    .header-inner {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 16px !important;
        width: auto !important;
        height: 100% !important;
        max-width: 100% !important;
        gap: 0 !important;
    }

    /* Rând 1 — logo centrat */
    .site-logo {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }
    .logo-img {
        height: 50px !important;
        width: auto !important;
    }

    /* Hamburger — VIZIBIL pe mobil, MARO */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        width: 30px !important;
        height: 30px !important;
        justify-content: center !important;
        order: 2 !important;
        margin-left: auto !important;
        z-index: 1600 !important;
    }
    .hamburger span {
        display: block !important;
        height: 3px !important;
        background: #5B3A2A !important;
        border-radius: 2px !important;
        width: 100% !important;
    }

    /* Badges ascunse pe mobil */
    
    .mobile-menu { display: flex !important; transform: translateX(-100%); }
    .mobile-overlay { display: block !important; opacity: 0; visibility: hidden; }

    /* Nav ASCUNS pe mobil */
    .main-nav {
        display: none !important; */
    }

    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;          /* wrap dacă nu încape */
        justify-content: center !important;  /* centrat */
        align-items: center !important;
        gap: 2px !important;
        padding: 5px 8px !important;
        width: 100% !important;
    }

    .nav-link {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 5px 9px !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }
    .nav-link.nav-contact {
        font-family: 'Cormorant Garamond', Georgia, serif !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 5px 12px !important;
    }

    /* Dropdown pe mobil — toggle la tap */
    .dropdown {
        display: none !important; */
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: var(--cream-dark) !important;
        padding: 4px 0 !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .has-dropdown.open .dropdown {
        display: block !important;
    }
    .dropdown li a {
        padding: 8px 20px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: var(--brown) !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
    }
    .has-dropdown .arrow-svg {
        display: inline-block !important;
    }
    .has-dropdown.open .arrow-svg {
        transform: rotate(180deg) !important;
    }

    /* Hero offset */
    .hero { padding-top: var(--nav-h) !important; }
    .page-hero { padding-top: calc(var(--nav-h) + 64px) !important; padding-bottom: 16px !important; min-height: auto !important; align-items: flex-end !important; }

    /* ---- LAYOUT GENERAL ---- */
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }

    /* Grids */
    .produse-grid         { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .proiecte-grid        { grid-template-columns: 1fr !important; }
    .testimoniale-grid    { grid-template-columns: 1fr !important; }
    .blog-grid            { grid-template-columns: 1fr !important; }
    .products-grid        { grid-template-columns: repeat(2, 1fr) !important; }
    .galerie-grid         { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .proiecte-grid-cards  { grid-template-columns: 1fr !important; gap: 16px !important; }
    .faq-grid             { grid-template-columns: 1fr !important; gap: 14px !important; }
    .about-grid           { grid-template-columns: 1fr !important; gap: 32px !important; }
    .about-features       { grid-template-columns: 1fr !important; }
    .ateliere-grid        { grid-template-columns: 1fr !important; gap: 32px !important; }
    .atelier-card         { grid-template-columns: 1fr !important; overflow: hidden; }
    .atelier-card.reverse { direction: ltr !important; }
    .atelier-card-img     { min-height: 200px; }
    .atelier-card-body    { padding: 20px !important; overflow: hidden; word-break: break-word; }
    .atelier-card-title   { font-size: 20px !important; word-break: break-word; }
    .atelier-card-desc    { font-size: 14px !important; word-break: break-word; }
    .atelier-card-details { flex-direction: column; gap: 8px !important; }

    /* About images */
    .about-images { overflow: hidden; padding-bottom: 0 !important; }
    .about-img-accent {
        position: relative !important;
        right: auto !important; bottom: auto !important;
        width: 55% !important;
        margin-top: 12px; margin-left: auto;
    }
    .about-badge { top: 12px !important; left: 12px !important; padding: 12px !important; }
    .about-badge-num { font-size: 26px !important; }

    /* Ateliere */
    .ateliere-image { padding-bottom: 72px; overflow: visible; }
    .ateliere-quote { left: 8px !important; right: 8px !important; bottom: 0 !important; max-width: calc(100% - 16px) !important; }

    /* Stats */
    .stats-inner    { flex-direction: row !important; gap: 24px !important; }
    .stats-photo    { width: 100% !important; }
    .stats-photo img { aspect-ratio: 4/3; }
    .stats-numbers  { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
    .stat-number    { font-size: 40px !important; }
    .stats-photo-badge { right: 8px !important; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr !important; gap: 28px !important; padding: 40px 20px 28px !important; }
    .footer-bottom { flex-direction: row !important; text-align: center !important; padding: 20px !important; }
    .footer-logo-img { height: 80px !important; margin: 0 auto; }
    .footer-brand { text-align: center; }
    .footer-social { justify-content: center; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .contact-form { padding: 20px !important; }
    .form-row     { grid-template-columns: 1fr !important; }

    /* Page hero */
    .page-hero-label { display: none !important; */ }
    .page-hero-title { font-size: clamp(24px, 7vw, 36px) !important; }

    /* Hero */
    .hero-content { padding: 32px 0 28px !important; }
    .hero-title   { font-size: 32px !important; line-height: 1.1 !important; }
    .hero-desc    { font-size: 14px !important; max-width: 100% !important; }
    .hero-cta     { flex-direction: row !important; gap: 10px !important; }
    .btn-hero-primary, .btn-hero-outline {
        min-width: 0 !important; width: 100% !important;
        padding: 12px 20px !important; font-size: 11px !important;
        text-align: center !important; justify-content: center !important;
    }
    .hero-img-sm { display: none !important; */ }
    .hero-img-lg { height: 180px; width: 100%; border-radius: 8px; }
    .hero-bottom-images { padding-bottom: 24px; }
    .hero-imgs-row { overflow: hidden; padding: 0; }

    /* Butoane */
    .btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 16px !important;
        font-size: 12px !important;
        letter-spacing: 1px !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* CTA banner */
    .cta-banner { padding: 44px 20px !important; margin: 0 !important; }
    .cta-banner-title { font-size: 24px !important; }
    .cta-banner-cta { flex-direction: row !important; align-items: center !important; gap: 10px !important; }

    /* Testimonial */
    .testimonial-highlight { padding: 28px 16px !important; margin-top: 32px !important; }
    .testimonial-highlight p { font-size: 17px !important; }

    /* Proiecte speciale */
    .proiect-card-pad { padding: 18px 16px !important; }
    .proiect-card-pad h3 { font-size: 19px !important; word-break: break-word; }
    .proiect-card-pad p  { font-size: 14px !important; }

    /* FAQ */
    .faq-grid > div { padding: 18px 16px !important; }

    /* Valori (Despre noi) */
    .valori-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .valoare-card { padding: 20px 16px !important; text-align: left !important; }
}

/* -------------------------------------------------------
   6. BREAKPOINTS MULTI-DEVICE — toate telefoanele
   430px = iPhone Pro Max, Samsung S24 Ultra
   414px = iPhone 11/XR
   393px = iPhone 14/15, Pixel 7, Samsung S23
   375px = iPhone SE 2/3, iPhone X/XS
   360px = Samsung Galaxy S21/S22, Motorola Edge
   320px = iPhone SE 1st gen, telefoane vechi
------------------------------------------------------- */

/* --- 6a. Telefoane medii (≤ 480px) — Samsung A series, Motorola G --- */
@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .produse-grid  { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .hero-title { font-size: 28px !important; }
    .hero-desc { font-size: 13px !important; }
    .section { padding: 36px 0 !important; }
    .section-title { font-size: clamp(22px, 6vw, 28px) !important; }
    .section-desc { font-size: 14px !important; }
    .page-hero { min-height: auto !important; padding-bottom: 16px !important; }
    .page-hero-title { font-size: clamp(22px, 7vw, 32px) !important; }
    .cta-banner { padding: 32px 16px !important; }
    .cta-banner-title { font-size: 22px !important; }
    .about-title, .contact-info-title { font-size: clamp(22px, 6vw, 28px) !important; }
    .blog-card-title { font-size: 17px !important; }
    .footer-logo-img { height: 70px !important; }
    .footer-top { padding: 32px 16px 24px !important; }
    .proiect-card-pad h3 { font-size: 18px !important; }
    .pachete-grid { gap: 16px !important; }
    .pachet-header { padding: 20px 16px !important; }
    .pachet-header h3 { font-size: 20px !important; }
}

/* --- 6b. Telefoane standard (≤ 414px) — iPhone 11/XR, Pixel 6 --- */
@media (max-width: 414px) {
    .nav-link { font-size: 12px !important; padding: 4px 7px !important; }
    .nav-link.nav-contact { font-size: 11px !important; padding: 5px 10px !important; }
    .hero-content { padding: 24px 0 20px !important; }
    .hero-title { font-size: 26px !important; }
    .btn-hero-primary, .btn-hero-outline { font-size: 10px !important; padding: 11px 16px !important; }
    .stat-number { font-size: 36px !important; }
    .stats-numbers { gap: 12px !important; }
    .category-card-title { font-size: 18px !important; }
    .category-card-desc { font-size: 13px !important; }
    .product-card-title { font-size: 16px !important; }
    .product-card-desc { font-size: 13px !important; line-height: 1.55 !important; }
    .btn-comanda { font-size: 12px !important; padding: 9px 16px !important; }
    .testimonial-highlight p { font-size: 15px !important; }
    .atelier-card-title { font-size: 18px !important; }
    .atelier-card-desc { font-size: 13px !important; }
}

/* --- 6c. Telefoane compacte (≤ 393px) — iPhone 14/15, Pixel 7, Samsung S23 --- */
@media (max-width: 393px) {
    :root { --nav-h: 120px; }
    .logo-img { height: 90px !important; }
    .produse-grid { grid-template-columns: 1fr !important; }
    .products-grid { grid-template-columns: 1fr !important; }
    .hero-title { font-size: 25px !important; }
    .page-hero-title { font-size: clamp(20px, 6.5vw, 28px) !important; }
    .section-title { font-size: clamp(20px, 5.5vw, 26px) !important; }
    .breadcrumb { font-size: 11px !important; }
    .galerie-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
    .footer-col h4 { font-size: 14px !important; }
    .footer-col ul li a { font-size: 13px !important; }
}

/* --- 6d. Telefoane mici (≤ 360px) — Samsung S21/S22, Motorola Edge, Galaxy A --- */
@media (max-width: 360px) {
    :root { --nav-h: 115px; }
    .logo-img { height: 80px !important; }
    .nav-link { font-size: 11px !important; padding: 3px 5px !important; }
    .nav-link.nav-contact { font-size: 10px !important; padding: 4px 8px !important; }
    .container, .container-wide { padding-left: 12px !important; padding-right: 12px !important; }
    .hero-title { font-size: 24px !important; }
    .hero-desc { font-size: 12px !important; }
    .hero-content { padding: 20px 0 16px !important; }
    .section { padding: 28px 0 !important; }
    .section-title { font-size: 20px !important; }
    .section-desc { font-size: 13px !important; }
    .page-hero { min-height: auto !important; padding-bottom: 16px !important; }
    .page-hero-title { font-size: 22px !important; }
    .stat-number { font-size: 32px !important; }
    .stats-numbers { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .btn { font-size: 11px !important; padding: 10px 12px !important; letter-spacing: 0.5px !important; }
    .btn-comanda { font-size: 11px !important; padding: 8px 14px !important; }
    .cta-banner { padding: 28px 12px !important; }
    .cta-banner-title { font-size: 20px !important; }
    .product-card-title { font-size: 15px !important; }
    .product-card-desc { font-size: 12px !important; }
    .blog-card-title { font-size: 16px !important; }
    .about-text { font-size: 14px !important; }
    .contact-detail-value { font-size: 13px !important; }
    .footer-top { padding: 28px 12px 20px !important; }
    .footer-bottom { padding: 16px 12px !important; }
    .testimonial-highlight { padding: 20px 12px !important; }
    .testimonial-highlight p { font-size: 14px !important; }
    .atelier-card-body { padding: 16px !important; }
    .atelier-card-title { font-size: 17px !important; }
    .pachete-grid { gap: 12px !important; }
    .pachet-header { padding: 16px 12px !important; }
    .pachet-header h3 { font-size: 18px !important; }
    .pachet-body { padding: 16px !important; }
    .pachet-list li { font-size: 13px !important; }
    .faq-grid > div { padding: 14px 12px !important; }
    .proiect-card-pad { padding: 14px 12px !important; }
    .proiect-card-pad h3 { font-size: 17px !important; }
    .proiect-card-pad p { font-size: 13px !important; }
}

/* --- 6e. Telefoane foarte mici (≤ 320px) — iPhone SE 1st gen --- */
@media (max-width: 320px) {
    :root { --nav-h: 110px; }
    .logo-img { height: 70px !important; }
    .nav-link { font-size: 10px !important; padding: 3px 4px !important; }
    .nav-link.nav-contact { font-size: 9px !important; padding: 3px 7px !important; }
    .container, .container-wide { padding-left: 10px !important; padding-right: 10px !important; }
    .hero-title { font-size: 22px !important; }
    .hero-desc { font-size: 11px !important; }
    .section-title { font-size: 18px !important; }
    .page-hero-title { font-size: 20px !important; }
    .page-hero { min-height: auto !important; padding-bottom: 16px !important; }
    .stat-number { font-size: 28px !important; }
    .cta-banner-title { font-size: 18px !important; }
    .product-card-desc { font-size: 11px !important; }
    .btn { font-size: 10px !important; padding: 9px 10px !important; }
    .btn-comanda { font-size: 10px !important; padding: 7px 12px !important; }
    .footer-logo-img { height: 55px !important; }
    .about-badge { padding: 8px !important; }
    .about-badge-num { font-size: 22px !important; }
    .about-badge-text { font-size: 9px !important; }
}

/* -------------------------------------------------------
   7. DIVERSE — pachete, valori, etc.
------------------------------------------------------- */
.valori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.valoare-card {
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
}
.despre-galerie {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}
.pachete-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pachet-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
}
.pachet-card-popular { border: 2px solid var(--gold); position: relative; }
.pachet-badge-popular {
    position: absolute; top: 16px; right: 16px;
    background: var(--gold); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
    padding: 4px 12px; border-radius: 50px;
    text-transform: uppercase; z-index: 2;
}
.pachet-header { padding: 36px; text-align: center; }
.pachet-header-brown { background: var(--brown); }
.pachet-header-gold   { background: var(--gold); }
.pachet-header-dark   { background: var(--dark); }
.pachet-header-emoji  { font-size: 40px; margin-bottom: 12px; }
.pachet-header h3 { color: #fff; font-family: var(--font-head); font-size: 26px; margin: 0; }
.pachet-body { padding: 28px; }
.pachet-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0 0 24px 0; padding: 0; }
.pachet-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.5; align-items: flex-start; }
.pachet-list li span.check { flex-shrink: 0; color: var(--gold); font-weight: 700; }
.pachet-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 14px 20px; border-radius: 50px;
    font-family: var(--font-body); font-size: 13px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; text-align: center;
    transition: all 0.3s; text-decoration: none; box-sizing: border-box;
    white-space: normal; word-break: break-word; line-height: 1.3;
}
.pachet-btn-brown { background: var(--brown); color: #fff; border: 2px solid var(--brown); }
.pachet-btn-gold  { background: var(--gold);  color: #fff; border: 2px solid var(--gold); }
.pachet-btn-dark  { background: var(--dark);  color: #fff; border: 2px solid var(--dark); }

.testimonial-highlight {
    margin-top: 72px; background: var(--brown);
    border-radius: 16px; padding: 60px; text-align: center;
}
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proiecte-grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.proiect-card-pad { padding: 28px; }

@media (max-width: 768px) {
    .valori-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .despre-galerie { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .pachete-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .pachet-header { padding: 24px 20px !important; }
    .pachet-header h3 { font-size: 22px !important; }
    .pachet-body { padding: 20px !important; }
    .pachet-list li { font-size: 14px !important; }
    .pachet-btn { font-size: 13px !important; padding: 13px 16px !important; }
    .testimonial-highlight { padding: 28px 16px !important; margin-top: 32px !important; }
    .testimonial-highlight p { font-size: 17px !important; }
    .faq-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .faq-grid > div { padding: 18px 16px !important; }
    .proiecte-grid-cards { grid-template-columns: 1fr !important; gap: 16px !important; }
    .proiect-card-pad { padding: 18px 16px !important; }
}

/* features-row handled inline in front-page.php */
/* feature-card handled inline in front-page.php */

/* ===== ARROW SVG DROPDOWN ===== */
.arrow-svg {
    display: inline-block;
    vertical-align: middle;
    margin-left: 3px;
    margin-top: -2px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: currentColor;
    opacity: 0.75;
}
.has-dropdown:hover .arrow-svg {
    transform: rotate(180deg);
    opacity: 1;
}
/* Ascunde arrow vechi (text) daca mai exista */
.arrow { display: none !important; */ }

/* ===== PALETA NOUA — Verde salvie accent ===== */
.section-label,
.category-card-label,
.blog-card-cat,
.proiect-card-tag,
.atelier-card-tag,
.page-hero-label,
.footer-col ul li a:hover {
    color: #A7B08A !important;
}
.ateliere-label { color: #A7B08A !important; }
.ateliere-item-dot { background: #A7B08A !important; }
.footer-contact-list li svg { color: #A7B08A !important; }
.social-link:hover { border-color: #A7B08A !important; color: #A7B08A !important; }

/* Stat numbers — culoare noua */
.stat-number { color: #2F1F18 !important; }

/* Testimonial stars */
.testimonial-stars { color: #8D6B4A !important; }

/* Border bottom hero */
.site-header { border-bottom: none !important; }

/* Body background */
body { background: #F2EFE8 !important; }


/* ===== TOUCH TARGETS & OVERFLOW PREVENTION (toate telefoanele) ===== */
@media (max-width: 768px) {
    /* Touch targets minime 44px (WCAG 2.5.5) */
    a, button, .btn, .nav-link, .btn-comanda, .social-link,
    .category-card, .blog-card, input[type="submit"] {
        min-height: 44px;
    }
    
    /* Previne overflow orizontal pe orice element */
    img, video, iframe, embed, object, table {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix text overflow pe ecrane mici */
    h1, h2, h3, h4, .section-title, .page-hero-title, .hero-title,
    .about-title, .contact-info-title, .cta-banner-title {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }
    
    /* Previne scroll orizontal de la elemente ascunse */
    .section, .container, .container-wide, main, article {
        overflow-x: hidden !important;
    }
}
/* Desktop: nav vizibil, hamburger ascuns (regulile globale rămân) */

/* ============================================
   SUBCATEGORII PRODUSE — hover pe desktop
============================================ */
.mobile-has-sub {
    position: relative;
}
.mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-has-sub.open .mobile-sub {
    max-height: 500px;
}
/* Arrow rotation */
.mobile-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    font-size: 12px;
}
.mobile-has-sub.open .mobile-arrow {
    transform: rotate(180deg);
}

/* Subcategorii stil */
.mobile-sub li a {
    font-size: 14px !important;
    padding: 8px 16px !important;
    margin: 4px 32px !important;
    background: #7A6455 !important;
}
.mobile-sub li a:hover,
.mobile-sub li a:active {
    background: #9B7D6A !important;
}

@media (max-width: 768px) {
    /* Logo mai mic pe mobil */
    .logo-img {
        height: 60px !important;
        width: auto !important;
    }
    
    .header-inner {
        padding: 8px 16px !important;
        min-height: auto !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .site-header {
        min-height: auto !important;
    }
}