/* Additional custom styles for StickerLookUp */

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

/* Custom focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #d4552a;
    outline-offset: 2px;
}

/* 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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .geo-shape,
    .float,
    .float-delay,
    .float-slow {
        display: none !important;
    }
    
    .hero-gradient {
        background: #d4552a !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card {
        border: 2px solid currentColor;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .geo-shape {
        display: none;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-card {
        padding: 2rem;
    }
}

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

/* Animation delays for staggered reveals */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }

/* Hover effects for cards */
.service-card:hover .w-16 {
    transform: scale(1.1) rotate(5deg);
}

/* Button ripple effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Loading state for buttons */
.btn-primary.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-primary.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Image hover effects */
img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Custom selection color */
::selection {
    background: #d4552a;
    color: white;
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4552a, #e8724a);
    border-radius: 6px;
    border: 3px solid #faf8f3;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b8411e, #d4552a);
}
