/* Custom styles for K & K Blais Rentals */

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

/* Base typography */
body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: #0DD99A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B87C;
}

/* Selection color */
::selection {
    background: rgba(13, 217, 154, 0.3);
    color: #ffffff;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #0DD99A;
    outline-offset: 2px;
}

/* Button base styles */
.btn-primary {
    background: linear-gradient(135deg, #0DD99A 0%, #00B87C 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(13, 217, 154, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 2px solid rgba(13, 217, 154, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: rgba(13, 217, 154, 0.1);
    border-color: #0DD99A;
    transform: translateY(-2px);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(13, 217, 154, 0.15);
}

/* Section divider */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #0DD99A 50%, transparent 100%);
}

/* Navigation link underline */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0DD99A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #0DD99A !important;
    box-shadow: 0 0 0 3px rgba(13, 217, 154, 0.1);
}

/* Image grid hover */
.image-grid img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Print styles */
@media print {
    .geometric-shape,
    .animate-float,
    .animate-float-delayed,
    .animate-pulse-glow {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
