/* Custom styles that complement Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure hero text is always visible */
.hero-headline {
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Subtle pattern for accent sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(107, 54, 107, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0f7;
}
::-webkit-scrollbar-thumb {
    background: #d6bfd8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ba94ba;
}

/* Selection color */
::selection {
    background: #ffd98a;
    color: #1e0e1e;
}

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

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}
