/* components.css — shared components: nav, footer, page-header, section, cards, buttons, boxes */

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; background: #1e4d35; border-bottom: 2px solid #c9a84c; }
.nav .nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .nav-logo { display: flex; align-items: center; gap: 10px; color: #ffffff; }
.nav .nav-logo .logo-icon { width: 36px; height: 36px; background: #c9a84c; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #1e4d35; font-weight: 900; flex-shrink: 0; }
.nav .nav-logo .logo-text { font-size: 20px; font-weight: 700; color: #ffffff; display: block; }
.nav .nav-logo .logo-sub { font-size: 11px; color: #e8c97a; letter-spacing: 0.5px; margin-top: -3px; display: block; }
.nav .nav-links { display: flex; gap: 4px; align-items: center; }
.nav .nav-links a { color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.15s; }
.nav .nav-links a:hover { color: #ffffff; background: rgba(255,255,255,0.12); }
.nav .nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.12); }
.nav .nav-links .nav-cta { background: #c9a84c; color: #1e4d35; font-weight: 700; }
.nav .nav-links .nav-cta:hover { background: #e8c97a; color: #1e4d35; }

/* ── BURGER BUTTON ── */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 6px; transition: background 0.15s; }
.nav-burger:hover { background: rgba(255,255,255,0.12); }
.nav-burger span { display: block; width: 22px; height: 2px; background: #ffffff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav .nav-links { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: #1e4d35; border-bottom: 2px solid #c9a84c; padding: 12px 16px 20px; gap: 2px; z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
  .nav .nav-links.open { display: flex; }
  .nav .nav-links a { padding: 12px 16px; font-size: 15px; border-radius: 8px; width: 100%; }
  .nav .nav-links .nav-cta { margin-top: 8px; text-align: center; display: block; }
  .nav { position: sticky; }
}

/* ── PAGE HEADER ── */
.page-header { background: linear-gradient(135deg, #1e4d35 0%, #2a6647 100%); padding: 60px 24px; }
.page-header .page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header .page-header-inner h1 { font-size: 48px; font-weight: 800; color: #ffffff; margin-bottom: 12px; }
.page-header .page-header-inner p { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 32px; }
.page-header .breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color 0.15s; }
.page-header .breadcrumb a:hover { color: #ffffff; }
.page-header .breadcrumb .sep { color: rgba(255,255,255,0.3); font-size: 13px; }
.page-header .breadcrumb .current { color: rgba(255,255,255,0.9); font-size: 13px; }

@media (max-width: 768px) {
  .page-header .page-header-inner h1 { font-size: 28px; }
}

/* ── SECTION ── */
.section { padding: 80px 24px; }
.section .section-inner { max-width: 1200px; margin: 0 auto; }
.section .section-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #3a8a60; margin-bottom: 12px; }
.section .section-title { font-size: 40px; font-weight: 800; color: #2e2820; margin-bottom: 16px; }
.section .section-sub { font-size: 16px; color: #5c5445; max-width: 520px; margin-bottom: 48px; }

@media (max-width: 768px) {
  .section { padding: 56px 24px; }
  .section .section-title { font-size: 26px; }
}

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: #ffffff; border-radius: 12px; padding: 28px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); border: 1px solid #e8e4db; transition: transform 0.2s, box-shadow 0.2s; color: #2e2820; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
.card .card-icon { width: 48px; height: 48px; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .card-icon.green { background: #e8f5ee; color: #1e4d35; }
.card .card-icon.gold { background: #fdf5e3; color: #7a5c0a; }
.card .card-icon.blue { background: #e8f0fb; color: #1a3d7a; }
.card .card-icon.red { background: #fceaea; color: #8b2020; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #2e2820; }
.card p { font-size: 14px; color: #5c5445; line-height: 1.6; }
.card .card-arrow { margin-top: 20px; font-size: 13px; font-weight: 600; color: #1e4d35; }

/* ── BUTTONS ── */
.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: #c9a84c; color: #1e4d35; border-radius: 12px; padding: 14px 28px; font-weight: 700; font-size: 15px; font-family: inherit; transition: background 0.15s; }
.btn-gold:hover { background: #e8c97a; color: #1e4d35; }
.btn-gold.full { width: 100%; justify-content: center; }
.btn-outline { display: inline-block; padding: 8px 16px; border: 1.5px solid #1e4d35; color: #1e4d35; border-radius: 6px; font-size: 13px; font-weight: 600; font-family: inherit; transition: all 0.15s; }
.btn-outline:hover { background: #1e4d35; color: #ffffff; }

/* ── INFO / TIP BOXES ── */
.info-box { background: #e8f5ee; border-left: 4px solid #3a8a60; border-radius: 0 6px 6px 0; padding: 16px 20px; margin: 20px 0; }
.info-box p { margin: 0; font-size: 14px; color: #1e4d35; line-height: 1.6; }
.info-box strong { color: #1e4d35; }
.tip-box { background: #fdf5e3; border-left: 4px solid #c9a84c; border-radius: 0 6px 6px 0; padding: 16px 20px; margin: 20px 0; }
.tip-box p { margin: 0; font-size: 14px; color: #7a5c0a; line-height: 1.6; }

/* ── TAG / BADGE ── */
.tag { background: rgba(201,168,76,0.25); border: 1px solid #c9a84c; color: #e8c97a; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; display: inline-block; }
.badge { background: #f4f2ed; color: #5c5445; padding: 2px 8px; border-radius: 100px; font-size: 11px; font-weight: 600; }

/* ── FOOTER ── */
footer { background: #2e2820; color: rgba(255,255,255,0.75); padding: 40px 24px 24px; margin-top: auto; }
footer .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer .footer-inner p { font-size: 13px; color: rgba(255,255,255,0.4); }
footer .footer-links { display: flex; gap: 20px; }
footer .footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.15s; }
footer .footer-links a:hover { color: #c9a84c; }
