/*
Theme Name: Dabet Theme
Theme URI: https://dabet.com
Author: Dabet Team
Author URI: https://dabet.com
Description: Dabet Cc Theme - Chuyen Nghiep Va Hien Dai
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: dabet-theme
*/

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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;
}

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 20px;
}

/* Header Styles - Structure C */
.top-bar {
    background-color: #1a1a2e;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.auth-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-btn-login {
    color: #fff;
    border: 1px solid #e94560;
}

.auth-btn-login:hover {
    background-color: #e94560;
}

.auth-btn-register {
    background-color: #e94560;
    color: #fff;
}

.auth-btn-register:hover {
    background-color: #c73e54;
}

.main-nav-wrapper {
    background-color: #16213e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav-wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-primary {
    display: flex;
    gap: 30px;
}

.nav-primary a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-primary a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e94560;
    transition: width 0.3s ease;
}

.nav-primary a:hover::after,
.nav-primary a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
}

.btn-primary {
    background-color: #e94560;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #c73e54;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a2e;
}

/* Content Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: #fff;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.feature-description {
    color: #666;
    line-height: 1.7;
}

/* Content Cards */
.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.content-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.content-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 30px;
}

.content-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.content-card-text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-card-link {
    color: #e94560;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 25px 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    padding-right: 40px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-btn {
    background-color: #fff;
    color: #e94560;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Footer */
.site-footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #e94560;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #aaa;
}

.footer-seo-text {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* Page Content */
.page-content {
    background: #fff;
    padding: 60px 0;
    min-height: 500px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 30px 0;
}

.section-image {
    width: 100%;
    max-width: 800px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 40px;
    display: block;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 40px 0 20px;
}

.content-block h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.content-block p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-block ul li {
    list-style: disc;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #e94560;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 15px;
    color: #1a1a2e;
}

.step-description {
    color: #666;
    line-height: 1.7;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: #1a1a2e;
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #1a1a2e;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e94560;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: #e94560;
    border-radius: 50%;
    border: 3px solid #fff;
}

.timeline-date {
    color: #e94560;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.timeline-content {
    color: #666;
    line-height: 1.7;
}

/* Tips Cards */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tip-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #e94560;
    box-shadow: 0 3px 20px rgba(0,0,0,0.06);
}

.tip-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.tip-card-text {
    color: #666;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    .nav-primary {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #16213e;
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav-primary.active {
        display: flex;
    }
    
    .nav-primary li {
        border-bottom: 1px solid #333;
    }
    
    .nav-primary a {
        display: block;
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .content-block h2 {
        font-size: 24px;
    }
    
    .top-bar {
        display: none;
    }
    
    .features-grid,
    .content-cards {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .feature-card,
    .step-card {
        padding: 30px 20px;
    }
}
