/* Custom styles and overrides */

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Gradient backgrounds */
.gradient-coral {
    background: linear-gradient(135deg, #fbc4c0 0%, #f08080 100%);
}

.gradient-charcoal {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

/* Hover effects for cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

/* Gallery hover overlay */
.gallery-overlay {
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 100%);
}

/* Text gradient */
.text-gradient-coral {
    background: linear-gradient(135deg, #fbc4c0, #f08080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern background */
.pattern-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(240, 128, 128, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Decorative elements */
.decorative-line {
    position: relative;
}

.decorative-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f08080, #fbc4c0);
    border-radius: 2px;
}

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

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

/* 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;
    }
}
