/* ========== Custom Styles for South Harbour Village ========== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF6F0;
}
::-webkit-scrollbar-thumb {
    background: #c2284e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9f1d3f;
}

/* Section tag styling */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9f1d3f;
    background: rgba(159, 29, 63, 0.06);
    border: 1px solid rgba(159, 29, 63, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #c2284e;
    border-radius: 50%;
}

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

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

/* Feature card */
.feature-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(253, 246, 240, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(159, 29, 63, 0.08);
}

.nav-scrolled .font-serif {
    color: #6b182f !important;
}

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

@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(24px);
        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; }
}

/* Ensure all content is visible without JS */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, .feature-card, .room-card {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
