/* Custom styles for Violets Bar and Grill */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #627d98;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #486581;
}

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-1 {
    animation: float 6s ease-in-out infinite;
}
.float-2 {
    animation: float 7s ease-in-out infinite 1s;
}
.float-3 {
    animation: float 5.5s ease-in-out infinite 0.5s;
}
.float-4 {
    animation: float 6.5s ease-in-out infinite 1.5s;
}

/* Line animation */
@keyframes lineGrow {
    from { width: 0; }
    to { width: 100%; }
}

.line-grow {
    animation: lineGrow 1.5s ease-out forwards;
}

/* Subtle gradient shift */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gradient-shift {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Hover card lift */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(16, 42, 67, 0.15);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover {
    transform: scale(1.05);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: left 0.7s ease;
}
.btn-shine:hover::after {
    left: 100%;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Form focus styles */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
    border-color: #e0a030;
    box-shadow: 0 0 0 3px rgba(224, 160, 48, 0.1);
}

/* Decorative dot pattern */
.dot-pattern {
    background-image: radial-gradient(circle, #d9e2ec 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 2.5rem !important;
    }
}

/* 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;
    }
}
