/* ===================================================
   THAI THAE — ไทยแท้
   Modern Restaurant Website Styles
   =================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #E8622B;
    --primary-dark: #D4520F;
    --accent: #C41E3A;
    --cream: #FFF8F0;
    --dark: #2D1810;
    --dark-light: #3D2820;
    --gold: #D4A853;
    --gold-light: #E8C97A;
    --white: #FFFFFF;
    --gray-100: #F7F3EF;
    --gray-200: #E8E0D8;
    --gray-300: #C4B8AC;
    --gray-400: #9A8A7C;
    --gray-500: #6E5E50;

    --font-heading: 'Playfair Display', serif;
    --font-thai: 'Kanit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 8px rgba(45, 24, 16, 0.08);
    --shadow-md: 0 8px 24px rgba(45, 24, 16, 0.12);
    --shadow-lg: 0 16px 48px rgba(45, 24, 16, 0.16);
    --shadow-xl: 0 24px 64px rgba(45, 24, 16, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== LOADING SCREEN ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 32px;
}

.loader-thai {
    font-family: var(--font-thai);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.loader-en {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gray-300);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-light);
    border-radius: 10px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 10px;
    animation: loadBar 1.8s ease-in-out forwards;
}

@keyframes loadBar {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(45, 24, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo-thai {
    font-family: var(--font-thai);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
}

.logo-en {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--white);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.02em;
}

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

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 98, 43, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(232, 98, 43, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 30, 58, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(212, 168, 83, 0.15) 0%, transparent 50%),
        var(--dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A853' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 30%; animation-delay: 1.5s; animation-duration: 9s; }
.particle:nth-child(3) { left: 50%; animation-delay: 3s; animation-duration: 6s; }
.particle:nth-child(4) { left: 70%; animation-delay: 0.5s; animation-duration: 8s; }
.particle:nth-child(5) { left: 90%; animation-delay: 2s; animation-duration: 10s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    animation: heroFadeIn 1.2s ease-out 1.8s both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-title-thai {
    font-family: var(--font-thai);
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(212, 168, 83, 0.3);
}

.hero-title-en {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--gray-300);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(232, 98, 43, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: heroFadeIn 1.2s ease-out 2.4s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--gray-300);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ===== SECTION HEADERS ===== */
.section-decorator {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
}

.section-decorator svg {
    width: 100%;
    height: 100%;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(232, 98, 43, 0.1), rgba(196, 30, 58, 0.1));
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===== STORY SECTION ===== */
.story {
    background: var(--cream);
    padding-top: 120px;
}

.story-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--gold), var(--accent));
    transform: translateX(-50%);
}

.story-chapter {
    display: grid;
    grid-template-columns: 1.4fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 64px;
    position: relative;
}

.story-chapter.reverse .story-chapter-content {
    order: 3;
    text-align: left;
}

.story-chapter.reverse .story-chapter-visual {
    order: 1;
}

.story-chapter-icon {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.story-chapter-content {
    text-align: right;
}

.story-chapter-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.story-chapter-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.story-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 280px;
    height: 200px;
    box-shadow: var(--shadow-md);
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.story-chapter:hover .story-img img {
    transform: scale(1.05);
}

/* Stats */
.story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-rating {
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== SIGNATURE DISHES ===== */
.signature {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.signature::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(232, 98, 43, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(212, 168, 83, 0.08) 0%, transparent 50%);
}

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

.signature .section-subtitle {
    color: var(--gray-300);
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.signature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.signature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 168, 83, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.signature-card-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 98, 43, 0.15), rgba(196, 30, 58, 0.1));
    position: relative;
    overflow: hidden;
}

.signature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.signature-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 24, 16, 0.4), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.signature-card-content {
    padding: 24px;
}

.signature-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 168, 83, 0.2);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.signature-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.signature-card-content p {
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 16px;
}

.signature-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
}

.signature-cta {
    text-align: center;
    margin-top: 48px;
    position: relative;
}

/* ===== MENU SECTION ===== */
.menu-section {
    background: var(--cream);
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.menu-tab {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
}

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

.menu-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.menu-category {
    display: none;
    animation: fadeInUp 0.4s ease;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.menu-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.menu-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.menu-qty {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-400);
}

.menu-item-info p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.menu-price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.menu-cta {
    text-align: center;
    margin-top: 48px;
}

.menu-note {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 24px;
    font-style: italic;
}

/* ===== LOCATIONS ===== */
.locations {
    background: var(--white);
}

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

.location-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.location-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.location-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.location-card:hover .location-card-img img {
    transform: scale(1.08);
}

.location-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 248, 240, 0.6), transparent);
    pointer-events: none;
}

.location-card-header {
    padding: 24px 24px 16px;
    position: relative;
}

.location-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.location-badge.new {
    background: linear-gradient(135deg, var(--gold), var(--primary));
}

.location-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.location-card-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.location-info svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

/* ===== REVIEWS ===== */
.reviews {
    background: var(--cream);
    overflow: hidden;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--gold);
    font-size: 1.4rem;
}

.star.half {
    opacity: 0.5;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--gray-400);
}

.reviews-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.review-card {
    min-width: 100%;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.review-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.review-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 28px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.review-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
}

.review-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(232, 98, 43, 0.05);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.reviews-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.reviews-dots .dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 10px;
}

/* ===== APP CTA ===== */
.app-cta {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.app-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(232, 98, 43, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
}

.app-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.app-cta-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.app-cta-desc {
    font-size: 1.05rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 32px;
}

.app-cta-desc strong {
    color: var(--gold);
}

.app-cta-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.app-feature-icon {
    font-size: 1.4rem;
}

.app-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* App Phone Frame */
.app-phone-frame {
    display: flex;
    justify-content: center;
}

.app-phone-frame img {
    width: 300px;
    border-radius: 36px;
    box-shadow: var(--shadow-xl), 0 0 0 8px rgba(255, 255, 255, 0.1);
    transform: rotate(2deg);
    transition: var(--transition-slow);
}

.app-phone-frame img:hover {
    transform: rotate(0deg) scale(1.03);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
}

.footer-top {
    padding: 80px 0 48px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--gray-300);
    letter-spacing: 0.05em;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

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

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }

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

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

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

    .story-timeline::before {
        left: 28px;
    }

    .story-chapter {
        grid-template-columns: auto 1fr;
        gap: 24px;
    }

    .story-chapter-content {
        text-align: left;
    }

    .story-chapter.reverse .story-chapter-content {
        order: unset;
    }

    .story-chapter-visual {
        display: none;
    }

    .story-chapter.reverse .story-chapter-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 80px 0;
    }

    /* Nav mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 48px 32px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero mobile */
    .hero-title-thai {
        font-size: 3.5rem;
    }

    .hero-title-en {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

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

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    /* Section headers */
    .section-title {
        font-size: 1.9rem;
    }

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

    /* Story */
    .story-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px;
        gap: 24px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    /* Signature */
    .signature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Locations */
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Reviews */
    .review-card {
        padding: 32px 24px;
    }

    .review-text {
        font-size: 1rem;
    }

    /* App CTA */
    .app-cta-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .app-cta-title {
        font-size: 2.2rem;
    }

    .app-cta-features {
        align-items: center;
    }

    .app-cta-buttons {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        padding: 48px 0 32px;
    }
}

@media (max-width: 480px) {
    .hero-title-thai {
        font-size: 2.8rem;
    }

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

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

    .story-chapter {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-chapter-icon {
        margin: 0 auto;
    }

    .story-chapter-content {
        text-align: center;
    }

    .story-chapter.reverse .story-chapter-content {
        text-align: center;
    }

    .story-timeline::before {
        display: none;
    }

    .story-stats {
        grid-template-columns: 1fr 1fr;
    }

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