/* Custom styles that complement Tailwind CSS */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

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

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

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

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

/* Hero overlay gradient */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(18, 20, 22, 0.4) 0%, rgba(18, 20, 22, 0.7) 100%);
}

/* Text shadow for hero text */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Primary button styles */
.btn-primary {
    background: linear-gradient(135deg, #ff7a4d 0%, #e64a19 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff9a7a 0%, #ff5722 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

/* Secondary button styles */
.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: #212529;
}

/* Scroll reveal animations - only apply when user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is always visible for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Image hover zoom effect */
img {
    transition: transform 0.3s ease;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ff7a4d;
    outline-offset: 2px;
}

/* Ensure proper contrast for all text */
.text-charcoal-600 {
    color: #495057;
}

.text-charcoal-700 {
    color: #343a40;
}

.text-charcoal-800 {
    color: #212529;
}
