/* ===== Sections ===== */
.jl-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--jl-border);
}

.jl-section:last-of-type {
    border-bottom: none;
}

/* ===== Headings ===== */
.jl-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

.jl-heading-xl {
    font-size: 48px;
    margin-bottom: 15px;
}

.jl-heading-lg {
    font-size: 34px;
    margin-bottom: 20px;
}

.jl-heading-md {
    font-size: 32px;
    margin-bottom: 10px;
}

/* ===== Grid ===== */
.jl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: var(--jl-border);
}

.jl-grid-item {
    background: var(--jl-white);
    padding: 40px 20px;
    text-align: center;
    transition: var(--jl-transition);
}

.jl-grid-item h3 {
    font-weight: 500;
}

.jl-trust-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 15px;
}

.jl-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--jl-shadow);
}

/* ===== Trust Bar ===== */
.jl-trust-bar {
    display: flex;
    justify-content: space-around;
    padding: 25px 0;
    background: transparent;
    border-bottom: 1px solid var(--jl-border);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Carousel ===== */
.jl-hero-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.jl-carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.jl-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jl-carousel-slide.active {
    opacity: 1;
}

/* Background images - using HTTPS for security */
.jl-carousel-slide:nth-child(1) {
    background-image: url('https://jucundusluminis.com/wp-content/uploads/2026/10/home_background1-scaled.jpg');
}

.jl-carousel-slide:nth-child(2) {
    background-image: url('https://jucundusluminis.com/wp-content/uploads/2026/10/home_background2-scaled.jpg');
}

.jl-carousel-slide:nth-child(3) {
    background-image: url('https://jucundusluminis.com/wp-content/uploads/2026/10/home_background3-scaled.jpg');
}

/* Carousel Indicators */
.jl-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.jl-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--jl-transition);
    padding: 0;
}

.jl-carousel-dot:hover,
.jl-carousel-dot:focus {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    outline: none;
}

.jl-carousel-dot.active {
    background: var(--jl-white);
    transform: scale(1.2);
}

/* Hero Content */
.jl-hero-content {
    position: relative;
    z-index: 1;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jl-hero-card {
    background: var(--jl-overlay);
    padding: 60px 80px;
    text-align: center;
    max-width: 800px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 8px;
}

/* Brand Story Section */
.jl-brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text Styles */
.jl-text-center {
    text-align: center;
}

.jl-text-light {
    color: var(--jl-text-light);
}

.jl-mb-10 { margin-bottom: 10px; }
.jl-mb-20 { margin-bottom: 20px; }
.jl-mb-30 { margin-bottom: 30px; }
.jl-mb-50 { margin-bottom: 50px; }

.jl-line-height-1-7 { line-height: 1.7; }
.jl-line-height-1-8 { line-height: 1.8; }

/* Icons */
.jl-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jl-trust-bar {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .jl-trust-bar__inner {
        justify-content: center;
    }
    
    .jl-brand-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .jl-heading-xl {
        font-size: 36px;
    }
    
    .jl-heading-lg {
        font-size: 28px;
    }
    
    .jl-heading-md {
        font-size: 24px;
    }
    
    .jl-hero-card {
        padding: 40px 20px;
        margin: 0 20px;
    }
    
    .jl-carousel-indicators {
        bottom: 20px;
    }
    
    .jl-btn + .jl-btn {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .jl-btn-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .jl-section {
        padding: 60px 0;
    }
    
    .jl-grid {
        grid-template-columns: 1fr;
    }
}

/* Full-width homepage sections */
.jl-section--full,
.jl-trust-bar--full {
    background: var(--jl-warm);
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.jl-section--bordered {
    border-top: 1px solid var(--jl-border);
}
