/* Custom styles for Crossroad Car Connection North */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf7ed;
}
::-webkit-scrollbar-thumb {
    background: #e2af6a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C2704E;
}

/* Selection color */
::selection {
    background: #f8c4b8;
    color: #713a28;
}

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

/* Fade-in animations for below-fold sections */
.fade-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Active nav link highlight */
nav a.active {
    color: #C2704E;
}

/* Card hover lift effect */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Form focus ring */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(194, 112, 78, 0.15);
}

/* Image aspect ratio helpers */
.aspect-card {
    aspect-ratio: 16 / 11;
}
.aspect-portrait {
    aspect-ratio: 3 / 4;
}
