/* ========================================
   Landscaping Page Styles
======================================== */

/* Hero */
.ls-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #333e3b;
}

.ls-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6);
}

.ls-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* Intro */
.ls-intro {
    max-width: 780px;
    margin: 0 auto;
    padding: 50px 24px 30px;
    text-align: center;
}

.ls-intro p {
    font-size: 1rem;
    line-height: 1.85;
    color: #555;
}

/* ========================================
   Gallery Section
======================================== */
.ls-gallery-section {
    padding: 20px 0 50px;
    background: #fff;
}

.ls-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #333e3b;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

/* Carousel wrapper */
.ls-carousel-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 50px;
}

/* Arrow buttons */
.ls-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(51,62,59,0.75);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.ls-arrow:hover {
    background: #95a148;
}

.ls-arrow svg {
    width: 22px;
    height: 22px;
}

.ls-arrow-prev { left: 6px; }
.ls-arrow-next { right: 6px; }

/* Carousel */
.ls-carousel {
    overflow: hidden;
    width: 100%;
}

.ls-carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Slides — default 4 visible (portrait) */
.ls-slide {
    flex: 0 0 calc(25% - 8px);
    min-width: 0;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: #e0e0e0;
    position: relative;
}

/* Landscape-ratio slides — 5 visible */
.ls-slide--land {
    flex: 0 0 calc(20% - 8px);
    aspect-ratio: 4/3;
}

.ls-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ls-slide:hover img {
    transform: scale(1.05);
}

/* ========================================
   Grass Section
======================================== */
.ls-grass-section {
    padding: 50px 24px 70px;
    background: #fff;
    text-align: center;
}

.ls-grass-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #333e3b;
    margin-bottom: 10px;
}

.ls-grass-subtitle {
    font-size: 0.97rem;
    color: #666;
    margin-bottom: 35px;
}

.ls-grass-img-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.ls-grass-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Lightbox
======================================== */
.ls-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.ls-lightbox.active {
    display: flex;
}

.ls-lb-img-wrap {
    max-width: calc(100vw - 140px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-lb-img-wrap img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    display: block;
}

.ls-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2.2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}

.ls-lb-close:hover {
    color: #95a148;
    transform: scale(1.15);
}

.ls-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.ls-lb-arrow:hover {
    background: #95a148;
}

.ls-lb-arrow svg {
    width: 30px;
    height: 30px;
}

.ls-lb-prev { left: 20px; }
.ls-lb-next { right: 20px; }

.ls-lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-family: 'Source Sans 3', sans-serif;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 900px) {
    .ls-slide {
        flex: 0 0 calc(33.333% - 7px);
    }

    .ls-slide--land {
        flex: 0 0 calc(33.333% - 7px);
    }

    .ls-carousel-wrap {
        padding: 0 42px;
    }
}

@media (max-width: 640px) {
    .ls-slide {
        flex: 0 0 calc(50% - 5px);
    }

    .ls-slide--land {
        flex: 0 0 calc(50% - 5px);
    }

    .ls-carousel-wrap {
        padding: 0 36px;
    }

    .ls-hero {
        height: 220px;
    }

    .ls-lb-img-wrap {
        max-width: calc(100vw - 100px);
    }

    .ls-lb-prev { left: 10px; }
    .ls-lb-next { right: 10px; }
}

@media (max-width: 420px) {
    .ls-slide,
    .ls-slide--land {
        flex: 0 0 100%;
    }

    .ls-carousel-wrap {
        padding: 0 32px;
    }
}
