/*
Theme Name: vayxanh
Author: VayMèo Network
Description: Custom theme for vayxanh.info
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: #1a202c; background: #f7fafc; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: #276749; transition: color 0.2s; }
a:hover { color: #22543d; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER & NAV ===== */
.site-header { background: #276749; color: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-logo { font-size: 24px; font-weight: 700; color: #fff; }
.site-logo span { color: #68d391; }
.site-logo:hover { color: #e2e8f0; }
.main-nav ul { display: flex; gap: 25px; list-style: none; }
.main-nav a { color: #e2e8f0; font-weight: 500; font-size: 15px; padding: 5px 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.main-nav a:hover, .main-nav .current-menu-item a { color: #fff; border-bottom-color: #68d391; }
.menu-cta a { background: #38b2ac; color: #fff !important; padding: 8px 20px !important; border-radius: 6px; border-bottom: none !important; }
.menu-cta a:hover { background: #319795; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #276749 0%, #38b2ac 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 40px; margin-bottom: 20px; line-height: 1.3; }
.hero p { font-size: 18px; max-width: 700px; margin: 0 auto 30px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 30px; border-radius: 8px; font-weight: 600; font-size: 16px; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: #fff; color: #276749; }
.btn-primary:hover { background: #f0fff4; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ===== SECTIONS ===== */
.section { padding: 60px 0; }
.bg-white { background: #fff; }
.bg-light { background: #f7fafc; }
.section-title { font-size: 32px; text-align: center; margin-bottom: 15px; color: #276749; }
.section-subtitle { text-align: center; color: #718096; font-size: 16px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid #e2e8f0; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(39,103,73,0.1); }
.feature-icon { font-size: 40px; margin-bottom: 15px; }
.feature-card h3 { color: #276749; margin-bottom: 10px; font-size: 18px; }
.feature-card p { color: #718096; font-size: 14px; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.step-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: relative; border: 1px solid #e2e8f0; }
.step-number { width: 50px; height: 50px; background: #276749; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin: 0 auto 15px; }
.step-card h3 { color: #276749; margin-bottom: 10px; }
.step-card p { color: #718096; font-size: 14px; }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s; border: 1px solid #e2e8f0; }
.blog-card:hover { transform: translateY(-3px); }
.blog-card-image { height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-date { color: #a0aec0; font-size: 13px; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card-body h3 a { color: #1a202c; }
.blog-card-body h3 a:hover { color: #276749; }
.blog-card-body p { color: #718096; font-size: 14px; margin-bottom: 15px; }
.read-more { color: #276749; font-weight: 600; font-size: 14px; }
.read-more:hover { color: #22543d; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-question { padding: 18px 20px; background: #fff; font-weight: 600; color: #2d3748; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 20px; color: #276749; }
.faq-question.open::after { content: '−'; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s; background: #f7fafc; color: #4a5568; }
.faq-answer.open { padding: 18px 20px; max-height: 300px; }

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, #38b2ac 0%, #276749 100%); color: #fff; padding: 60px 0; text-align: center; }
.cta-section h2 { font-size: 32px; margin-bottom: 15px; }
.cta-section p { font-size: 16px; margin-bottom: 25px; opacity: 0.9; }
.cta-section .btn-primary { background: #fff; color: #276749; }
.cta-section .btn-primary:hover { background: #f0fff4; }

/* ===== FOOTER ===== */
.site-footer { background: #1a202c; color: #e2e8f0; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.footer-col h4 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #a0aec0; font-size: 14px; }
.footer-col a:hover { color: #68d391; }
.footer-bottom { border-top: 1px solid #2d3748; padding-top: 20px; text-align: center; color: #718096; font-size: 13px; max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* ===== PAGE CONTENT ===== */
.page-content { padding: 40px 0; min-height: 400px; }
.page-content h1 { color: #276749; margin-bottom: 20px; font-size: 28px; }
.page-content h2 { color: #276749; margin: 25px 0 15px; font-size: 22px; }
.page-content p { margin-bottom: 15px; color: #4a5568; }

/* ===== SINGLE POST ===== */
.single-post .post-header { margin-bottom: 30px; }
.post-header h1 { font-size: 32px; color: #1a202c; }
.post-meta { color: #a0aec0; font-size: 14px; margin-top: 10px; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 50px 0; }
  .main-nav ul { gap: 15px; }
  .section-title { font-size: 26px; }
  .features-grid, .steps-grid, .blog-grid { grid-template-columns: 1fr; }
}
