/* AndalasFit - Minang Coastal Marine & Highland Trail Styling */
:root {
  --navy-ocean: #0C4A6E;
  --navy-dark: #082F49;
  --orange-turmeric: #D97706;
  --orange-light: #FDE68A;
  --sky-foam: #38BDF8;
  --bg-sand: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-ocean: #E2E8F0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-sand); color: var(--text-main); line-height: 1.65; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top notification */
.af-topbar { background: var(--navy-dark); color: #BAE6FD; font-size: 0.82rem; padding: 8px 0; border-bottom: 2px solid var(--orange-turmeric); }
.af-topbar-flex { display: flex; justify-content: space-between; align-items: center; }

/* Header */
.af-header { background: #FFFFFF; border-bottom: 1px solid var(--border-ocean); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(12,74,110,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.af-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.af-logo-icon { width: 40px; height: 40px; border-radius: 8px; }
.brand-title { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; color: var(--navy-ocean); letter-spacing: -0.5px; }
.brand-title span { color: var(--orange-turmeric); }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); display: block; font-family: var(--font-body); }
.af-nav { display: flex; gap: 24px; list-style: none; align-items: center; }
.af-nav a { text-decoration: none; color: #334155; font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.af-nav a:hover, .af-nav a.active { color: var(--navy-ocean); }
.btn-turmeric { background: var(--orange-turmeric); color: #FFFFFF; padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-turmeric:hover { background: #B45309; }

/* Hero */
.af-hero { background: linear-gradient(135deg, #0C4A6E 0%, #0369A1 100%); color: #FFFFFF; padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.af-badge { background: rgba(217,119,6,0.25); color: #FDE68A; border: 1px solid rgba(253,230,138,0.4); padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; display: inline-block; margin-bottom: 14px; }
.hero-title { font-family: var(--font-heading); font-size: 2.7rem; color: #FFFFFF; line-height: 1.2; margin-bottom: 16px; font-weight: 800; }
.hero-desc { color: #E0F2FE; font-size: 1.05rem; margin-bottom: 24px; line-height: 1.65; }
.hero-img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.25); border: 2px solid rgba(255,255,255,0.15); }

/* Section & Cards */
.af-section { padding: 60px 0; }
.af-heading { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.af-heading h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--navy-ocean); margin-bottom: 10px; font-weight: 800; }
.af-heading p { color: var(--text-muted); font-size: 0.98rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.af-card { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-ocean); padding: 24px; box-shadow: 0 4px 15px rgba(12,74,110,0.03); transition: transform 0.2s, box-shadow 0.2s; }
.af-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(12,74,110,0.08); }
.af-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.af-card h3 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--navy-dark); margin-bottom: 8px; font-weight: 700; }
.af-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Interactive Calculator */
.calc-wrapper { background: #FFFFFF; border-radius: 14px; border: 2px solid var(--navy-ocean); padding: 34px; margin: 40px 0; box-shadow: 0 6px 20px rgba(12,74,110,0.06); }
.calc-wrapper h3 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--navy-ocean); margin-bottom: 8px; font-weight: 800; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.calc-field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; color: var(--text-main); }
.calc-field select, .calc-field input { width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid #CBD5E1; font-family: inherit; font-size: 0.92rem; }
.calc-result-box { background: #F0F9FF; border-left: 4px solid var(--orange-turmeric); padding: 18px; border-radius: 8px; margin-top: 20px; display: none; }

/* Footer */
.af-footer { background: var(--navy-dark); color: #BAE6FD; padding: 50px 0 24px; font-size: 0.86rem; border-top: 3px solid var(--orange-turmeric); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.footer-cols h4 { color: #FFFFFF; font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 14px; font-weight: 700; }
.footer-cols ul { list-style: none; }
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols ul a { color: #BAE6FD; text-decoration: none; }
.footer-cols ul a:hover { color: #FFFFFF; }
.af-copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.78rem; color: #94A3B8; }

/* Modal */
.af-modal-layer { position: fixed; inset: 0; background: rgba(0,0,0,0.65); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.af-modal-box { background: #FFFFFF; border-radius: 12px; max-width: 500px; width: 100%; padding: 32px; position: relative; }
.af-modal-close { position: absolute; top: 16px; right: 18px; font-size: 1.5rem; border: none; background: transparent; cursor: pointer; color: #64748B; }

/* Cookie */
.af-cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-dark); color: #F8FAFC; padding: 12px 0; z-index: 999; font-size: 0.84rem; border-top: 2px solid var(--orange-turmeric); }
.cookie-flex { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2, .footer-cols, .calc-inputs { grid-template-columns: 1fr; }
  .af-nav { display: none; }
}
