/* ==========================================================================
   1. GLOBÁLIS BEÁLLÍTÁSOK & ALAPOK
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   2. FEJLÉC HÁTTÉRKÉP */
.ldt-header {
    background: url('https://images.unsplash.com/photo-1600121848594-d8644e57abab?q=80&w=1200') no-repeat center center;
    background-size: cover;
    height: 400px;
    width: 100%;
    position: relative;
}

/* ==========================================================================
   3. LDT CÍMSOR STÍLUSOK */
.ldt-logo-container {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    position: relative; /* Kell a hamburger gomb abszolút pozicionálásához */
}

.ldt-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -1px;
    margin: 0;
}

.letter-l { color: #ce2939; }
.letter-d {
    color: #ffffff;
    text-shadow: -1px -1px 0 #94a3b8, 1px -1px 0 #94a3b8, -1px 1px 0 #94a3b8, 1px 1px 0 #94a3b8, 2px 2px 4px rgba(0,0,0,0.15);
}
.letter-t { color: #477050; }

.text-cleaning { color: #475569; font-weight: 700; }
.text-karpit {
    color: #1e293b;
    font-weight: 400;
    font-size: 2.5rem;
    display: inline-block;
    margin-left: 10px;
}

/* A Hamburger menü gombja (Alaphelyzetben rejtve van, csak mobilon látszik) */
.ldt-menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid #94a3b8;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 22px;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 1001;
}

.ldt-menu-toggle:active {
    background: #e2e8f0;
}

/* ==========================================================================
   4. A VÍZSZINTES MENÜSÁV HÁTTÉRE */
.ldt-nav-container {
    background-color: #e2e8f0;
    padding: 20px 0;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ==========================================================================
   5. A 3D-S KIEMELKEDŐ GOMBOK */
.ldt-btn {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 14px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    text-decoration: none;
    box-shadow: 5px 5px 10px #cbcbcb, -5px -5px 10px #ffffff;
    transition: all 0.2s ease-in-out;
}

.ldt-btn i {
    font-size: 26px;
    margin-bottom: 6px;
    color: #475569;
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.ldt-btn span {
    font-weight: 700;
    color: #334155;
    font-size: 15px;
}

.ldt-btn:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 14px #b8b8b8, -7px -7px 14px #ffffff;
}

.btn-border-red { border: 3px solid #ce2939; }
.btn-border-green { border: 3px solid #477050; }
.btn-border-grey { border: 3px solid #94a3b8; }

/* ==========================================================================
   6. TARTALMI ELEMEK & KÁRTYÁK */
.section-spacing { 
    scroll-margin-top: 180px;
}

.max-width-text { 
    max-width: 750px; 
}

.locations-box { 
    background-color: #ffffff; 
    border-left: 5px solid #ce2939; 
    max-width: 700px; 
}

.service-card { 
    border-radius: 18px !important; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    background: #ffffff; 
}

.service-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important; 
}

.service-icon-wrapper { 
    width: 65px; 
    height: 65px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.bg-red-light { background-color: rgba(206, 41, 57, 0.1); }
.bg-green-light { background-color: rgba(71, 112, 80, 0.1); }
.bg-grey-light { background-color: rgba(148, 163, 184, 0.15); }

/* ==========================================================================
   7. ÁRLISTA TÁBLÁZAT, KALKULÁTOR & DISZCOUNT BOX */
.table-dark-custom {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.calculator-box {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.discount-box {
    background-color: #ffffff;
    border: 3px dashed #ce2939;
}

.tracking-wide {
    letter-spacing: 1px;
}

.calculator-box input[type="number"] {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-weight: 600;
}

.calculator-box input[type="number"]:focus {
    border-color: #ce2939;
    box-shadow: 0 0 0 0.25rem rgba(206, 41, 57, 0.25);
}

/* ==========================================================================
   8. GENERÁLT ÜRES GALÉRIA DOBOZOK */
.gallery-card {
    background-color: #f1f5f9; 
    border: 2px dashed #cbd5e1; 
    min-height: 250px;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
}

/* ==========================================================================
   9. KAPCSOLAT BLOKK */
.contact-box {
    border-radius: 20px;
    background: #ffffff;
    width: 100%;
}

.no-wrap {
    white-space: nowrap;
}

.phone-links a {
    font-size: 1.35rem;
    transition: color 0.2s ease;
}

.email-link {
    font-size: 1.25rem;
}

.contact-icon {
    width: 55px !important;
    height: 55px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tracking-wider {
    letter-spacing: 0.8px;
}

.contact-box a:hover {
    color: #ce2939 !important; 
}

/* ==========================================================================
   10. MOBIL RESPONSIVE JAVÍTÁSOK (Media Query)
   ========================================================================== */
@media (max-width: 767px) {
    /* JAVÍTVA: Kivettük a position: fixed-et! Így a logó fentre rögzül, de görgetésnél eltűnik és NEM mozog az oldallal */
    .ldt-logo-container {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1050;
        padding: 10px 0 !important;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ldt-main-title {
        font-size: 1.6rem;
    }

    .text-karpit {
        font-size: 1.3rem;
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }

    .ldt-menu-toggle {
        display: block;
    }

    /* JAVÍTVA: A háttérkép margóját visszaállítjuk normálisra, mert nincs fix takarás */
    .ldt-header {
        height: 220px;
        margin-top: 0px;
    }

    /* JAVÍTVA: A navigáció is sima relatív elrendezést kap, így követi a logót és görgetésre eltűnik */
    .ldt-nav-container {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #f1f5f9;
        padding: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .ldt-nav-container.active {
        max-height: 400px;
        padding: 15px 0;
    }

    .ldt-nav-container .container {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 20px;
    }

    .ldt-btn {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        min-width: auto;
        padding: 10px 15px;
        border-radius: 10px;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
    }

    .ldt-btn i {
        font-size: 18px;
        margin-bottom: 0;
        margin-right: 12px;
        padding: 6px;
        border-radius: 6px;
    }

    .ldt-btn span {
        font-size: 14px;
    }

    main.container {
        margin-top: 20px !important;
    }
    
    .section-spacing {
        scroll-margin-top: 20px; /* Mivel nem fix a menü, kisebb ugrási távolság is elég */
    }
}

/* ==========================================================================
   11. ÚJ LOGÓ KÉP STÍLUSOK
   ========================================================================== */
.ldt-img-logo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.2s ease;
}

@media (max-width: 767px) {
    .ldt-img-logo {
        max-height: 50px;
        padding-left: 15px;
    }
}

/* ==========================================================================
   12. SÜTI (COOKIE) SÁV MODERNEBB STÍLUSA
   ========================================================================== */
.ldt-cookie-container {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background-color: #1e293b;
    color: #ffffff;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: bottom 0.4s ease-in-out;
    padding: 15px 0;
}

.ldt-cookie-container.show {
    bottom: 0;
}

.ldt-cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ldt-cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ldt-cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.ldt-cookie-link {
    color: #cbd5e1 !important;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 600;
}

.ldt-cookie-link:hover {
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .ldt-cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .ldt-cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .ldt-cookie-buttons button {
        width: 60%;
    }
}

/* ==========================================================================
   13. JAVÍTOTT MARKETING: ABSZOLÚT POZÍCIONÁLT PROMO SÁV (GÖRDÍTÉSKOR ELTŰNIK)
   ========================================================================== */
.ldt-promo-floating-badge {
    position: absolute; /* Helyben marad, gördítéssel eltűnik */
    top: 30px;
    left: -400px; 
    background: #ffffff;
    border-left: 5px solid #dc3545;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 24px 16px 36px;
    width: 350px;
    z-index: 999; 
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Amikor beúszik asztali gépen */
.ldt-promo-floating-badge.show {
    left: 20px;
}

.ldt-promo-badge-content {
    display: flex;
    align-items: center;
}

.ldt-promo-badge-content i {
    font-size: 28px;
    flex-shrink: 0;
}

.ldt-promo-close {
    position: absolute;
    top: 5px;
    left: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.ldt-promo-close:hover {
    color: #334155;
}

/* JAVÍTVA: Teljesen tiszta mobilos statikus elrendezés, ami nem rángatja magával a menüt */
@media (max-width: 767px) {
    .ldt-promo-floating-badge {
        position: relative; /* Statikussá tesszük, így beépül a természetes folyamba */
        top: -150px; /* Fentről lefelé úszik be */
        left: 0;
        right: 0;
        width: 100%;
        border-left: none;
        border-bottom: 3px solid #dc3545;
        border-radius: 0;
        padding: 12px 40px 12px 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: top 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    /* Beúszáskor az oldal legeslegelső eleme lesz, és görgetéskor azonnal eltűnik */
    .ldt-promo-floating-badge.show {
        top: 0;
    }
    
    .ldt-promo-close {
        left: auto;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
}
/* ========================================================================== 
   24. JOGI NYILATKOZATOK, LÁBLÉC ÉS SÜTI BEÁLLÍTÁSOK
   ========================================================================== */
.legal-consent-box {
    padding: 14px 16px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.legal-consent-box a {
    color: #b51a2b;
}

.ldt-footer-legal-link,
.ldt-cookie-settings-btn {
    color: #bbbbbb !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.ldt-footer-legal-link:hover,
.ldt-cookie-settings-btn:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.ldt-cookie-settings-btn {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ldt-cookie-buttons button {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .ldt-cookie-container {
        bottom: -420px;
    }

    .ldt-cookie-buttons {
        flex-wrap: wrap;
    }

    .ldt-cookie-buttons button {
        width: auto;
        flex: 1 1 180px;
    }
}
