/* Custom styles and animations */

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

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(128, 20, 77, 0.1);
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background: #fbcfe8;
    color: #500724;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #fce7f3 25%, #fbcfe8 50%, #fce7f3 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img[lazyloaded] {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

/* Button hover lift effect */
.transform:hover {
    transition: transform 0.2s ease-out;
}

/* Gradient text effect for hero */
.text-amber-300 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Soft shadow for cards */
.shadow-lg {
    box-shadow: 0 10px 40px -10px rgba(80, 7, 36, 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(80, 7, 36, 0.2);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.2s ease-out;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #be185d;
    box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.1);
}

/* Custom date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(30%) sepia(80%) saturate(500%) hue-rotate(300deg);
    cursor: pointer;
}

/* Loading state for form submission */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
