/* ===== Custom Styles for Jimmy Wok ===== */

:root {
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-300: #5eead4;
    --slate-900: #0f172a;
    --slate-850: #1e293b;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
}

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

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

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

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

#navbar.scrolled .nav-link::after {
    background: #5eead4;
}

/* ===== Teal Tag (Accent Label) ===== */
.teal-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #5eead4;
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.25);
    padding: 0.4em 1em;
    border-radius: 100px;
}

.teal-tag-light {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 0.4em 1em;
    border-radius: 100px;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When JS is disabled, all content is visible by default (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Menu ===== */
.mobile-menu-link {
    position: relative;
}

/* ===== Button Hover Effects ===== */
a[href^="tel"]:hover {
    transform: translateY(-1px);
}

/* ===== Image Hover ===== */
.overflow-hidden {
    overflow: hidden;
}

/* ===== Selection Color ===== */
::selection {
    background: rgba(13, 148, 136, 0.2);
    color: #0f766e;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: #042f2e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero h1 br {
        display: none;
    }
}
