:root {
    --primary: #f59e0b;
    --secondary: #78350f;
    --accent: #fbbf24;
    --background: #000000;
    --text: #ffffff;
    --body-text: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--body-text);
    background: var(--background);
    min-height: 100vh;
}

/* Typography & SEO Elements */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    color: var(--secondary);
}

strong {
    color: var(--primary);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

/* Internal Links (SEO) */
a.internal-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s;
}

a.internal-link:hover {
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(var(--primary), 0.3);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.nav a.active {
    background: rgba(255,255,255,0.3);
    font-weight: bold;
}

.cta-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Header Variations */
.header-classic { background: var(--primary); padding: 2rem 0; }
.header-classic .logo-center { text-align: center; margin-bottom: 1rem; }
.header-classic .nav-below { justify-content: center; }

.header-minimal { background: white; border-bottom: 1px solid #e5e7eb; padding: 1rem 0; }
.header-minimal .header-flex { display: flex; justify-content: space-between; align-items: center; }
.header-minimal .logo-small { font-size: 1.2rem; font-weight: 600; color: var(--primary); }
.header-minimal .nav-inline { gap: 1rem; }
.header-minimal .nav a { color: var(--text); }
.header-minimal .cta-btn { padding: 0.5rem 1.5rem; border-radius: 8px; border: none; cursor: pointer; }
.header-minimal .cta-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }

.header-sticky { background: linear-gradient(135deg, var(--primary), var(--secondary)); position: sticky; top: 0; z-index: 999; padding: 1.5rem 0; }
.header-sticky .header-flex { display: flex; justify-content: space-between; align-items: center; }
.header-sticky .logo-bold { display: flex; align-items: center; gap: 0.5rem; }
.header-sticky .icon-xl { font-size: 2.5rem; }
.header-sticky .nav-spaced { gap: 2rem; }
.header-sticky .cta-primary { background: var(--accent); color: white; padding: 0.75rem 2rem; border-radius: 25px; border: none; cursor: pointer; }

.header-modern { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 1rem 0; }
.header-modern .header-split { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }

.header-centered { background: var(--primary); padding: 1.5rem 0; text-align: center; }
.header-centered .logo-mega { font-size: 2rem; margin-bottom: 1rem; }
.header-centered .nav-centered { justify-content: center; }

.header-sidebar { background: linear-gradient(90deg, var(--secondary), var(--primary)); padding: 1rem 0; }
.header-sidebar .logo-sidebar { display: flex; gap: 1rem; align-items: center; }
.header-sidebar .logo-icon { font-size: 2rem; }

.header-split-color { position: relative; padding: 1.5rem 0; overflow: hidden; }
.header-split-color .header-left-bg { position: absolute; left: 0; top: 0; width: 50%; height: 100%; background: var(--primary); }
.header-split-color .header-right-bg { position: absolute; right: 0; top: 0; width: 50%; height: 100%; background: var(--secondary); }
.header-split-color .header-content-split { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; color: white; }

.header-compact { background: var(--primary); padding: 0.75rem 0; }
.header-compact .compact-flex { display: flex; justify-content: space-between; align-items: center; }
.header-compact .logo-compact { font-size: 1.1rem; font-weight: 600; color: white; }
.header-compact .nav-compact { display: flex; gap: 1rem; }

.header-transparent { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.header-transparent .header-float { display: flex; justify-content: space-between; align-items: center; }
.header-transparent .logo-trans { color: var(--primary); }
.header-transparent .nav-float a { color: var(--primary); }

.header-boxed { padding: 1.5rem 0; }
.header-boxed .header-box { background: var(--primary); color: white; border-radius: 15px; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* Hero Section Variations */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-image { background: url('https://via.placeholder.com/1920x800') center/cover; position: relative; padding: 6rem 0; }
.hero-image .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.hero-image .hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-image .hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-image .hero-subtitle { font-size: 1.3rem; margin-bottom: 2rem; }
.hero-image .hero-actions { display: flex; gap: 1rem; justify-content: center; }
.hero-image .btn-hero { padding: 1rem 2.5rem; border-radius: 30px; font-size: 1.1rem; border: none; cursor: pointer; }
.hero-image .btn-primary { background: var(--accent); color: white; }
.hero-image .btn-secondary { background: transparent; border: 2px solid white; color: white; }

.hero-split { padding: 4rem 0; background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.hero-split .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-split .hero-left { color: white; }
.hero-split .hero-left h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.hero-split .hero-left p { font-size: 1.2rem; margin-bottom: 2rem; }
.hero-split .btn-hero { background: var(--accent); color: white; padding: 1rem 2rem; border-radius: 25px; border: none; cursor: pointer; }
.hero-split .hero-visual { font-size: 8rem; text-align: center; }

.hero-minimal { padding: 3rem 0; background: #f9fafb; text-align: center; }
.hero-minimal h2 { color: var(--primary); font-size: 2.5rem; margin-bottom: 1rem; }
.hero-minimal .text-muted { color: #6b7280; }
.container-small { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

.hero-fullscreen { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; background: var(--primary); }
.hero-fullscreen .hero-video-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.hero-fullscreen .hero-overlay-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.hero-fullscreen .hero-center { position: relative; z-index: 1; text-align: center; color: white; }
.hero-fullscreen .hero-big { font-size: 4rem; margin-bottom: 1.5rem; text-shadow: 3px 3px 6px rgba(0,0,0,0.5); }
.hero-fullscreen .hero-subtitle-lg { font-size: 1.5rem; margin-bottom: 2rem; }
.hero-fullscreen .hero-btn-group { display: flex; gap: 1.5rem; justify-content: center; }
.hero-fullscreen .btn-hero-lg { padding: 1rem 3rem; border-radius: 30px; font-size: 1.2rem; border: none; cursor: pointer; transition: all 0.3s; }
.hero-fullscreen .btn-glow { background: var(--accent); color: white; box-shadow: 0 0 20px rgba(245,158,11,0.6); }
.hero-fullscreen .btn-outline-white { background: transparent; border: 2px solid white; color: white; }

.hero-parallax { min-height: 80vh; position: relative; display: flex; align-items: center; background: url('https://via.placeholder.com/1920x1080') center/cover fixed; }
.hero-parallax .parallax-layer { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-parallax .hero-parallax-content { position: relative; z-index: 1; color: white; padding: 3rem; }
.hero-parallax h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }

.hero-diagonal { position: relative; padding: 4rem 0; overflow: hidden; }
.hero-diagonal .diagonal-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), var(--secondary)); transform: skewY(-3deg); }
.hero-diagonal .hero-diagonal-content { position: relative; z-index: 1; color: white; text-align: center; padding: 2rem 0; }
.hero-diagonal h2 { font-size: 3rem; margin-bottom: 1rem; }
.hero-diagonal .btn-hero-diag { background: var(--accent); color: white; padding: 1rem 2.5rem; border-radius: 25px; border: none; cursor: pointer; font-size: 1.1rem; }

.hero-wave { position: relative; padding: 4rem 0; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; text-align: center; }
.hero-wave h2 { font-size: 3rem; margin-bottom: 1rem; }
.hero-wave .wave-shape { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; background: white; clip-path: ellipse(100% 100% at 50% 100%); }

.hero-glass { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-glass .glass-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.hero-glass .glass-card { position: relative; z-index: 1; background: rgba(255,255,255,0.1); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 3rem; color: white; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.hero-glass h2 { font-size: 3rem; margin-bottom: 1rem; }
.hero-glass .btn-glass { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 1rem 2.5rem; border-radius: 25px; cursor: pointer; transition: all 0.3s; }
.hero-glass .btn-glass:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* Main Content */
.main-content {
    padding: 1rem 0;
    color: var(--body-text);
}

/* Features Grid (3 columns) */
.features-section {
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #1a202c;
    font-weight: 500;
}

/* Large Cards (2 columns) */
.large-cards-section {
    margin-bottom: 1.5rem;
}

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

.large-card {
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.12);
    transition: all 0.3s;
    color: white;
}

.large-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.card-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.card-blue { background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); }
.card-green { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.card-orange { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.card-pink { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.large-card .card-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Info Boxes (4 columns) */
.info-boxes-section {
    margin-bottom: 1.5rem;
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.info-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 50%);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.info-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.info-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: #1a202c;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 600;
}

/* Highlight Section (full width) */
.highlight-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.highlight-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-nav a:hover {
    color: white;
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Footer Variations */
.footer-2col { background: linear-gradient(135deg, #1f2937, #374151); }
.footer-2col .footer-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }

.footer-4col { background: linear-gradient(135deg, #111827, #1f2937); padding: 4rem 0 2rem; }
.footer-4col .footer-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-4col h4 { color: var(--accent); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-4col .text-center { text-align: center; }
.footer-4col .mt-4 { margin-top: 2rem; }

.footer-centered { background: var(--primary); padding: 3rem 0; }
.footer-centered .footer-nav-center { display: flex; gap: 2rem; justify-content: center; margin: 1.5rem 0; }
.footer-centered .footer-nav-center a { color: white; text-decoration: none; }
.footer-centered .footer-social { font-size: 2rem; margin: 1rem 0; display: flex; gap: 1rem; justify-content: center; }

.footer-mega { background: linear-gradient(180deg, #0f172a, #1e293b); padding: 4rem 0 2rem; }
.footer-mega .footer-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-mega .footer-bottom-mega { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }

.footer-split { background: linear-gradient(90deg, var(--primary), var(--secondary)); padding: 3rem 0; }
.footer-split .footer-split-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; margin-bottom: 2rem; }

.footer-compact { background: var(--primary); padding: 1rem 0; }
.footer-compact .footer-compact-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-compact .footer-nav-inline { display: flex; gap: 1.5rem; }
.footer-compact .footer-nav-inline a { color: white; text-decoration: none; }

.footer-dark { background: #0a0a0a; color: white; padding: 3rem 0; }
.footer-dark .footer-dark-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-dark .footer-dark-title { color: var(--accent); font-size: 1.5rem; }
.footer-dark .footer-dark-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #333; }

.footer-gradient { background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 3rem 0; }
.footer-gradient .footer-grad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-gradient .footer-grad-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); }

.footer-sticky-bottom { position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); padding: 0.75rem 0; z-index: 999; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.footer-sticky-bottom .footer-sticky-content { display: flex; justify-content: space-around; align-items: center; color: white; font-size: 0.9rem; }

.footer-boxed-wrap { padding: 3rem 0; }
.footer-boxed-wrap .footer-boxed-container { background: var(--primary); color: white; border-radius: 20px; padding: 3rem; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.footer-boxed-wrap .footer-boxed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }

/* New Section Styles - 6 แบบใหม่ */
.timeline-section { padding: 2rem 0; }
.timeline-container { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-container::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--primary); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-left { padding-right: 50%; }
.timeline-right { padding-left: 50%; }
.timeline-marker { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: var(--accent); border-radius: 50%; border: 3px solid white; z-index: 1; }
.timeline-content { background: white; padding: 1.5rem; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.1); color: #1a202c; }

.zigzag-section { padding: 2rem 0; }
.zigzag-row { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; margin-bottom: 2rem; padding: 1.5rem; background: white; border-radius: 15px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); }
.zigzag-reverse { grid-template-columns: 2fr 1fr; }
.zigzag-reverse .zigzag-visual { order: 2; }
.zigzag-visual { font-size: 4rem; text-align: center; }
.zigzag-text { color: #1a202c; }

.accordion-section { padding: 2rem 0; max-width: 900px; margin: 0 auto; }
.accordion-item { background: white; border: 2px solid #e5e7eb; border-radius: 10px; margin-bottom: 1rem; overflow: hidden; }
.accordion-title { padding: 1rem 1.5rem; font-weight: 600; background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%); color: var(--primary); font-size: 1.1rem; border-bottom: 2px solid #e5e7eb; }
.accordion-content { padding: 1.5rem; color: #1a202c; }

.icon-cards-section { padding: 2rem 0; }
.icon-card-horizontal { display: flex; gap: 1.5rem; align-items: center; background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); margin-bottom: 1.5rem; transition: all 0.3s; }
.icon-card-horizontal:hover { transform: translateX(10px); box-shadow: 0 5px 20px rgba(0,0,0,0.12); }
.icon-card-icon { font-size: 3rem; min-width: 70px; text-align: center; }
.icon-card-text { color: #1a202c; }
.icon-card-text p { color: #1a202c; font-weight: 500; }

.number-list-section { padding: 2rem 0; max-width: 900px; margin: 0 auto; }
.number-list-item { display: flex; gap: 2rem; margin-bottom: 2rem; }
.number-badge { min-width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.number-content { flex: 1; background: white; padding: 1.5rem; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); color: #1a202c; }

.quotes-section { padding: 2rem 0; max-width: 800px; margin: 0 auto; }
.quote-block { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: white; padding: 2rem; border-radius: 15px; margin-bottom: 2rem; border-left: 5px solid var(--accent); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.quote-text { font-size: 1.2rem; font-style: italic; line-height: 1.8; margin-bottom: 1rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.quote-cite { display: block; text-align: right; font-size: 0.95rem; opacity: 0.9; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    z-index: 101;
    line-height: 1;
    height: auto;
}

.hamburger-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    /* Header กระทัดรัด - สูง 50-60px ทุกแบบ */
    .header, 
    .header-classic,
    .header-minimal,
    .header-sticky,
    .header-modern,
    .header-centered,
    .header-sidebar,
    .header-split-color,
    .header-compact,
    .header-transparent,
    .header-boxed {
        padding: 0 !important;
        min-height: 50px;
        max-height: 60px;
    }
    
    .header-content,
    .header-flex,
    .header-split,
    .compact-flex,
    .header-float,
    .header-box,
    .header-content-split {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        height: 50px !important;
        padding: 0 1rem !important;
    }
    
    /* Logo ทุกแบบ กระทัดรัด */
    .logo,
    .logo-center,
    .logo-small,
    .logo-bold,
    .logo-mega,
    .logo-sidebar,
    .logo-compact,
    .logo-trans {
        line-height: 1;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0.95rem !important;
    }
    
    .logo h1,
    .logo-center h1,
    .logo-bold h1,
    .logo-mega h1,
    .logo-sidebar h1,
    .logo-trans,
    .header-box h1,
    .header-content-split h1 {
        font-size: 0.95rem !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    
    /* Icon เล็กลง */
    .icon-xl,
    .icon-xxl,
    .logo-icon {
        font-size: 1.2rem !important;
    }
    
    /* ซ่อนข้อความเสริม */
    .logo-center p,
    .logo-mega p,
    .header-centered .logo-mega p {
        display: none;
    }
    
    /* ซ่อน CTA buttons */
    .cta-button,
    .cta-btn,
    .cta-outline,
    .cta-primary,
    .header-actions {
        display: none !important;
    }
    
    /* แสดง Hamburger Menu */
    .hamburger-btn {
        display: block;
    }
    
    /* ซ่อนเมนูปกติ - ทุกแบบ */
    .nav,
    .nav-inline,
    .nav-spaced,
    .nav-centered,
    .nav-horizontal,
    .nav-compact,
    .nav-float,
    .nav-below {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 4rem 1.5rem 2rem !important;
        gap: 0 !important;
        box-shadow: 2px 0 15px rgba(0,0,0,0.3) !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        z-index: 1000 !important;
        display: flex !important;
    }
    
    .nav.active,
    .nav-inline.active,
    .nav-spaced.active,
    .nav-centered.active,
    .nav-horizontal.active,
    .nav-compact.active,
    .nav-float.active,
    .nav-below.active {
        left: 0 !important;
    }
    
    /* สลับ hamburger ขวา */
    .hamburger-right .nav,
    .hamburger-right .nav-inline,
    .hamburger-right .nav-spaced,
    .hamburger-right .nav-centered,
    .hamburger-right .nav-horizontal,
    .hamburger-right .nav-compact,
    .hamburger-right .nav-float,
    .hamburger-right .nav-below {
        left: auto !important;
        right: -100% !important;
    }
    
    .hamburger-right .nav.active,
    .hamburger-right .nav-inline.active,
    .hamburger-right .nav-spaced.active,
    .hamburger-right .nav-centered.active,
    .hamburger-right .nav-horizontal.active,
    .hamburger-right .nav-compact.active,
    .hamburger-right .nav-float.active,
    .hamburger-right .nav-below.active {
        right: 0 !important;
        left: auto !important;
    }
    
    .nav a,
    .nav-inline a,
    .nav-spaced a,
    .nav-centered a,
    .nav-horizontal a,
    .nav-compact a,
    .nav-float a,
    .nav-below a {
        width: 100% !important;
        padding: 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        text-align: left !important;
        color: white !important;
    }
    
    /* แก้ background ของ split-color ในมือถือ */
    .header-split-color .header-left-bg,
    .header-split-color .header-right-bg {
        width: 100% !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    }
    
    /* Overlay เมื่อเปิดเมนู */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Hero กระทัดรัดขึ้น */
    .hero,
    .hero-image,
    .hero-split,
    .hero-minimal,
    .hero-fullscreen,
    .hero-parallax,
    .hero-diagonal,
    .hero-wave,
    .hero-glass {
        padding: 2rem 0 !important;
        min-height: auto !important;
    }
    
    .hero h2,
    .hero-title,
    .hero-big {
        font-size: 1.5rem !important;
    }
    
    .hero p,
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-grid {
        grid-template-columns: 1fr !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .large-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .info-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-section {
        padding: 2rem 1.5rem;
    }
    
    /* Banner ให้โดดเด่นบนมือถือ - ทุก position */
    .banners-hero,
    .banners-footer,
    .banners-inline {
        display: block !important;
        margin: 1rem 0 !important;
        padding: 1rem !important;
    }
    
    .banners-hero .banner-item,
    .banners-footer .banner-item,
    .banners-inline .banner-item {
        display: block !important;
        margin: 0.5rem auto !important;
        max-width: 100% !important;
    }
    
    .banners-hero .banner-item img,
    .banners-footer .banner-item img,
    .banners-inline .banner-item img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-radius: 8px;
    }
    
    /* Sidebar banner ในมือถือ */
    .sidebar {
        display: block !important;
        width: 100% !important;
        padding: 1rem 0 !important;
        margin: 1rem 0 !important;
    }
    
    .sidebar .banner-item {
        display: block !important;
        margin: 0.5rem auto !important;
        max-width: 100% !important;
    }
    
    .sidebar .banner-item img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    
    /* Sticky banner เล็กลง อยู่มุมขวาล่าง */
    .sticky-banners {
        display: block !important;
        bottom: 10px !important;
        right: 10px !important;
        max-width: 45% !important;
    }
    
    .sticky-banners .banner-item {
        margin-bottom: 8px !important;
        display: block !important;
    }
    
    .sticky-banners .banner-item img {
        width: 100% !important;
        height: auto !important;
    }
    
    /* Popup banner */
    .popup-banners {
        width: 90% !important;
        padding: 1rem !important;
    }
    
    /* Content with sidebar */
    .content-with-sidebar {
        flex-direction: column !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Banners */
.banners-hero, .banners-footer, .banners-inline {
    text-align: center;
    padding: 1rem;
    background: #f9f9f9;
}

.banners-hero {
    border-bottom: 1px solid #e0e0e0;
}

.banners-footer {
    border-top: 1px solid #e0e0e0;
    margin-top: 2rem;
}

.banner-item {
    display: inline-block;
    margin: 0.5rem;
}

.banner-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.sidebar {
    flex: 0 0 300px;
    padding-left: 2rem;
}

.sidebar .banner-item {
    display: block;
    margin-bottom: 1rem;
}

.content-with-sidebar {
    display: flex;
    gap: 2rem;
}

.main-column {
    flex: 1;
}

.sticky-banners {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.sticky-banners .banner-item {
    display: block;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
}

.popup-banners {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
