/* Base styles and custom properties */
:root {
    --color-plum-50: #faf0f5;
    --color-plum-100: #f3dcee;
    --color-plum-200: #e8bdd9;
    --color-plum-500: #b54f7f;
    --color-plum-600: #a33d67;
    --color-plum-700: #8a3055;
    --color-plum-800: #712846;
    --color-plum-900: #5c2239;
    --color-amber-100: #fff3d9;
    --color-amber-400: #ffbf33;
    --color-amber-500: #ffaa00;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Navbar styles */
.nav-logo-text {
    transition: color 0.5s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #5c2239;
}

#navbar.scrolled {
    background-color: rgba(250, 240, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(163, 61, 103, 0.08);
}

/* Room cards */
.room-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.room-card:hover {
    box-shadow: 0 20px 60px rgba(163, 61, 103, 0.12);
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s 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; }
}

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

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

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

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

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

/* Print styles */
@media print {
    #navbar,
    #hero .absolute.bottom-8,
    .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
