/* ========== FOOTER ELEGANT DESIGN WITH SUBTLE BATIK ========== */

.footer-elegant {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Decorative Top Border - Gold Line */
.footer-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    z-index: 2;
}

/* Batik Pattern - Only at Bottom, Subtle & Transparent */
.footer-elegant::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px; /* hanya bagian bawah */
    background-image: url('/images/pucuk_rebungRiau2.jpg');
    background-size: 300px;
    background-repeat: repeat-x;
    background-position: bottom center;
    opacity: 0.15; /* sangat halus & transparan */
    z-index: 0;
    pointer-events: none;
    /* Gradient fade dari bawah ke atas */
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
}

.footer-elegant .container {
    position: relative;
    z-index: 1;
}

/* ========== FOOTER BRAND ========== */
.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-height: 180px;
    width: auto;
    filter: brightness(1.15) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== FOOTER ADDRESS ========== */
.footer-address {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

/* ========== SOCIAL MEDIA FOOTER (dengan gambar & label) ========== */
.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-btn-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-footer img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.social-btn-footer span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    text-transform: lowercase;
}

.social-btn-footer:hover img {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.25);
}

.social-btn-footer:hover span {
    color: #fbbf24;
}

/* ========== FOOTER HEADING ========== */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
}

/* ========== CONTACT LIST ========== */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-contact-list i {
    font-size: 1.25rem;
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: #fbbf24;
}

.footer-contact-list strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

/* ========== MAP CONTAINER ========== */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

/* ========== STATS BOX ========== */
.stats-box {
    margin-top: 1.5rem;
}

.stats-widget {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom strong {
    color: #ffffff;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991px) {
    .footer-elegant {
        padding: 50px 0 0;
    }

    .footer-elegant::after {
        height: 200px;
        background-size: 250px;
        opacity: 0.06;
    }

    .footer-heading {
        margin-top: 1.5rem;
    }

    .map-container iframe {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .footer-elegant {
        padding: 40px 0 0;
        margin-top: 50px;
    }

    .footer-elegant::after {
        height: 150px;
        background-size: 200px;
        opacity: 0.05;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .social-btn-footer img {
        width: 38px;
        height: 38px;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 20px 0;
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .footer-elegant::after {
        height: 120px;
        background-size: 180px;
    }

    .footer-contact-list li {
        font-size: 0.85rem;
    }

    .map-container iframe {
        height: 180px;
    }

    .social-links-footer {
        gap: 20px;
    }
}