/*
Theme Name: 123B Theme
Theme URI: https://123b.com
Author: 123B Team
Description: Theme chuyên nghiệp cho 123b nhà cái
Version: 1.0
License: GPL v2
Text Domain: 123b-theme
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Navigation Desktop */
.nav-desktop .menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop .menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-desktop .menu a:hover {
    color: #ffd700;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #1a1a2e;
}

.btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    background: #16213e;
    padding: 20px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .menu {
    list-style: none;
}

.nav-mobile .menu li {
    margin: 15px 0;
}

.nav-mobile .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Content Sections */
.about-section,
.page-content {
    padding: 60px 0;
    background: #fff;
}

.about-section h2,
.page-content h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
}

.about-section h2:first-child,
.page-content h2:first-child {
    margin-top: 0;
}

.about-section p,
.page-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.page-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #ffd700;
}

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

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .about-section,
    .page-content {
        padding: 40px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Content Images */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .about-section h2,
    .page-content h2 {
        font-size: 1.2rem;
    }
}
