/* Custom Styles for StrEAT Side Take Out */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero Animations */
.hero-headline {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

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

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

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

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

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #C05838;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu-btn,
    .animate-pulse {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .text-charcoal-light {
        color: #000000;
    }
    
    .text-gray-400 {
        color: #000000;
    }
}

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

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #C05838;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Form Validation Styles */
input:invalid:not(:placeholder-shown) {
    border-color: #C05838;
}

input:valid:not(:placeholder-shown) {
    border-color: #22c55e;
}

/* Image Aspect Ratios */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Custom Selection Color */
::selection {
    background: #C05838;
    color: white;
}

::-moz-selection {
    background: #C05838;
    color: white;
}
