/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

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

/* Navbar glass effect */
nav.scrolled {
    background: rgba(253, 242, 244, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(161, 21, 48, 0.08);
}

nav.scrolled .font-display {
    color: #6e132b !important;
}

nav.scrolled a:not(.bg-burgundy-600) {
    color: #84132a !important;
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6e132b;
}

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

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #fce7eb 0%, #f9d0d9 100%);
}

/* Smooth section transitions */
section {
    position: relative;
}

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

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

/* Geometric accent shapes */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

/* Print styles */
@media print {
    nav, .fixed, .scroll-indicator { display: none; }
    body { background: white; }
    section { page-break-inside: avoid; }
}
