/* ========================================
   Licilac Homepage – Frontend Styles
   ======================================== */

/* --- Hero Slider --- */
.lh-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.lh-hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.lh-hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.lh-hero-slide.active {
    opacity: 1;
}

.lh-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lh-hero-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.lh-hero-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    line-height: 1.2 !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.lh-hero-subtitle {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 30px !important;
    line-height: 1.6 !important;
    max-width: 650px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.lh-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.lh-btn {
    display: inline-block !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.lh-btn-outline {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}

.lh-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.lh-btn-primary {
    background: #FFD700 !important;
    border: 2px solid #FFD700 !important;
    color: #1a3c5e !important;
}

.lh-btn-primary:hover {
    background: #FFC700 !important;
    border-color: #FFC700 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
    color: #1a3c5e !important;
}

/* Hero dots */
.lh-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.lh-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    transition: background 0.3s;
}

.lh-hero-dot.active,
.lh-hero-dot:hover {
    background: #FFD700 !important;
    border-color: #FFD700 !important;
}

/* --- Services Section --- */
.lh-services {
    background: #1a3c5e;
    padding: 70px 20px;
}

.lh-services-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.lh-section-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 0 0 40px !important;
    line-height: 1.3 !important;
}

.lh-services-title {
    color: #fff !important;
}

.lh-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lh-service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.3s, background 0.3s;
}

.lh-service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: inherit;
}

.lh-service-card-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.lh-service-card-placeholder {
    background: rgba(255, 255, 255, 0.1);
}

.lh-service-card-body {
    padding: 20px 16px;
    text-align: center;
}

.lh-service-card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFD700 !important;
    margin: 0 0 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.lh-service-card-desc {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* --- About Section --- */
.lh-about {
    background-color: #1a3c5e;
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    position: relative;
}

.lh-about-overlay {
    background: rgba(26, 60, 94, 0.88);
    padding: 80px 20px;
}

.lh-about-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.lh-about-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 24px !important;
    line-height: 1.3 !important;
}

.lh-about-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

.lh-about-text p {
    margin-bottom: 1em;
}

.lh-about-text p:last-child {
    margin-bottom: 0;
}

/* --- Trust Section --- */
.lh-trust {
    padding: 70px 20px;
    background: #f8f9fa;
}

.lh-trust-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.lh-trust .lh-section-title {
    color: #1a3c5e !important;
}

.lh-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lh-trust-item {
    text-align: center;
    padding: 30px 20px;
}

.lh-trust-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.lh-trust-item-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a3c5e !important;
    margin: 0 0 10px !important;
}

.lh-trust-item-desc {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* --- Partner Logos --- */
.lh-partners {
    padding: 50px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.lh-partners-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: lh-scroll var(--lh-scroll-duration, 30s) linear infinite;
}

.lh-partners-static {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.lh-partner-logo {
    height: 70px;
    width: 160px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.lh-partner-logo:hover {
    opacity: 1;
}

@keyframes lh-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

/* --- Contact / Get in Touch --- */
.lh-contact {
    padding: 70px 20px;
    background: #fff;
}

.lh-contact-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.lh-contact .lh-section-title {
    color: #1a3c5e !important;
}

.lh-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lh-contact-card {
    text-align: center;
}

.lh-contact-card-image {
    margin-bottom: 20px;
}

.lh-contact-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.lh-contact-card-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1a3c5e !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 16px !important;
}

.lh-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 24px !important;
    border: 2px solid #1a3c5e !important;
    border-radius: 50px !important;
    color: #1a3c5e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s;
    background: transparent !important;
    line-height: 1 !important;
}

.lh-contact-btn:hover {
    background: #1a3c5e !important;
    color: #fff !important;
    text-decoration: none !important;
}

.lh-contact-btn svg {
    transition: transform 0.2s;
    flex-shrink: 0 !important;
    display: block !important;
}

.lh-contact-btn span {
    display: block !important;
}

.lh-contact-btn:hover svg {
    transform: translateX(3px);
    stroke: #fff;
}

/* --- Latest Projects --- */
.lh-projects {
    padding: 70px 20px;
    background: #f8f9fa;
}

.lh-projects-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.lh-projects .lh-section-title {
    color: #1a3c5e !important;
}

.lh-projects-desc {
    text-align: center !important;
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 700px;
    margin: -20px auto 40px !important;
}

.lh-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lh-projects-more {
    text-align: center !important;
    margin-top: 36px !important;
}

.lh-project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.lh-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    text-decoration: none;
    color: inherit;
}

.lh-project-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.lh-project-card-info {
    padding: 20px;
}

.lh-project-card-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a3c5e !important;
    margin: 0 0 6px !important;
    line-height: 1.4 !important;
}

.lh-project-card-date {
    font-size: 13px;
    color: #666;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .lh-hero {
        height: 80vh;
        min-height: 400px;
    }

    .lh-hero-title {
        font-size: 28px !important;
    }

    .lh-hero-subtitle {
        font-size: 15px !important;
    }

    .lh-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lh-service-card-img {
        height: 150px;
    }

    .lh-trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lh-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lh-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .lh-project-card-image img {
        height: 160px;
    }

    .lh-about {
        background-size: cover;
        background-position: center center;
    }

    .lh-about-overlay {
        padding: 50px 15px;
    }

    .lh-about-title {
        font-size: 22px !important;
    }

    .lh-services,
    .lh-trust {
        padding: 50px 15px;
    }
}

@media (max-width: 480px) {
    .lh-hero {
        height: 70vh;
    }

    .lh-hero-title {
        font-size: 22px !important;
    }

    .lh-services-grid {
        grid-template-columns: 1fr;
    }

    .lh-projects-grid {
        grid-template-columns: 1fr;
    }

    .lh-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .lh-btn {
        width: 100% !important;
        text-align: center !important;
    }
}
