/* Core Variables - Cozy, Minimalist, Wood tones */
:root {
    --color-bg: #FCFBF8; /* Off-white / Cream */
    --color-text: #4A3F35; /* Dark brown / Wood tone */
    --color-text-light: #7A6F65;
    --color-primary: #D4A373; /* Warm wood / Caramel */
    --color-secondary: #FAEDCD; /* Light cream */
    --color-accent: #E29578; /* Soft brick orange / Teracotta */
    --color-white: #FFFFFF;
    
    --font-main: 'Kanit', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(74, 63, 53, 0.05);
    --shadow-md: 0 10px 20px rgba(74, 63, 53, 0.08);
    --shadow-lg: 0 20px 30px rgba(74, 63, 53, 0.1);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-padding {
    padding: 100px 0;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.2;
}

h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background-color: #d17c5d;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.text-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    background: transparent !important;
}

.nav a {
    text-decoration: none;
    color: var(--color-text);
    margin-left: 30px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

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

.header.scrolled .nav a {
    color: var(--color-text);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(252, 251, 248, 0.4), rgba(252, 251, 248, 0.95));
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 10px;
    color: var(--color-text);
    letter-spacing: -1px;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
}

.about-images {
    position: relative;
    height: 500px;
}

.about-img {
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    position: absolute;
    transition: var(--transition);
}

.about-images .main-img {
    width: 80%;
    height: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}

.about-images .sub-img {
    width: 60%;
    height: 60%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 10px solid var(--color-bg);
}

.about-images:hover .main-img {
    transform: scale(1.02);
}

.about-images:hover .sub-img {
    transform: scale(1.05) translate(-10px, 10px);
}

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

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

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

.menu-card {
    background-color: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.02);
}

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

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
    background-color: var(--color-secondary);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Location Section */
.location {
    background-color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.location::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.location-card {
    background-color: var(--color-white);
    border-radius: 30px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.location-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contact-info {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    display: inline-block;
}

.contact-info li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text);
}

.contact-info i {
    color: var(--color-primary);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 30px 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Placeholders for Missing Images */
.placeholder-bg {
    display: block !important;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

.placeholder-img {
    display: block !important;
    background: linear-gradient(135deg, #f9f9f9, #eaeaea);
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 400px;
        order: -1;
    }
    
    .about-images .main-img {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .about-images .sub-img {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .location-card {
        padding: 40px 20px;
    }
    
    .contact-info li {
        font-size: 1rem;
    }
}
