/* ============================================
   Triple Vvv Lounge and Grill — Custom Styles
   ============================================ */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

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

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

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

/* Hero Diagonal Clip */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Mobile Menu Transitions */
.menu-line {
    display: block;
}

#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled .menu-line {
    background: #1C1917;
}

/* Button Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e05228;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: #e05228;
    color: #FDFBF7;
}

/* 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;
    }
    
    .animate-marquee {
        animation: none;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .clip-diagonal {
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .clip-diagonal {
        clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    }
    
    #hero h1 {
        font-size: 3.5rem;
    }
    
    .font-serif {
        line-height: 1.05;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    #hero h1 {
        font-size: 8rem;
    }
}

/* Print Styles */
@media print {
    nav, .animate-marquee, #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
