/* Izakaya Asian Gastro Bar - Static Site Styles */
/* Design system from original Wix site */

:root {
    /* Colors from original site */
    --color-cream: #fffef8;
    --color-cream-alt: #fffcf6;
    --color-dark: #06273a;
    --color-dark-rgb: 6, 39, 58;
    --color-muted: #839399;
    --color-muted-dark: #445d6a;
    --color-accent: #cacde9;
    --color-brown: #c19e7b;
    --color-tan: #e0cfbd;
    --color-text: #28425f;
    
    /* Typography */
    --font-heading: 'Inknut Antiqua', Georgia, serif;
    --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 1.5rem;
    --max-width: 980px;
    --header-height: 100px;
    
    /* Transitions */
    --transition: 0.4s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: white;
    color: #116dff;
    border-radius: 24px;
    font-size: 14px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(var(--color-dark-rgb), 0.95);
    backdrop-filter: blur(8px);
    transition: background var(--transition);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo {
        width: 120px;
        height: 120px;
    }
}

/* Navigation */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-cream);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    padding: 1rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
    }
}

.nav-link {
    color: var(--color-cream);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 14px;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-tan);
}

/* Social links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    opacity: 0.9;
    transition: opacity var(--transition);
}

.social-links a:hover {
    opacity: 1;
}

.social-links img {
    display: block;
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--color-dark-rgb), 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-cream);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--color-cream);
    margin: 0;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Sections */
.section {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-dark);
    text-align: center;
    margin: 0 0 2rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* Gallery */
.gallery-section {
    background: var(--color-cream-alt);
}

.gallery {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0;
}

.gallery-track::-webkit-scrollbar {
    height: 8px;
}

.gallery-track::-webkit-scrollbar-track {
    background: var(--color-tan);
    border-radius: 4px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: var(--color-brown);
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 45%;
    }
}

@media (min-width: 1024px) {
    .gallery-item {
        flex: 0 0 33%;
    }
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(var(--color-dark-rgb), 0.8);
    color: var(--color-cream);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition);
    display: none;
}

@media (min-width: 768px) {
    .gallery-nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.gallery-nav:hover {
    background: var(--color-dark);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* About */
.about-section {
    background: var(--color-cream);
}

.about-inner {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-dark);
    margin: 0 0 1rem;
}

.about-content p {
    margin: 0 0 1rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .about-content p {
        font-size: 18px;
    }
}

/* Menu section */
.menu-section {
    background: var(--color-cream-alt);
}

.menu-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.menu-gallery-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.menu-gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .menu-gallery-item {
        flex: 0 0 45%;
    }
}

.menu-gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.menu-gallery .gallery-nav {
    display: none;
}

@media (min-width: 768px) {
    .menu-gallery .gallery-nav {
        display: flex;
    }
}

/* Hours */
.hours-section {
    background: var(--color-cream);
}

.hours-text {
    text-align: center;
    font-size: 1.25rem;
    margin: 0;
}

/* Contacts */
.contacts-section {
    background: var(--color-cream-alt);
}

.contacts-content {
    text-align: center;
}

.address,
.phone {
    margin: 0.5rem 0;
    font-size: 1.125rem;
}

.phone a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
}

.phone a:hover {
    text-decoration: underline;
}

/* Locally Owned */
.locally-owned-section {
    background: var(--color-dark);
    color: var(--color-cream);
}

.locally-owned-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.locally-owned-section .section-title {
    color: var(--color-cream);
}

.locally-owned-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin: 0 0 1rem;
}

.locally-owned-inner p {
    margin: 0 0 1rem;
    line-height: 1.75;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-cream);
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-dark);
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 4px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.scroll-top:hover {
    opacity: 1;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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