/* YangKriem Mookata - Style Sheet */

/* Design Tokens & Theme Variables */
:root {
    --bg-buffet: #fdfbf7;
    --bg-dark: #1b1210;
    --bg-card: #ffffff;
    
    --primary-color: #d35400;   /* Charcoal Sizzling Orange */
    --primary-dark: #b84300;
    --secondary-color: #c0392b; /* Hot Chili Red */
    --charcoal-black: #211614;  /* Deep dark coal */
    
    --text-color: #443734;
    --text-light: #7e6c68;
    --text-white: #ffffff;
    
    --border-buffet: #eedcd6;
    
    --font-thai: 'Prompt', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-buffet: 0 4px 25px rgba(211, 84, 0, 0.04);
    --shadow-hover: 0 12px 35px rgba(211, 84, 0, 0.08);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-buffet);
    color: var(--text-color);
    font-family: var(--font-thai);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--charcoal-black);
    font-weight: 600;
}

.serif-font {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.accent-text {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-thai);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
}

.btn-full-width {
    width: 100%;
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.2);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.35);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--charcoal-black);
    transform: translateY(-2px);
}

.btn-phone {
    background-color: var(--charcoal-black);
    color: white;
}

.btn-phone:hover {
    background-color: #110b0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-line {
    background-color: #06c755;
    color: white;
}

.btn-line:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-buffet);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Header & Navigation */
.buffet-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-buffet);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.65rem;
    color: var(--charcoal-black);
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switch {
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border-buffet);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-thai);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    display: inline-flex;
    gap: 6px;
    transition: var(--transition);
}

.lang-switch:hover {
    background: rgba(0,0,0,0.08);
    color: var(--charcoal-black);
}

.lang-switch span {
    opacity: 0.5;
}

.lang-switch span.active-lang {
    opacity: 1;
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--charcoal-black);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-buffet);
    z-index: 102;
    padding: 30px;
    box-shadow: var(--shadow-buffet);
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition);
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--charcoal-black);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.mobile-link:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.mobile-lang-switch {
    width: fit-content;
    margin-bottom: 10px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 101;
    display: none;
}

.menu-overlay.open {
    display: block;
}

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    background-image: url('assets/buffet_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(27, 14, 12, 0.92) 0%, rgba(27, 14, 12, 0.5) 60%, rgba(0,0,0,0) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.hero-tag {
    background-color: rgba(211, 84, 0, 0.2);
    border: 1px solid rgba(211, 84, 0, 0.4);
    color: #ff9f43;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Section Title */
.section-title {
    margin-bottom: 48px;
}

.sub-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.location-map .section-title h2::after,
.hours-contact .section-title h2::after {
    left: 0;
    transform: none;
}

/* Highlights Section */
.highlights-section {
    padding: 100px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-buffet);
    border-radius: 12px;
    padding: 45px 35px;
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: rgba(211, 84, 0, 0.08);
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.highlight-card:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
}

.highlight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Pricing Section (ราคา) */
.pricing-section {
    padding: 100px 0;
    background-color: #faf5ee;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

.price-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-buffet);
    border-radius: 12px;
    padding: 45px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.price-card:hover {
    border-color: rgba(211, 84, 0, 0.3);
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    background: radial-gradient(ellipse at top right, rgba(211, 84, 0, 0.05) 0%, var(--bg-card) 70%);
    box-shadow: var(--shadow-hover), 0 0 30px rgba(211, 84, 0, 0.05);
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.25);
}

.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal-black);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

.price-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto; /* Push features up and keep buttons aligned */
}

.price-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li i.fa-check {
    color: var(--primary-color);
}

.price-features li.disabled {
    color: var(--text-light);
    opacity: 0.4;
    text-decoration: line-through;
}

.price-features li i.fa-xmark {
    color: var(--text-light);
}

.pricing-note {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Food Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background-color: #eedcd6;
    box-shadow: var(--shadow-buffet);
}

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

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 14, 12, 0.8) 0%, rgba(27, 14, 12, 0.1) 70%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Promotions Section (โปรโมชั่น) */
.promotion-section {
    padding: 100px 0;
    background-color: #faf5ee;
    border-top: 1px solid var(--border-buffet);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.promo-card {
    background-color: var(--bg-card);
    border: 2px dashed var(--border-buffet);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-buffet);
}

.promo-card.accent-card {
    border-color: var(--primary-color);
    background: radial-gradient(ellipse at top right, rgba(211, 84, 0, 0.04) 0%, var(--bg-card) 70%);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--charcoal-black);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.promo-card.accent-card .promo-badge {
    background-color: var(--primary-color);
}

.promo-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.promo-discount {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.promo-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    font-weight: 300;
}

.promo-footer {
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-buffet);
    padding-top: 15px;
}

/* Reviews Section (รีวิวลูกค้า) */
.reviews-section {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-buffet);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-buffet);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.review-stars {
    color: #ff9f43;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.7;
    font-weight: 300;
}

.reviewer-info h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Map & Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #faf5ee;
    border-top: 1px solid var(--border-buffet);
}

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

.address {
    font-size: 1rem;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.address i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.map-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-buffet);
    border-radius: 12px;
    padding: 40px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-buffet);
}

.map-placeholder {
    text-align: center;
}

.map-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Hours Table */
.hours-list {
    background-color: var(--bg-card);
    border: 1px solid var(--border-buffet);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-buffet);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-buffet);
    font-size: 1rem;
}

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

.hours-row .day {
    font-weight: 500;
}

.hours-row .time {
    color: var(--primary-color);
    font-weight: 600;
}

.hours-row.closed .time {
    color: var(--secondary-color);
}

.quick-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.quick-contact p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-buttons {
    display: flex;
    gap: 16px;
}

/* Footer styling */
.buffet-footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.footer-socials a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--charcoal-black);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-buffet);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
