/* ===== Custom Properties ===== */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #f9cfd9;
    --burgundy-300: #f4a3b8;
    --burgundy-400: #ed6e91;
    --burgundy-500: #e04370;
    --burgundy-600: #cb2d5a;
    --burgundy-700: #a81f45;
    --burgundy-800: #8a1a3a;
    --burgundy-900: #721731;
    --burgundy-950: #3d0c19;
    --rose-50: #fff5f7;
    --rose-100: #ffe4e8;
    --rose-200: #fecdd6;
    --rose-300: #ffa0b5;
    --rose-400: #ff6b93;
}

/* ===== Font Families ===== */
.font-display {
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.font-body {
    font-family: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
}

/* ===== Tailwind Custom Colors ===== */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    html {
        scroll-behavior: smooth;
    }
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ===== Custom Color Classes ===== */
.text-burgundy-600 { color: var(--burgundy-600); }
.text-burgundy-700 { color: var(--burgundy-700); }
.text-burgundy-800 { color: var(--burgundy-800); }
.text-burgundy-900 { color: var(--burgundy-900); }
.bg-burgundy-700 { background-color: var(--burgundy-700); }
.bg-burgundy-800 { background-color: var(--burgundy-800); }
.bg-burgundy-900 { background-color: var(--burgundy-900); }
.bg-burgundy-950 { background-color: var(--burgundy-950); }
.bg-burgundy-100 { background-color: var(--burgundy-100); }
.bg-burgundy-200 { background-color: var(--burgundy-200); }
.text-burgundy-100 { color: var(--burgundy-100); }
.text-burgundy-200 { color: var(--burgundy-200); }
.text-rose-200 { color: var(--rose-200); }
.bg-rose-50 { background-color: var(--rose-50); }
.bg-rose-100 { background-color: var(--rose-100); }
.bg-rose-200 { background-color: var(--rose-200); }
.text-rose-400 { color: var(--rose-400); }
.text-rose-300 { color: var(--rose-300); }

/* ===== Navbar ===== */
#navbar {
    transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.3s ease;
}
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}
#navbar.scrolled .nav-link {
    color: rgba(123, 45, 59, 0.85);
}
#navbar.scrolled .nav-link:hover {
    color: var(--burgundy-700);
}
#navbar.scrolled .font-display {
    color: var(--burgundy-800);
}

/* ===== Hero Blobs ===== */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--rose-400);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--burgundy-400);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}
.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--rose-300);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

/* ===== CTA Blobs ===== */
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: blobFloat 10s ease-in-out infinite;
}
.cta-blob.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--rose-300);
    top: -100px;
    left: -100px;
}
.cta-blob.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--burgundy-400);
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
}

/* ===== Blob Animation ===== */
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ===== Scroll Reveal ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--rose-100);
}
.mobile-link:last-child {
    border-bottom: none;
}

/* ===== Smooth Scroll Offset ===== */
section[id] {
    scroll-margin-top: 80px;
}

/* ===== Selection ===== */
::selection {
    background-color: var(--rose-200);
    color: var(--burgundy-900);
}

/* ===== Focus ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--burgundy-500);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ===== Image Placeholder ===== */
img {
    max-width: 100%;
    height: auto;
}
