/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', 'Arial', sans-serif;
    line-height: 1.6;
    color: #e6e6e6;
    background-color: #0f1115;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #00b894;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: #00b894;
}

/* Main content spacing for fixed header */
main {
    padding-top: 0;
}

@media (max-width: 768px) {
    main {
        padding-top: 0;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/zenplay168-bartoncreative.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #00b894;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: #00b894;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,184,148,0.3);
}

.cta-button:hover {
    background-color: #00d8a7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,184,148,0.4);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    scroll-margin-top: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Programs Section (Games) */
.programs-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    scroll-margin-top: 80px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.15);
}

.program-card i {
    font-size: 3rem;
    color: #00b894;
    margin-bottom: 1rem;
}

.program-card h3 {
    margin: 1rem 0;
    color: #fff;
}

.program-card p {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.8);
}

.game-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.program-card:hover .game-image {
    transform: scale(1.05);
}

/* Events Section (Promotions) */
.events-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    scroll-margin-top: 80px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    background-color: #00b894;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.event-details {
    padding: 1.5rem;
    flex: 1;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
}

.info-item i {
    font-size: 1.5rem;
    color: #00b894;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: #00b894;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1.1rem;
}

.submit-button:hover {
    background-color: #00d8a7;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #00b894;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00b894;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00b894;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Simplified layout for new design */
.simple-header {
    position: static;
    width: 100%;
    background-color: #0f1115;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-name {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.hero-simple {
    max-width: 1000px;
    margin: 1rem auto 2rem;
    padding: 0 1rem;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 1.1rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.cta-primary {
    background-color: #00b894;
    color: #ffffff;
}

.cta-primary:hover,
.cta-primary:focus-visible {
    background-color: #00d8a7;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,184,148,0.35);
}

.cta-secondary {
    background-color: transparent;
    color: #00d8a7;
    border: 2px solid #00d8a7;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
    background-color: rgba(0, 216, 167, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,184,148,0.35);
}

.cta-button:active {
    transform: translateY(0);
}

.simple-footer {
    text-align: center;
    padding: 1.5rem 1rem 0.75rem;
    color: #a0a0a0;
    background: #0f1115;
    border-top: 1px solid #222;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-simple {
        margin-top: 0.5rem;
        padding: 0 0.75rem;
    }

    .cta-group {
        gap: 0.75rem;
    }

    .main-nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 200px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .about-section,
    .programs-section,
    .events-section {
        scroll-margin-top: 200px;
        padding-top: 6rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding-top: 220px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .about-section,
    .programs-section,
    .events-section {
        scroll-margin-top: 220px;
        padding-top: 6rem;
    }

    .programs-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
} 