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

::-webkit-scrollbar-track {
    background: #1f2937;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

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

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image gallery scrollbar */
.gallery-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

/* Privacy Policy Modal Styles */
.policy-section {
    padding: 1.5rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(75, 85, 99, 0.2);
}

/* Custom scrollbar for the modal */
.modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
}

.modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Responsive text sizing */
@media (max-width: 640px) {
    .policy-section {
        padding: 1rem;
    }
    
    .policy-section h5 {
        font-size: 1.1rem;
    }
    
    .policy-section ul li {
        font-size: 0.95rem;
    }
}

/* Dark mode transition */
.dark-mode-transition {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode specific styles */
.dark {
    color-scheme: dark;
}

/* Footer specific dark mode styles */
.dark .footer-link {
    @apply text-gray-400 hover:text-blue-400;
}

.dark .footer-heading {
    @apply text-gray-100;
}

.scroll-margin-top-20 {
    scroll-margin-top: 5rem;
} 