/*
Theme Name: Ve Chai Xanh Thanh Vinh
Theme URI: https://vechaixanhthanhvinh.com
Author: Ve Chai Xanh Thanh Vinh
Author URI: https://facebook.com/vechaixanh
Description: Theme WordPress tuy chinh cho website Ve Chai Xanh Thanh Vinh - thu mua phe lieu, sat thep, nha xuong cu tai Nghe An.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ve-chai-xanh
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Be Vietnam Pro', sans-serif; background: #fbfaf3; color: #1c2b20; overflow-x: hidden; }
a { color: #146432; } a:hover { color: #2f9e44; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
img.img-fallback { object-fit: contain; padding: 20%; background: #dff3d8; opacity: 0.5; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e3ecdf;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-badge { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px #2f9e4440; flex-shrink: 0; }
.nav-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; color: #146432; }
.nav-name span { color: #f5a300; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: #2a3a2e; }
.nav-links a { text-decoration: none; color: inherit; transition: color .2s; }
.nav-links a:hover { color: #2f9e44; }
.nav-cta { color: #fff !important; background: #2f9e44; padding: 10px 22px; border-radius: 999px; box-shadow: 0 4px 14px #2f9e4440; transition: background .2s !important; }
.nav-cta:hover { background: #246e32 !important; }

/* HERO */
.hero { position: relative; padding: 64px 32px 0; background: linear-gradient(180deg, #eef8ec 0%, #fbfaf3 70%); overflow: hidden; }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #dff3d8; color: #1f7a3d; font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-family: 'Baloo 2', sans-serif; font-size: 48px; line-height: 1.12; font-weight: 800; color: #123f22; margin: 0 0 18px; }
.hero h1 span { color: #2f9e44; }
.hero-desc { font-size: 17px; line-height: 1.6; color: #3d4d40; max-width: 520px; margin: 0 0 8px; }
.hero-sub { font-size: 15px; color: #5c6b5e; margin: 0 0 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-green { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: #2f9e44; color: #fff; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 12px; box-shadow: 0 8px 20px #2f9e4450; transition: background .2s; }
.btn-green:hover { background: #246e32; color: #fff; }
.btn-white { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #146432; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 12px; border: 2px solid #cdead0; transition: border-color .2s; }
.btn-white:hover { border-color: #2f9e44; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 32px; margin-top: 44px; }
.stat-val { font-family: 'Baloo 2', sans-serif; font-size: 30px; font-weight: 800; color: #146432; }
.stat-lbl { font-size: 13px; color: #607064; font-weight: 600; }
.hero-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-glow { position: absolute; width: 380px; height: 380px; background: radial-gradient(circle, #bfe9c8 0%, transparent 70%); border-radius: 50%; }
.hero-mascot { position: relative; width: 100%; max-width: 400px; border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; filter: drop-shadow(0 20px 30px #1464324d); overflow: hidden; }
.hero-mascot img { border-radius: 50%; }

/* CATEGORY STRIP */
.cat-strip { max-width: 1180px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 0 32px; }
.cat-item { position: relative; border-radius: 18px; overflow: hidden; height: 160px; }
.cat-item img { transition: transform .35s; }
.cat-item:hover img { transform: scale(1.06); }
.cat-overlay { position: absolute; inset: auto 0 0 0; padding: 12px 16px; background: linear-gradient(0deg,#0007,transparent); color: #fff; font-weight: 700; font-size: 15px; pointer-events: none; }

/* SECTION COMMONS */
.sec-wrap { max-width: 1180px; margin: 0 auto; padding: 100px 32px 20px; }
.sec-label { color: #2f9e44; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.sec-title { font-family: 'Baloo 2', sans-serif; font-size: 34px; font-weight: 800; color: #123f22; margin: 0 0 14px; }
.sec-sub { max-width: 560px; color: #55665a; font-size: 15px; line-height: 1.6; }
.sec-center { text-align: center; margin-bottom: 48px; }
.sec-center .sec-sub { margin: 0 auto; }

/* SERVICES */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card { background: #fff; border: 1px solid #e9f2e6; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px #1464320d; transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #1464321a; }
.svc-img { height: 190px; position: relative; overflow: hidden; }
.svc-img img { transition: transform .35s; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-img-icon { position: absolute; top: 12px; left: 12px; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px #0002; }
.svc-body { padding: 20px 22px 24px; }
.svc-body h3 { font-family: 'Baloo 2', sans-serif; font-size: 19px; font-weight: 700; color: #123f22; margin: 0 0 8px; }
.svc-body p { font-size: 14px; color: #5c6b5e; line-height: 1.55; margin: 0 0 12px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: #eef8ec; color: #2f7a3f; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }

/* WHY US */
.why-band { background: #123f22; margin-top: 100px; padding: 80px 32px; color: #fff; }
.why-inner { max-width: 1180px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.why-card { background: #ffffff10; border: 1px solid #ffffff22; border-radius: 16px; padding: 26px; transition: background .2s; }
.why-card:hover { background: #ffffff1a; }
.why-icon { font-size: 26px; margin-bottom: 12px; }
.why-title { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.why-desc { font-size: 13.5px; color: #cfe6d1; line-height: 1.5; }

/* PRICES */
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.price-card { background: #fff; border: 1px solid #e9f2e6; border-radius: 16px; padding: 20px; text-align: center; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #1464321a; }
.price-icon { font-size: 26px; margin-bottom: 8px; }
.price-name { font-weight: 700; font-size: 14.5px; color: #123f22; margin-bottom: 6px; }
.price-val { font-family: 'Baloo 2', sans-serif; font-size: 20px; font-weight: 800; color: #2f9e44; }
.price-unit { font-size: 11.5px; color: #869386; }
.price-note { text-align: center; font-size: 13px; color: #8a978c; margin-top: 20px; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { text-align: center; padding: 0 8px; }
.step-num { width: 54px; height: 54px; border-radius: 50%; background: #2f9e44; color: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h4 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; color: #123f22; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: #5c6b5e; line-height: 1.55; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(2,180px); gap: 14px; }
.gal-main { grid-row: span 2; border-radius: 18px; overflow: hidden; position: relative; }
.gal-item { border-radius: 18px; overflow: hidden; position: relative; }
.gal-item img, .gal-main img { transition: transform .35s; }
.gal-item:hover img, .gal-main:hover img { transform: scale(1.05); }
.gal-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(18,63,34,0.82)); color: #fff; font-weight: 700; font-size: 13px; padding: 24px 12px 10px; opacity: 0; transition: opacity .3s; }
.gal-item:hover .gal-caption, .gal-main:hover .gal-caption { opacity: 1; }

/* TESTIMONIALS */
.testi-band { background: #eef8ec; margin-top: 100px; padding: 80px 32px; }
.testi-inner { max-width: 1180px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.testi-card { background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 6px 18px #1464320d; }
.testi-stars { color: #f5a300; font-size: 15px; margin-bottom: 12px; }
.testi-quote { font-size: 14.5px; line-height: 1.6; color: #354538; margin: 0 0 16px; }
.testi-author { font-weight: 700; font-size: 13.5px; color: #123f22; }

/* STAFF / HUMAN SECTION */
.staff-band { background: #fff; padding: 0; }
.staff-inner { max-width: 1180px; margin: 0 auto; padding: 100px 32px 20px; }
.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.staff-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px; gap: 12px; }
.staff-photo-main { grid-row: span 2; border-radius: 20px; overflow: hidden; }
.staff-photo-sm { border-radius: 16px; overflow: hidden; }
.staff-text p { font-size: 15px; color: #55665a; line-height: 1.7; margin-bottom: 16px; }
.staff-badge { display: inline-flex; align-items: center; gap: 10px; background: #eef8ec; border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; }
.staff-badge-icon { font-size: 22px; }
.staff-badge-text strong { display: block; font-size: 14px; color: #123f22; }
.staff-badge-text span { font-size: 12.5px; color: #5c6b5e; }

/* CONTACT */
.contact-wrap { max-width: 1180px; margin: 0 auto; padding: 100px 32px 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.ci-row { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; color: #123f22; text-decoration: none; }
.ci-icon { width: 40px; height: 40px; border-radius: 50%; background: #eef8ec; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.ci-row a { color: #146432; }
.contact-slogan { margin-top: 28px; font-size: 14px; color: #2f9e44; font-weight: 600; }
.contact-form { background: #fff; border: 1px solid #e9f2e6; border-radius: 22px; padding: 30px; box-shadow: 0 10px 30px #1464321a; }
.form-title { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; color: #123f22; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { padding: 13px 14px; border-radius: 10px; border: 1.5px solid #dfeadb; font-size: 14px; font-family: inherit; color: #1c2b20; background: #fbfaf3; width: 100%; transition: border-color .2s; outline: none; }
.form-field:focus { border-color: #2f9e44; background: #fff; }
.form-field.full { width: 100%; margin-bottom: 14px; }
textarea.form-field { resize: vertical; min-height: 90px; }
.submit-btn { width: 100%; margin-top: 18px; padding: 15px; border: none; border-radius: 12px; background: #2f9e44; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 20px #2f9e4450; font-family: inherit; transition: background .2s; }
.submit-btn:hover { background: #246e32; }

/* MAP */
.map-wrap { max-width: 1180px; margin: 0 auto; padding: 40px 32px 100px; }
.map-frame { border-radius: 20px; overflow: hidden; border: 1px solid #e9f2e6; height: 320px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-btns { text-align: center; margin-top: 20px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.map-btn-g { text-decoration: none; background: #eef8ec; color: #146432; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 10px; transition: background .2s; }
.map-btn-g:hover { background: #dff3d8; color: #146432; }
.map-btn-p { text-decoration: none; background: #2f9e44; color: #fff; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 10px; transition: background .2s; }
.map-btn-p:hover { background: #246e32; color: #fff; }

/* FOOTER */
footer { background: #0e2f19; color: #cfe6d1; padding: 60px 32px 24px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-badge { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-logo-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px; color: #fff; }
.footer-desc { font-size: 13.5px; line-height: 1.6; max-width: 320px; margin: 0 0 10px; }
.footer-slogan { font-size: 13px; color: #7fd68e; font-weight: 600; }
.footer-col h5 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14.5px; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; color: #cfe6d1; text-decoration: none; font-size: 13.5px; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: #7fd68e; }
.footer-bot { max-width: 1180px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #ffffff1a; font-size: 12.5px; color: #8fac8f; text-align: center; }

/* FLOAT */
.float-btns { position: fixed; bottom: 18px; right: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 60; align-items: flex-end; }
.float-call { text-decoration: none; width: 54px; height: 54px; border-radius: 50%; background: #2f9e44; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 8px 20px #2f9e4460; animation: glow 2.2s infinite; }
.float-fb { text-decoration: none; padding: 8px 16px; border-radius: 50px; background: #1877F2; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 4px 14px #1877F240; }
@keyframes glow { 0%,100% { box-shadow: 0 8px 20px #2f9e4460; } 50% { box-shadow: 0 8px 28px #2f9e4490; } }

/* SOCIAL BAR */
.social-bar { background: #123f22; padding: 20px 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.soc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; font-family: inherit; transition: opacity .2s; }
.soc-btn:hover { opacity: .85; }
.soc-phone { background: #f5c518; color: #123f22; }
.soc-zalo { background: #0068FF; color: #fff; }
.soc-fb { background: #1877F2; color: #fff; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner, .contact-grid, .staff-grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc-grid, .why-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,160px); }
  .gal-main { grid-row: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cat-strip { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: repeat(2,auto); }
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 3px; background: #146432; border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 49; padding: 12px 24px 20px; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: #2a3a2e; font-weight: 600; font-size: 15px; padding: 12px 8px; border-bottom: 1px solid #eef2ec; }
.mobile-menu a.mobile-cta { color: #fff; background: #2f9e44; border-radius: 10px; text-align: center; margin-top: 8px; border-bottom: none; }

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .svc-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  section, .sec-wrap, .staff-inner, .contact-wrap, .map-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding: 40px 1.25rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .staff-photos { grid-template-columns: 1fr; grid-template-rows: auto; }
  .staff-photo-main { grid-row: auto; height: 260px; }
}
