/*
Theme Name: vaymeo
Author: VayMèo Network
Description: Custom theme for vaymeo.info - Vay tiền online nhanh chóng, uy tín
Version: 1.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fefbf8;
}
a { color: #c05621; text-decoration: none; transition: color .3s; }
a:hover { color: #8e3d15; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 20px;
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-size: 28px;
    font-weight: 800;
    color: #c05621;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: #333; font-weight: 300; }
.logo .icon { font-size: 32px; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav a {
    color: #444;
    font-weight: 500;
    font-size: 15px;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c05621;
    transition: width .3s;
}
.main-nav a:hover::after, .main-nav .current-menu-item a::after { width: 100%; }
.main-nav a:hover { color: #c05621; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #c05621; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #c05621 0%, #e8752a 40%, #f6ad55 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; position: relative; }
.hero p { font-size: 20px; opacity: .9; max-width: 650px; margin: 0 auto 30px; position: relative; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
}
.btn-primary {
    background: #fff;
    color: #c05621;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-primary:hover { background: #fefbf8; color: #8e3d15; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ===== SECTION STYLES ===== */
.section { padding: 70px 0; }
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #c05621;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: #777;
    max-width: 600px;
    margin: 0 auto 50px;
}
.bg-light { background: #fff8f3; }
.bg-white { background: #fff; }

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(192,86,33,0.08);
    text-align: center;
    transition: all .3s;
    border: 1px solid #f0e8e0;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(192,86,33,0.15);
    border-color: #f6ad55;
}
.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #c05621, #f6ad55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}
.feature-card h3 { font-size: 20px; color: #c05621; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 15px; }

/* ===== STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    counter-reset: step;
}
.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(192,86,33,0.08);
    text-align: center;
    position: relative;
    border: 1px solid #f0e8e0;
    transition: all .3s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(192,86,33,0.12); }
.step-number {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #c05621, #f6ad55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.step-card h3 { font-size: 18px; color: #c05621; margin-bottom: 8px; }
.step-card p { color: #666; font-size: 14px; }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all .3s;
    border: 1px solid #f0e8e0;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.blog-card-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #c05621, #f6ad55);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 13px; color: #999; margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card h3 a { color: #333; }
.blog-card h3 a:hover { color: #c05621; }
.blog-card p { color: #666; font-size: 14px; line-height: 1.6; }
.blog-card .read-more {
    display: inline-block;
    margin-top: 12px;
    color: #c05621;
    font-weight: 600;
    font-size: 14px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid #f0e8e0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    color: #c05621;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    background: #fff;
    transition: background .3s;
}
.faq-question:hover { background: #fff8f3; }
.faq-question::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #c05621;
    transition: transform .3s;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
    color: #555;
    font-size: 15px;
}
.faq-item.active .faq-answer { padding: 0 24px 18px; max-height: 300px; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #c05621 0%, #e8752a 50%, #f6ad55 100%);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}
.cta-section h2 { font-size: 32px; margin-bottom: 14px; }
.cta-section p { opacity: .9; margin-bottom: 28px; font-size: 18px; }

/* ===== FOOTER ===== */
.site-footer {
    background: #2d1b0f;
    color: #ddd;
    padding: 50px 0 30px;
}
.footer-grid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.footer-col h3 {
    color: #f6ad55;
    font-size: 18px;
    margin-bottom: 16px;
}
.footer-col p, .footer-col a { color: #bbb; font-size: 14px; line-height: 1.8; }
.footer-col a:hover { color: #f6ad55; }
.footer-bottom {
    max-width: 1140px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #888;
    font-size: 13px;
}

/* ===== PAGE CONTENT ===== */
.page-content { padding: 50px 0; }
.page-content h1 { color: #c05621; font-size: 32px; margin-bottom: 24px; }
.page-content h2 { color: #c05621; font-size: 24px; margin: 30px 0 14px; }
.page-content h3 { color: #444; font-size: 20px; margin: 24px 0 10px; }
.page-content p { margin-bottom: 16px; color: #555; line-height: 1.8; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; color: #555; }
.page-content li { margin-bottom: 6px; line-height: 1.8; }
.page-content a { color: #c05621; font-weight: 500; }

/* ===== BLOG ARCHIVE ===== */
.blog-archive h1 { color: #c05621; font-size: 32px; margin-bottom: 30px; }

/* ===== SINGLE POST ===== */
.single-post .post-header { margin-bottom: 30px; }
.single-post .post-header h1 { font-size: 34px; color: #c05621; }
.single-post .post-meta { color: #999; font-size: 14px; margin-top: 8px; }
.single-post article { max-width: 780px; margin: 0 auto; }
.single-post article p { margin-bottom: 18px; line-height: 1.9; color: #444; font-size: 16px; }
.single-post article h2 { color: #c05621; font-size: 26px; margin: 36px 0 12px; }
.single-post article h3 { color: #c05621; font-size: 20px; margin: 28px 0 10px; }
.single-post article ul, .single-post article ol { margin: 0 0 18px 28px; }
.single-post article li { margin-bottom: 8px; line-height: 1.8; }
.single-post article img { margin: 20px 0; border-radius: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 17px; }
    .section-title { font-size: 26px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
    .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #f0e8e0; }
    .cta-section h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 24px; }
    .section { padding: 40px 0; }
    .btn { padding: 12px 28px; font-size: 15px; }
}
