/* Custom Styles for Bizia Surf */

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

/* Navigation scroll effect */
nav.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav.scrolled .nav-link {
    color: #374151;
}

/* Hero animations */
.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-image-main {
    animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effects */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(226, 114, 91, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Mobile menu animation */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

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

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

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

/* Focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Reduced motion preference */
@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;
    }
}

/* Mobile menu button animation */
#mobile-menu-btn {
    transition: transform 0.3s ease;
}

#mobile-menu-btn.active {
    transform: rotate(90deg);
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(226, 114, 91, 0.1);
}

/* Card hover effects */
.group:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

.group {
    transition: transform 0.3s ease;
}
