/* Base styles and custom properties */
:root {
    --burgundy-950: #3b0a0a;
    --burgundy-700: #a12424;
    --blush-400: #ff8f78;
    --cream: #FFF8F5;
}

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

body {
    font-family: 'Nunito', system-ui, sans-serif;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll-reveal animations — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 248, 245, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(161, 36, 36, 0.08);
}

.nav-scrolled .nav-link {
    color: #4A4040 !important;
}

.nav-scrolled .nav-link:hover {
    color: #a12424 !important;
}

.nav-scrolled .logo-text {
    color: #3b0a0a !important;
}

.nav-scrolled .mobile-menu-btn svg {
    color: #3b0a0a !important;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Service card hover */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery item */
.gallery-item {
    cursor: pointer;
}

/* Testimonial card */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(161, 36, 36, 0.1) !important;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #a12424;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FFF8F5;
}

::-webkit-scrollbar-thumb {
    background: #f3a8a8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc4f4f;
}

/* Selection color */
::selection {
    background: #fce7e7;
    color: #3b0a0a;
}
