/* ========================================
   Asian House Restaurang — Stylesheet
   Minimalistic & clean design
   ======================================== */

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

:root {
    --color-bg: #fafaf8;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-accent: #D6050E;
    --color-accent-hover: #a93226;
    --color-border: #e8e6e1;
    --color-dark: #1a1a1a;
    --color-warm: #f5f0eb;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --max-width: 1100px;
    --nav-height: 72px;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Navigation --- */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
}

#nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-text);
}

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

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile .nav-link {
    font-size: 1rem;
    padding: 8px 0;
}

/* --- Hero --- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        url('Images/General Images/image.png') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    max-width: 400px;
    margin: 0 auto 24px;
    filter: hue-rotate(180deg) saturate(1200%) invert(1);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* --- About Strip --- */
.about-strip {
    background: var(--color-dark);
    padding: 64px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.about-card {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.about-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #fff;
}

.about-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Section Titles --- */
.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-style: italic;
}

/* --- Menu Section --- */
#meny {
    padding: 80px 0 60px;
    background: var(--color-bg);
}

/* Menu Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.menu-tab {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-body);
    background: var(--color-surface);
    color: var(--color-text-muted);
    border: 1.5px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.menu-tab:hover {
    color: var(--color-text);
    border-color: var(--color-text);
}

.menu-tab.active {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

/* Menu Categories */
.menu-category {
    display: none;
    animation: fadeIn 0.4s ease;
}

.menu-category.active {
    display: block;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-accent);
    text-align: center;
}

.category-note {
    text-align: center;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Protein info box */
.protein-info {
    background: var(--color-warm);
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-bottom: 32px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.protein-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.protein-options {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.protein-option {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Menu Items */
.menu-items {
    max-width: 700px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    gap: 24px;
    transition: var(--transition);
}

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

.menu-item:hover {
    background: var(--color-warm);
    margin: 0 -16px;
    padding: 16px 16px;
    border-radius: 8px;
}

.item-info {
    flex: 1;
}

.item-num {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-right: 4px;
}

.item-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.item-desc {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.item-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.spicy-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    padding: 1px 8px;
    border-radius: 100px;
    vertical-align: middle;
    margin-left: 6px;
    letter-spacing: 0.04em;
    font-style: normal;
    text-transform: uppercase;
}

/* --- Gallery --- */
.gallery {
    padding: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* --- Contact Section --- */
#kontakt {
    padding: 80px 0 60px;
    background: var(--color-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-main {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--color-surface);
    color: var(--color-text);
    border: none;
}


.contact-icon-large {
    font-size: 3rem;
    margin-bottom: 12px;
}

.contact-main h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.contact-phone {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
    transition: var(--transition);
    font-family: var(--font-display);
}

.contact-phone:hover {
    color: #e74c3c;
    transform: scale(1.03);
}

.contact-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.contact-card:not(.contact-main) .contact-note {
    color: var(--color-text-muted);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-main h3 {
    color: #fff;
}

/* Hours table */
.hours-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row span:first-child {
    color: var(--color-text-muted);
}

.hours-row span:last-child {
    font-weight: 600;
    color: var(--color-text);
}

/* Contact links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--color-accent);
}

/* Map / image area */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- Footer --- */
footer {
    background: var(--color-dark);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 48px;
    opacity: 0.6;
    filter: invert(100%) saturate(0);
}

footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    margin: 8px 0;
}

.footer-social:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    #hero {
        min-height: 500px;
        max-height: 700px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-tabs {
        gap: 6px;
        padding: 0 8px;
    }

    .menu-tab {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img {
        height: 200px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-phone {
        font-size: 1.5rem;
    }

    .map-image {
        height: 250px;
    }

    .protein-options {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 220px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .menu-tab {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}