/* Custom Styles for GPRFO */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Navigation styles */
.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Skip to main content for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FF6B35;
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 800px 104px;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
}
/* Add to assets/css/styles.css */

/* Lazy Loading Animations */
.lazy-load {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation directions */
.lazy-load-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.lazy-load-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.lazy-load-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Flip animation for cards */
.lazy-load-flip {
    opacity: 0;
    transform: perspective(600px) rotateY(20deg);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load-flip.revealed {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
}

/* Blur effect */
.lazy-load-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-load-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Delayed animations for staggered effects */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }
.delay-800 { transition-delay: 800ms; }

/* Image lazy loading with shimmer effect */
.lazy-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.lazy-image.loaded {
    background: none;
    animation: none;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-heading {
    height: 24px;
    width: 80%;
    margin-bottom: 16px;
}

.skeleton-image {
    height: 200px;
    border-radius: 8px;
}

/* Progressive image loading */
.progressive-image {
    filter: blur(20px);
    transition: filter 0.5s ease-in-out;
}

.progressive-image.loaded {
    filter: blur(0);
}
/* WhatsApp Floating Button - FIXED */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 9999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-block !important;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05) !important;
}

.whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #25D366 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}

.whatsapp-btn:hover {
    background: #1EA952 !important;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5) !important;
}

.whatsapp-btn i {
    font-size: 24px !important;
}

.whatsapp-text {
    display: inline !important;
}

.whatsapp-pulse {
    animation: whatsapp-pulse 2s infinite !important;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .whatsapp-btn {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .whatsapp-text {
        display: none !important;
    }
    
    .whatsapp-btn i {
        margin: 0 !important;
    }
}