/* Custom styles for Tiger Express */

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

/* Scroll reveal base styles - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Only apply hidden state when JS is enabled via media query enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #dc3d65;
    color: white;
}

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(61, 6, 21, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce7eb 0%, #f9cfd9 100%);
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

/* Geometric pattern for sections */
.geometric-pattern {
    background-image: 
        linear-gradient(45deg, rgba(220, 61, 101, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(220, 61, 101, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(220, 61, 101, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(220, 61, 101, 0.03) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

/* Print quality badge pulse */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Service card hover tilt effect */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\\:rotate-3 {
    transform: rotate(3deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        letter-spacing: 0.02em;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gray-50 {
        background-color: #f5f5f5;
    }
    
    .text-gray-600 {
        color: #333;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #dc3d65;
    outline-offset: 2px;
}
