/* Don Tejuino #1 — Custom Styles */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(15, 118, 110, 0.3);
    color: #f5f5f4;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #115e59;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

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

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

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

.mobile-menu-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

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

/* Hero */
#hero {
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #f5f5f4, transparent);
    pointer-events: none;
    z-index: 1;
}

/* Menu section */
#menu .group:hover h3 {
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

#menu .group h3 {
    display: inline-block;
}

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

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

/* Form styles */
input:focus,
select:focus,
textarea:focus {
    background-color: rgba(255, 255, 255, 0.08);
}

select option {
    background-color: #0f172a;
    color: #e2e8f0;
}

/* Image hover effects */
.group .aspect-\[4\/5\] img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(45, 212, 191, 0.6);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group .aspect-\[4\/5\] img {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero::after {
        height: 100px;
    }
    
    .font-serif {
        line-height: 1.15;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    #reservation-form,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    #hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    #hero .absolute {
        display: none;
    }
}
