﻿/* ========================================
   GLOBAL FIXES & ENHANCEMENTS
   Bootstrap navbar handles all navigation
   ======================================== */

/* HIDE INSTAGRAM SECTION GLOBALLY */
.instagram,
[class*="instagram"] {
    display: none !important;
}

/* ========================================
   FLOATING BUTTONS - WHATSAPP & BACK TO TOP
   ======================================== */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: #CD5F37;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(205, 95, 55, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: #b34c2a;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(205, 95, 55, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float { width: 55px; height: 55px; font-size: 25px; bottom: 85px; right: 20px; }
    .back-to-top { width: 45px; height: 45px; font-size: 18px; bottom: 25px; right: 20px; }
}

@media (max-width: 480px) {
    .whatsapp-float { width: 50px; height: 50px; font-size: 22px; bottom: 75px; right: 15px; }
    .back-to-top { width: 40px; height: 40px; font-size: 16px; bottom: 20px; right: 15px; }
}

html {
    scroll-behavior: smooth;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #CD5F37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
