/* Custom Styles for Kim's Shear Expressions */

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

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

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

::-webkit-scrollbar-thumb {
    background: #d08b64;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a55534;
}

/* Hero animation - only for below-fold content, hero is visible immediately */
.reveal-hero {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Scroll reveal animations for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For reduced motion preference, ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #d08b64;
    outline-offset: 2px;
}

/* Image aspect ratio utilities */
.aspect-\[4\/5\] {
    aspect-ratio: 4/5;
}

/* Custom hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Subtle box shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(44, 36, 32, 0.25);
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #d08b64;
    box-shadow: 0 0 0 3px rgba(208, 139, 100, 0.1);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    nav, .animate-bounce, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-terracotta-800, .bg-dark {
        background: #fff !important;
        color: #000 !important;
    }
}
