/* Outfino Custom Styles - Tailwind Extension */

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

/* Custom focus styles for accessibility */
*:focus {
    outline: 2px solid #40E0D0;
    outline-offset: 2px;
}

/* Custom quiz option styling */
.quiz-option input[type="radio"]:checked + div {
    @apply border-outfino-turquoise bg-outfino-turquoise bg-opacity-5;
}

/* FAQ accordion styling */
.faq-button.active .faq-icon {
    @apply rotate-180;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.active {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

/* Collection filter button active state */
.filter-btn.active {
    @apply bg-outfino-turquoise text-white;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom gradient backgrounds for hero sections */
.hero-gradient {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1) 0%, rgba(64, 224, 208, 0.05) 100%);
}

/* Image hover effects */
.image-hover {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-hover:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Custom form styling */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg;
    @apply focus:ring-2 focus:ring-outfino-turquoise focus:border-outfino-turquoise;
    @apply transition-colors duration-200;
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

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

/* Loading states */
.loading {
    @apply opacity-50 pointer-events-none;
}

.spinner {
    @apply animate-spin;
}

/* Typography enhancements */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
    @apply transition-all duration-300 ease-in-out;
}

.card-hover:hover {
    @apply shadow-xl transform scale-105;
}

/* Custom button styles */
.btn-primary {
    @apply bg-outfino-turquoise hover:bg-opacity-90 text-white px-6 py-3 rounded-full font-semibold transition-colors duration-200;
}

.btn-secondary {
    @apply bg-white hover:bg-gray-100 text-outfino-turquoise border-2 border-outfino-turquoise px-6 py-3 rounded-full font-semibold transition-colors duration-200;
}

/* Image gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Responsive image containers */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.1);
}

/* Touch-friendly mobile interactions */
@media (max-width: 768px) {
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Larger touch areas for mobile */
    .mobile-touch {
        @apply px-4 py-3;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-outfino-turquoise {
        color: #00C5A8 !important;
    }
    
    .bg-outfino-turquoise {
        background-color: #00C5A8 !important;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}