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

:root {
    --gold: #D4A843;
    --gold-dark: #B8912E;
    --gold-light: #F5E6C8;
    --red: #C0392B;
    --red-dark: #96281B;
    --brown: #5D4037;
    --brown-light: #8D6E63;
    --cream: #FFF8F0;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #666666;
    --gray-light: #F5F5F5;
    --shadow: 0 2px 12px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    color: var(--black);
    background: var(--cream);
    line-height: 1.6;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brown);
    line-height: 1.2;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--gold-dark);
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--brown);
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--gold-dark);
}

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

.nav a:hover::after {
    width: 100%;
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown);
    transition: var(--transition);
}

/* === Hero === */
.hero {
    position: relative;
    margin-top: 65px;
    overflow: hidden;
    background: var(--cream);
}

.hero-cover {
    width: 100%;
    text-align: center;
    background: var(--white);
}

.hero-cover-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    padding: 24px 20px 32px;
    background: linear-gradient(135deg, var(--brown) 0%, var(--red-dark) 100%);
}

.hero-since {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

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

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,168,67,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--brown);
    transform: translateY(-2px);
}

/* === Sections === */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 48px;
}

/* === Menu Section === */
.menu-section {
    background: var(--white);
}

.menu-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.menu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
    position: sticky;
    top: 80px;
}

.filter-btn {
    padding: 14px 20px;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold-dark);
    border-radius: var(--radius);
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.filter-btn:hover {
    background: var(--gold-light);
    color: var(--brown);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.menu-main {
    flex: 1;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.menu-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: stretch;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.menu-card-img {
    width: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--gold-light);
    flex-shrink: 0;
}

.menu-card-info {
    padding: 16px;
    flex: 1;
}

.menu-card-info h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 4px;
}

.menu-card-info p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 8px;
}

.badge.popular {
    background: var(--red);
    color: var(--white);
}

.menu-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.about-img-caption {
    font-size: 0.9rem;
    color: var(--brown);
    font-weight: 500;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 16px;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--brown);
}

.feature-icon {
    font-size: 1.5rem;
}

/* === Order Section === */
.order-section {
    background: linear-gradient(135deg, var(--brown) 0%, var(--red-dark) 100%);
    color: var(--white);
}

.order-section .section-title {
    color: var(--white);
}

.order-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.order-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.order-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.order-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.order-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.order-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* === Contact Section === */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-item a {
    color: var(--gold-dark);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--red);
}

.social-links h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 20px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 400;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.social-card.facebook {
    background: #E8F0FE;
    color: #1877F2;
}

.social-card.facebook .social-icon {
    background: #1877F2;
}

.social-card.wongnai {
    background: #FFF3E0;
    color: #FF6F00;
}

.social-card.wongnai .social-icon {
    background: #FF6F00;
}

.social-card.line {
    background: #E8F5E9;
    color: #06C755;
}

.social-card.line .social-icon {
    background: #06C755;
}

/* === Footer === */
.footer {
    background: var(--brown);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold-light);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 16px;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        margin-top: 60px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .section {
        padding: 48px 0;
    }

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

    .menu-layout {
        flex-direction: column;
    }

    .menu-sidebar {
        flex-direction: row;
        overflow-x: auto;
        min-width: unset;
        position: static;
        padding-bottom: 8px;
    }

    .filter-btn {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .feature {
        justify-content: center;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

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

    .menu-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
