/* Custom styles for Vintage Corporation */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f2;
}
::-webkit-scrollbar-thumb {
    background: #e89a9a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c24848;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(253, 242, 242, 0.98) !important;
    box-shadow: 0 4px 20px rgba(143, 40, 40, 0.08) !important;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered fade-in for grid items */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero image subtle float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse animation for the green dot */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #c24848 !important;
    box-shadow: 0 0 0 3px rgba(194, 72, 72, 0.1);
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.97) !important;
}

/* Print styles */
@media print {
    nav, #contact-form, #success-message {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
