/* Custom styles for Drawing Room */

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

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

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

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

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

/* Navbar styles */
.navbar-scrolled {
    background: rgba(253, 246, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(140, 36, 62, 0.08);
}

.navbar-transparent {
    background: transparent !important;
}

/* Nav links underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c43b5e;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #8c243e;
    border: none;
    cursor: pointer;
}

.menu-tab.active {
    background: #8c243e;
    color: white;
    box-shadow: 0 4px 12px rgba(140, 36, 62, 0.3);
}

.menu-tab:hover:not(.active) {
    background: #fbe6eb;
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu */
.mobile-link {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-link:hover {
    transform: scale(1.05);
}

/* Image hover effects */
.rounded-2xl img,
.rounded-3xl img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c43b5e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .rounded-2xl img,
    .rounded-3xl img {
        transition: none;
    }
    
    .menu-tab,
    .nav-link::after,
    button,
    a {
        transition: none;
    }
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #navbar,
    #gallery,
    .scroll-indicator {
        display: none;
    }
}
