/* Base & Utilities */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Selection */
::selection {
    background: #f9cdd5;
    color: #7B2D3B;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF9F5;
}
::-webkit-scrollbar-thumb {
    background: #f4a7b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ec7496;
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    transform: translateX(-30px);
}
.reveal-right {
    transform: translateX(30px);
}
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
.reveal-up.delay-100 { transition-delay: 0.1s; }
.reveal-up.delay-200 { transition-delay: 0.2s; }
.reveal-up.delay-300 { transition-delay: 0.3s; }
.reveal-up.delay-400 { transition-delay: 0.4s; }

/* Nav */
#navbar {
    background: rgba(255, 249, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.06);
}
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #7B2D3B;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
#menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .hamburger-line:nth-child(3) {
    width: 1.25rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

/* Hero floating card */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.absolute.-bottom-6.-left-6 {
    animation: float 4s ease-in-out infinite;
}

/* Menu hover */
.bg-cream.rounded-3xl:hover,
.bg-burgundy-700.rounded-3xl:hover {
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.12);
    transition: box-shadow 0.4s ease;
}

/* Form inputs */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

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

/* Gallery hover */
.grid-cols-2.rounded-3xl.overflow-hidden,
.rounded-2xl.overflow-hidden {
    position: relative;
}
.rounded-2xl.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 45, 59, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}
.rounded-2xl.overflow-hidden:hover::after {
    opacity: 1;
}

/* Decorative dots animation */
@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}
.absolute.top-1\/3 { animation: pulse-dot 3s ease-in-out infinite; }
.absolute.top-1\/2 { animation: pulse-dot 3s ease-in-out infinite 1s; }
.absolute.top-1\/4 { animation: pulse-dot 3s ease-in-out infinite 2s; }
