/* ============================================================
   Content CSS
============================================================ */

.lp-home-tiles {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    gap: 10px;

    height: 610px;
}

/* SHARED TILE BASE */
.lp-tile {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

/* IMAGE = BACKGROUND REPLACEMENT */
.lp-tile img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: 0;
}

/* LEFT BIG BLOCK */
.lp-tile--big {
    flex: 1;
}

/* RIGHT SIDE STACK */
.lp-home-tiles-right {
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* SMALL BLOCKS */
.lp-tile--small {
    flex: 1;
}

/* BUTTON STYLE */
.lp-tile-btn {
    position: relative;
    z-index: 1;

    padding: 17px 35px;
    background: rgba(245, 231, 215, 0.78);

    border: 1px solid rgb(245, 231, 215);

    color: #000;
    font-family: Hind, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 14px;

    display: inline-block;
    transition: all 0.3s ease;
}

/* HOVER */
.lp-tile:hover .lp-tile-btn {
    background: #DFA47E;
    border-color: #DFA47E;
    color: #fff;
}

/* MOBILE */
@media (max-width: 1024px) {

    .lp-home-tiles {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .lp-tile--big,
    .lp-tile--small {
        min-height: 250px;
    }

    .lp-home-tiles-right {
        gap: 20px;
    }
}
/* lp-section-header ---------------------------------------------------------------- */

.lp-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    height: 220px; /* desktop */
    padding: 0; /* remove weird Elementor spacing */
}

.lp-section-title {
    margin: 0;
    font-size: 35px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .lp-section-header {
        height: 115px;
    }

    .lp-section-title {
        font-size: 25px;
    }
}

/* ============================================================
   HOME CATEGORIES
============================================================ */

.lp-home-cats {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    gap: 20px;
}

/* TILE */
.lp-cat-tile {
    flex: 1;
    min-height: 400px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    cursor: pointer;

    isolation: isolate; /* keeps overlay layering clean */
}

/* IMAGE */
.lp-cat-tile img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: 0;

    transition: transform 0.4s ease;
}

/* ✅ LIGHT OVERLAY (safe + fast) */
.lp-cat-tile::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.2);

    z-index: 1;
}

/* BUTTON */
.lp-cat-btn {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 17px 35px;

    background: rgba(245, 231, 215, 0.78);
    border: 1px solid rgb(245, 231, 215);

    color: #000;
    font-family: Hind, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;

    line-height: 1; /* ✅ fixes mobile height bug */

    transition: all 0.3s ease;
}

/* HOVER */
.lp-cat-tile:hover .lp-cat-btn {
    background: #DFA47E;
    border-color: #DFA47E;
    color: #fff;
}

/* IMAGE HOVER ZOOM */
.lp-cat-tile:hover img {
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 1024px) {

    .lp-home-cats {
        flex-direction: column;
    }

    .lp-cat-tile {
        min-height: 250px; /* use min-height, NOT height */
    }
}


/* ============================================================
   ABOUT SECTION
============================================================ */

.lp-about {
    padding: 80px 20px;
}

.lp-about-inner {
    max-width: 1280px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 60px;
}

/* IMAGE */
.lp-about-image {
    flex: 1;
}

.lp-about-image img {
    width: 100%;
    height: 452px; 
    object-fit: cover;
}

/* CONTENT */
.lp-about-content {
    flex: 1;
    max-width: 600px;
}

/* H2 */
.lp-about-content h2 {
    margin: 10px 0;

    font-size: 35px;
    font-weight: 500;
    line-height: 1.3;
}

/* H3 */
.lp-about-content h3 {
    font-size: 12px;
    font-weight: 400;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 20px;
}

/* TEXT */
.lp-about-content p {
    font-family: Hind, sans-serif;
    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 25px;
}

/* BUTTON (reuse style) */
.lp-btn {
    text-decoration: none;
    display: inline-block;
    line-height: 14px;
    padding: 17px 35px;

    background: rgba(245, 231, 215, 0.78);
    border: 1px solid rgb(245, 231, 215);

    color: #000;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: all 0.3s ease;
}

.lp-btn:hover {
    background: #DFA47E;
    border-color: #DFA47E;
    color: #fff;
}


@media (max-width: 1024px) {

    .lp-about {
        padding: 40px 10px;
    }

    .lp-about-inner {
        flex-direction: column;
        gap: 20px;
    }

    .lp-about-image img {
        height: 300px;
    }

    .lp-about-content {
        max-width: 100%;
    }
    .lp-about-content{
        padding: 0px 10px;
    }
}

/* ============================================================
   Klientai (Testimonials)
============================================================ */

.lp-testimonials {
    position: relative;
    padding: 80px 0;

    /* VARIABLES (future-proof) */
    --bg-image: url('https://storisiulai.deividasmalcevas.lt/wp-content/uploads/2024/04/1711201338982_66Drkx5ezg4nGqYj.jpg');
    --overlay-color: #ffffff;
    --overlay-opacity: 0.75;

    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-attachment: fixed;

    overflow: hidden;
}

/* MOBILE */
@media (max-width: 1024px) {
    .lp-testimonials {
        padding: 40px 0;
        background-attachment: scroll;
    }
}


/* =========================
   OVERLAY
========================= */

.lp-testimonials__overlay {
    position: absolute;
    inset: 0;

    background-color: var(--overlay-color);
    opacity: var(--overlay-opacity);

    pointer-events: none;
    z-index: 1;
}


/* =========================
   CONTAINER
========================= */

.lp-container {
    position: relative;
    z-index: 2;

    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}


/* ============================================================
   SECTION HEADER (GLOBAL)
============================================================ */

.lp-section__head {
    text-align: center;
    margin-bottom: 40px;
}

.lp-section__head h2 {
    font-weight: 500;
    margin: 0;
    font-size: 32px;
}

.lp-section__head h3,
.lp-section__head .lp-subtitle {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    color: var(--e-global-color-5554a05);
}

/* ============================================================
   SLIDER STRUCTURE
============================================================ */

.lp-slider {
    position: relative;
}

.lp-slider__viewport {
    overflow: hidden;
}

.lp-slider__track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}


/* ============================================================
   SLIDES
============================================================ */

.lp-slide {
    flex: 0 0 calc((100% - 60px) / 3); /* 3 slides with 30px gaps */

    background: #fff;
    padding: 20px;
    box-sizing: border-box;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* ============================================================
   COMMENT TEXT
============================================================ */

.lp-text {
    margin: 0;

    font-family: Hind, sans-serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;

    color: #000;
    text-align: center;

    overflow-wrap: break-word;
}


/* ============================================================
   CITATION BLOCK
============================================================ */

.lp-slide cite {
    display: flex;
    flex-direction: column;
    align-items: center;

    font-style: normal;
    margin-top: 15px;
}


/* NAME */
.lp-slide .name {
    font-family: Hind, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;

    color: #000;
    text-align: center;
}


/* DATE */
.lp-slide .date {
    font-family: Hind, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    color: #777; /* improved contrast */
    text-align: center;

    margin-top: 2px;
}


.lp-slider__track {
    cursor: grab;
}

.lp-slider__track:active {
    cursor: grabbing;
}

/* ============================================================
   ARROWS
============================================================ */

.lp-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 20px;
    height: 20px;

    padding: 0;
    border: none;
    background: transparent;

    cursor: pointer;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-slider__arrow.prev {
    left: -30px;
}

.lp-slider__arrow.next {
    right: -30px;
}

/* SVG */
.lp-arrow-icon {
    width: 20px;
    height: 20px;

    fill: #000;
    transition: transform 0.2s ease, fill 0.2s ease;
}

.lp-slider__arrow:hover .lp-arrow-icon {
    fill: #DFA47E;
    transform: scale(1.1);
}


/* ============================================================
   PAGINATION DOTS
============================================================ */

.lp-slider__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;

    margin-top: 20px;
}

.lp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;

    background: #ccc;
    border: none;
    padding: 0;

    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lp-dot.active {
    background: #000;
}

.lp-dot:hover {
    transform: scale(1.2);
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {
    
    

    .lp-slider__track {
        gap: 10px;
    }

    .lp-slide {
        flex: 0 0 100%;
    }

    .lp-slider__arrow {
        display: none; /* cleaner UX on mobile */
    }
}
/* ============================================================
   lp-partners
============================================================ */

.lp-slider__track,
.lp-slider__track img {
    user-select: none;
    -webkit-user-drag: none;
}

/*.lp-slider__track {*/
/*    user-select: none;*/
/*    -webkit-user-select: none;*/
/*}*/

.lp-partners {
    padding: 60px 0;
}

.lp-partners__head {
    text-align: center;
    margin-bottom: 40px;
}

/* track reuse */
.lp-partners .lp-slider__track {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* 5 per view on desktop */
.lp-partner-slide {
    flex: 0 0 calc((100% - 160px) / 5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-partner-slide img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s ease;
}

.lp-partner-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* MOBILE = 2 */
@media (max-width: 1024px) {

    .lp-partner-slide {
        flex: 0 0 calc((100% - 40px) / 2);
    }

    .lp-partners .lp-slider__track {
        gap: 20px;
    }
}

/* ============================================================
   CONTACT CTA SECTION
============================================================ */

.lp-contact-cta {
    position: relative;
    padding: 80px 0;

    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-attachment: fixed;
    overflow: hidden;
}

/* overlay reuse (same as testimonials) */
.lp-contact-cta .lp-testimonials__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--overlay-color);
    opacity: var(--overlay-opacity);
    pointer-events: none;
    z-index: 1;
}

/* ensure content above overlay */
.lp-contact-cta .lp-container {
    position: relative;
    z-index: 2;

    text-align: center;
}

/* button spacing */
.lp-contact-cta__action {
    margin-top: 20px;
}

/* MOBILE */
@media (max-width: 1024px) {
    .lp-contact-cta {
        padding: 40px 0;
        background-attachment: scroll;
    }
}