/* Custom Color Palette */
:root {
    --midnight-900: #0f172a;
    --midnight-800: #1e293b;
    --midnight-700: #334155;
    --mint-400: #6ee7b7;
    --mint-500: #34d399;
    --mint-600: #10b981;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
}

/* Font Families */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

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

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

::-webkit-scrollbar-track {
    background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--midnight-900);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-500);
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Menu Item Hover */
.menu-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(110, 231, 183, 0.2);
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    padding-left: 12px;
}

/* Image Hover Effect */
.overflow-hidden {
    position: relative;
}

.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overflow-hidden:hover::after {
    opacity: 1;
}

/* Button Focus States */
button:focus,
input:focus,
textarea:focus {
    outline: none;
}

/* Animation Delays */
.menu-item:nth-child(1) { transition-delay: 0.1s; }
.menu-item:nth-child(2) { transition-delay: 0.2s; }
.menu-item:nth-child(3) { transition-delay: 0.3s; }
.menu-item:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
