/* Custom styles that complement Tailwind */

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Custom selection color */
::selection {
    background-color: #dbadc1;
    color: #4b283b;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift for images */
img {
    vertical-align: middle;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #a1547d;
    outline-offset: 2px;
}

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom gradient for hero section */
.hero-gradient {
    background: linear-gradient(135deg, #faf5f7 0%, #f5e9ed 50%, #fff8e7 100%);
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 2px 2px, rgba(161, 84, 125, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

/* Print styles */
@media print {
    nav, button, form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
