/* Custom styles for Always Chipper */

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

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

::-webkit-scrollbar-track {
    background: #FDF8F5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b8323e, #9a2530);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9a2530, #7e1e27);
}

/* Selection color */
::selection {
    background: #f0a5ad;
    color: #7e1e27;
}

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

/* Button hover effects */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(184, 50, 62, 0.12);
}

/* Image hover effects */
img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Floating animation */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile menu transitions */
.mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #b8323e !important;
    box-shadow: 0 0 0 3px rgba(184, 50, 62, 0.1) !important;
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    button,
    form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-asymmetric {
        grid-template-columns: 1fr;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    
    .cta-button {
        border: 2px solid #000;
    }
}

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

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-text-area {
        padding: 2rem 1.5rem;
    }
    
    .hero-accent-box {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
