/*
Theme Name: 123B Theme
Theme URI: https://123b.com
Author: 123B Team
Author URI: https://123b.com
Description: Theme chuyen nghiep danh cho nha cai 123 B
Version: 1.0.0
License: GPL v2 or later
Text Domain: 123b-theme
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* Header Styles - Structure B */
.glx-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.glx-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.glx-primary-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}

.glx-nav-list {
    display: flex;
    gap: 30px;
}

.glx-nav-list a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: capitalize;
}

.glx-nav-list a:hover {
    color: #ffd700;
}

.glx-auth-group {
    display: flex;
    gap: 15px;
}

.glx-btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.glx-btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #ffd700;
}

.glx-btn-login:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.glx-btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.glx-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.glx-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content */
.glx-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.glx-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

.glx-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.glx-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.glx-hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.glx-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.glx-btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Content Sections */
.glx-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.glx-section-alt {
    background: #fff;
}

.glx-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1a1a2e;
    text-align: center;
}

.glx-section-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Grid */
.glx-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.glx-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.glx-card:hover {
    transform: translateY(-5px);
}

.glx-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.glx-card p {
    color: #666;
    line-height: 1.8;
}

/* Stats Section */
.glx-stats {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    padding: 60px 20px;
    color: #fff;
}

.glx-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.glx-stat-item h4 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 10px;
}

.glx-stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Section */
.glx-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 80px 20px;
    text-align: center;
}

.glx-cta h2 {
    color: #1a1a2e;
    margin-bottom: 20px;
}

.glx-cta p {
    color: #333;
    font-size: 18px;
    margin-bottom: 30px;
}

.glx-btn-dark {
    background: #1a1a2e;
    color: #fff;
}

.glx-btn-dark:hover {
    background: #333;
}

/* FAQ Section */
.glx-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.glx-faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.glx-faq-question {
    padding: 20px;
    background: #f8f9fa;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glx-faq-answer {
    padding: 20px;
    color: #666;
    line-height: 1.8;
}

/* Footer */
.glx-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 20px 30px;
}

.glx-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.glx-footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.glx-footer h4 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 18px;
}

.glx-footer p {
    color: #aaa;
    line-height: 1.8;
}

.glx-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glx-footer-links a {
    color: #aaa;
    transition: color 0.3s;
}

.glx-footer-links a:hover {
    color: #ffd700;
}

.glx-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #666;
}

.glx-seo-text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #888;
}

/* Page Template Styles */
.glx-page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.glx-page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.glx-page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.glx-content-block {
    margin-bottom: 50px;
}

.glx-content-block h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.glx-content-block h3 {
    font-size: 22px;
    color: #16213e;
    margin-bottom: 15px;
    margin-top: 30px;
}

.glx-content-block p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Steps */
.glx-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.glx-step {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.glx-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Features List */
.glx-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.glx-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.glx-feature-icon {
    width: 40px;
    height: 40px;
    background: #ffd700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glx-feature-content h4 {
    color: #1a1a2e;
    margin-bottom: 8px;
}

.glx-feature-content p {
    color: #666;
    font-size: 14px;
}

/* Promotions */
.glx-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.glx-promo-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.glx-promo-card h3 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 15px;
}

.glx-promo-card .glx-promo-value {
    font-size: 48px;
    font-weight: 700;
    color: #ffd700;
    margin: 20px 0;
}

.glx-promo-card p {
    color: #aaa;
    margin-bottom: 25px;
}

/* Contact */
.glx-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.glx-contact-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.glx-contact-card h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
}

.glx-contact-card p {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .glx-menu-toggle {
        display: block;
        order: 3;
    }
    
    .glx-primary-wrap {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #1a1a2e;
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s;
    }
    
    .glx-primary-wrap.active {
        left: 0;
    }
    
    .glx-nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .glx-auth-group {
        flex-direction: row;
        width: 100%;
    }
    
    .glx-btn {
        width: 100%;
        text-align: center;
    }
    
    .glx-hero h1 {
        font-size: 32px;
    }
    
    .glx-hero p {
        font-size: 16px;
    }
    
    .glx-hero-cta {
        flex-direction: column;
    }
    
    .glx-section h2 {
        font-size: 28px;
    }
    
    .glx-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .glx-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glx-stat-item h4 {
        font-size: 32px;
    }
    
    .glx-page-header h1 {
        font-size: 28px;
    }
    
    .glx-content-block h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .glx-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .glx-footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
