/* Custom styles for Tidal Market Delaware */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFCF8;
}
::-webkit-scrollbar-thumb {
    background: #D44566;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9A2240;
}

/* Navbar styles */
.navbar-scrolled #navbar {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(107, 29, 58, 0.08);
}

.navbar-scrolled .nav-logo-text {
    color: #6B1D3A;
}

.navbar-scrolled .nav-link {
    color: #9A2240;
}

.navbar-scrolled .nav-link:hover {
    color: #6B1D3A;
}

.navbar-scrolled #menu-icon-open,
.navbar-scrolled #menu-icon-close {
    color: #6B1D3A;
}

/* Mobile menu */
.mobile-menu-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu-link:hover {
    color: #D44566;
    padding-left: 8px;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 8s ease-in-out infinite;
}

/* Scroll reveal */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Image hover */
img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #6B1D3A 0%, #E8A0B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom selection color */
::selection {
    background: #F9CDD6;
    color: #6B1D3A;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #D44566;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Map container responsive */
iframe {
    border-radius: 1.5rem;
}

/* Subtle pattern overlay for dark sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
