/* Custom styles for Gissell Auto Sales */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #e8a8b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c44d6d;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6d2738;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(163, 59, 85, 0.08);
}

/* Hero image parallax feel */
#hero img {
    transition: transform 0.6s ease;
}

/* Service card tilt effect on hover */
.group:hover {
    transform: translateY(-2px);
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Stagger children */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.animate-pulse {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Image hover zoom */
.rounded-3xl.overflow-hidden img {
    transition: transform 0.7s ease;
}
.rounded-3xl.overflow-hidden:hover img {
    transform: scale(1.03);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(163, 59, 85, 0.1);
}

/* Button ripple */
button, a {
    -webkit-tap-highlight-color: transparent;
}
