/* Custom Styles for Sav La Bar */

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

/* Geometric Background Elements */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF7F7F 100%);
    top: 10%;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #FF5252 0%, #FF6B6B 100%);
    bottom: 20%;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    opacity: 0.05;
}

.square-1 {
    width: 200px;
    height: 200px;
    background: #FF6B6B;
    top: 40%;
    left: 5%;
    transform: rotate(45deg);
    animation: rotate 25s linear infinite;
}

.geo-triangle {
    position: absolute;
    opacity: 0.05;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #FF5252;
    top: 60%;
    right: 10%;
    animation: rotate 30s linear infinite reverse;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Reveal Animation (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .bg-charcoal-800\/50 {
        background-color: #1a1a1a;
    }
    
    .border-charcoal-700 {
        border-color: #555;
    }
}

/* Print Styles */
@media print {
    .geo-circle,
    .geo-square,
    .geo-triangle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
