/*
Theme Name: 123B Theme
Theme URI: https://whizz.us.com/
Author: 123B Team
Author URI: https://whizz.us.com/
Description: Theme chuyên biệt cho nhà cái 123b với thiết kế hiện đại và tối ưu SEO
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 123b-theme
*/

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 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;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.site-title span {
    color: #e94560;
}

/* Navigation Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-desktop .menu {
    display: flex;
    gap: 25px;
}

.nav-desktop .menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-desktop .menu a:hover {
    background-color: #e94560;
    color: #fff;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-login:hover {
    background-color: #e94560;
}

.btn-register {
    background-color: #e94560;
    color: #fff;
}

.btn-register:hover {
    background-color: #c73e54;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Navigation Mobile */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .menu a {
    color: #fff;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile .header-buttons {
    margin-top: 20px;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #e94560;
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #c73e54;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a2e;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section.alt-bg {
    background-color: #f8f9fa;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.content-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.content-list {
    margin-top: 20px;
}

.content-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.content-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e94560;
}

.footer-widget p,
.footer-widget a {
    color: #aaa;
    line-height: 1.8;
}

.footer-widget a:hover {
    color: #e94560;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-description {
    font-size: 16px;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background-color: #fff;
}

.content-area {
    max-width: 900px;
    margin: 0 auto;
}

.content-area h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #1a1a2e;
}

.content-area p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.content-area ul,
.content-area ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-area ul li,
.content-area ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.content-area ul li {
    list-style: disc;
}

.content-area ol li {
    list-style: decimal;
}

/* Steps Section */
.steps-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e94560;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.step-description {
    color: #666;
    font-size: 14px;
}

/* App Download Section */
.app-section {
    padding: 60px 0;
    background-color: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.app-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.app-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a2e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: #e94560;
}

.app-btn i {
    font-size: 24px;
}

.app-btn-text {
    text-align: left;
}

.app-btn-text small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.app-btn-text strong {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        justify-content: center;
    }
}
