/*
Theme Name: Blancong
Theme URI: https://sedotwcmurah.biz
Author: Bantolo
Description: Tema elegan untuk jasa sedot WC, saluran mampet, sumur bor, dan sedot limbah.
Version: 1.0
License: GPL v2 or later
Text Domain: blancong
*/

/* ============================================================
   STYLE.CSS - HANYA UNTUK HALAMAN DEPAN (page-home.php)
   ============================================================ */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}
.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 42, 54, 0.80) 0%, rgba(30, 42, 54, 0.40) 100%);
    z-index: 1;
}
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e2a36 0%, #2d4b5a 100%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.hero-title .highlight {
    color: #d4af37;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.hero-buttons .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 8px auto;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 100px 0;
    background: #fcfaf7;
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.services-section .section-title {
    font-family: 'Playfair Display', serif;
}
.blancong-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 28px 35px;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.06);
}
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f5e5b0, #d4af37);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s ease;
}
.service-item:hover::before {
    transform: scaleX(1);
}
.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(212, 175, 55, 0.12), 0 8px 30px rgba(0,0,0,0.06);
    border-color: rgba(212, 175, 55, 0.15);
}
.service-item i {
    font-size: 3.2rem;
    display: inline-block;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #d4af37, #b8942a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1e2a36;
    margin-bottom: 12px;
}
.service-item .service-image {
    margin: 16px 0 18px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.service-item .service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-item:hover .service-image img {
    transform: scale(1.04);
}
.service-item .excerpt {
    font-size: 0.95rem;
    color: #4a5f70;
    line-height: 1.7;
    margin-bottom: 16px;
}
.service-item .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    display: inline-block;
    padding: 6px 24px;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

@media (max-width: 992px) {
    .blancong-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blancong-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== AREAS SECTION ===== */
.areas-section {
    background: #f8f6f2;
    padding: 80px 0;
}
.blancong-areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    list-style: none;
    padding: 0;
}
.blancong-areas-list li {
    background: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #eae6e0;
    transition: all 0.3s ease;
}
.blancong-areas-list li:hover {
    background: #1e2a36;
    border-color: #1e2a36;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 42, 54, 0.10);
}
.blancong-areas-list li a {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}
.blancong-areas-list li:hover a {
    color: #ffffff;
}
.area-count {
    color: #8a9aa8;
    font-size: 0.8rem;
    font-weight: 400;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: #ffffff;
    padding: 80px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.testimonial-item {
    background: #f8f6f2;
    padding: 32px 30px;
    border-radius: 20px;
    border-left: 4px solid #d4af37;
    transition: all 0.4s ease;
}
.testimonial-item:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
    transform: translateY(-6px);
}
.testimonial-item blockquote {
    font-style: italic;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 16px;
}
.testimonial-author {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #1e2a36;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
}

/* ===== CLIENTS ===== */
.clients-section {
    background: #fcfaf7;
    padding: 80px 0;
}
.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    list-style: none;
    padding: 0;
}
.clients-list li {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e2a36;
    padding: 10px 28px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #eae6e0;
    transition: all 0.3s ease;
}
.clients-list li:hover {
    background: #1e2a36;
    color: #ffffff;
    border-color: #1e2a36;
    transform: translateY(-3px);
}
.clients-list li a {
    color: inherit;
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fcfaf7 0%, #f8f6f2 100%);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: all 0.5s ease;
}
.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.12);
}
.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .portfolio-item img {
        height: 140px;
    }
}
@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .portfolio-item img {
        height: 120px;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1e2a36 0%, #2d4b5a 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}
.cta-box h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}
.cta-box p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.8;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin: 20px 0;
}
.cta-buttons .btn-cta {
    background: #d4af37;
    color: #ffffff;
    border: 2px solid #d4af37;
    padding: 16px 44px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    min-width: 200px;
}
.cta-buttons .btn-cta:hover {
    background: #b8942a;
    border-color: #b8942a;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.30);
}
.cta-note {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .btn-cta {
        width: 100%;
        max-width: 320px;
    }
}

/* ===== ANIMASI MASUK ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.blancong-services-grid .service-item,
.portfolio-item,
.testimonial-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}
.blancong-services-grid .service-item:nth-child(1) { animation-delay: 0.05s; }
.blancong-services-grid .service-item:nth-child(2) { animation-delay: 0.12s; }
.blancong-services-grid .service-item:nth-child(3) { animation-delay: 0.19s; }
.blancong-services-grid .service-item:nth-child(4) { animation-delay: 0.26s; }
.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.portfolio-item:nth-child(2) { animation-delay: 0.10s; }
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.portfolio-item:nth-child(4) { animation-delay: 0.20s; }
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.portfolio-item:nth-child(6) { animation-delay: 0.30s; }