/* Wave inside footer (on top) */
.footer-shape-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-shape-divider svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* Make sure footer content is below the wave */
/* === Footer Base Font Size === */
.footer {
    background: linear-gradient(135deg, #111827, #1f2937);
    padding: 100px 0 20px;
    position: relative;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* === Headings === */
.footer .kontak h5 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    /* was 1.25rem */
}

/* === Paragraphs and list text === */
.footer .kontak p {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    /* was 1rem */
    line-height: 1.8;
}

/* === Social Media Icon Text if Needed === */
.social-media-footer i {
    font-size: 2.4rem;
    color: #fff;
    transition: color 0.3s ease;
}

.social-media-footer a {
    text-decoration: none;
}

.social-media-footer i {
    font-size: 2.4rem;
    color: #000;
    transition: color 0.3s ease;
}

.social-media-footer i {
    color: #fff;
}

.app-badges img,
.app-badges .btn-download-app {
    max-height: 50px;
}

.app-badges a:hover img {
    opacity: 0.85;
    transform: scale(1.03);
    transition: all 0.2s ease;
}

.map-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    font-size: 0.95rem;
    color: #ccc;
}

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 1000;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 190px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-btn i {
    font-size: 22px;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #0f805e);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn.pulse {
    animation: pulse 2s infinite;
}

/* Scroll to Top Button */
#scrollTopBtn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: scale(1.1);
}

#scrollTopBtn:active {
    transform: scale(0.95);
}

#scrollTopBtn i {
    font-size: 18px;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 1);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.tooltip::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.visitor-tracker {
    background: #fff;
    color: #1e293b;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    width: 220px;
    /* font-family: 'Inter', sans-serif; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    width: 80%;
}

.visitor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.visitor-row.total-row {
    margin-top: 0.5rem;
}

.visitor-tracker .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #111827;
    letter-spacing: 0.5px;
}

.visitor-tracker .value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.visitor-tracker hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 1);
    margin: 0.5rem 0 0.75rem;
}

/* Responsive Footer Text */
@media (max-width: 768px) {
    .footer-shape-divider svg {
        display: block;
        width: 100%;
        height: auto;
        max-height: 100px;
    }

    .footer {
        font-size: 1rem;
        /* slightly larger for mobile */
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer .kontak > div {
        margin-bottom: 2rem;
    }

    .footer .kontak h5 {
        font-size: 1.2rem;
    }

    .footer .kontak p {
        font-size: 1rem;
    }

    .social-media-footer {
        color: #fff;
    }

    app-badges {
        gap: 0.75rem;
        justify-content: flex-start;
        flex-direction: column;
    }

    .app-badges img,
    .app-badges .btn-download-app {
        max-height: 42px;
        width: auto;
    }

    .app-badges .btn-download-app {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .whatsapp-btn {
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }

    .whatsapp-btn i {
        font-size: 20px;
    }

    #scrollTopBtn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
