/*
===============================================
  FORTIS GARDA — Global Theme Stylesheet
  For WordPress Custom Theme Conversion
  Brand: Navy #0A1F44 + Gold #B45A3C
  Fonts: DM Serif Display + Source Sans 3
===============================================
*/

/* ─── CSS VARIABLES ─── */
:root {
  /* Brand Colors */
  --navy: #0A1F44;
  --navy-mid: #1A3A6B;
  --navy-light: #253D6A;
  --gold: #B45A3C;
  --gold-dark: #8B3A20;
  --gold-light: #F5C4B3;
  --gold-lighter: #FDF0EC;

  /* Neutrals */
  --warm: #F5F5F5;
  --warm-gray: #E5E5E5;
  --charcoal: #333333;
  --mid: #666666;
  --light-mid: #999999;

  /* Category Colors */
  --blue-bg: #E6F1FB;
  --blue-text: #185FA5;
  --green-bg: #E1F5EE;
  --green-text: #085041;
  --green: #0F6E56;
  --purple-bg: #EEEDFE;
  --purple-text: #3C3489;
  --amber-bg: #FAEEDA;
  --amber-text: #633806;
  --coral-bg: #FAECE7;
  --coral-text: #993C1D;
  --gray-bg: #F1EFE8;
  --gray-text: #444441;

  /* Typography */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }

/* ─── NAVIGATION ─── */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-brand { font-family: var(--serif); font-size: 20px; color: #fff; }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link { color: rgba(255,255,255,0.65); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: all 0.2s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: #fff; }
.nav-cta { background: var(--gold); color: #fff; font-size: 14px; font-weight: 800; padding: 11px 24px; border-radius: 6px; cursor: pointer; transition: all 0.25s; border: none; letter-spacing: 0.02em; box-shadow: 0 0 0 0 rgba(180,90,60,0.5); animation: nav-cta-pulse 2.5s ease-in-out infinite; }
.nav-cta:hover { background: #D4856A; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(180,90,60,0.35); animation: none; }
@keyframes nav-cta-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(180,90,60,0.45); } 50% { box-shadow: 0 0 0 6px rgba(180,90,60,0); } }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; padding: 0; cursor: pointer; }
.menu-btn span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-active span:nth-child(2) { opacity: 0; }
.menu-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── PAGE HEADER (shared across Tentang, Layanan, Kontak, Disclaimer, Blog, Database pages) ─── */
.page-header { background: var(--navy); padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-header::after { content: ''; position: absolute; right: -100px; top: -100px; width: 350px; height: 350px; border-radius: 50%; background: rgba(180,90,60,0.03); }
.header-eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.header-title { color: #fff; font-family: var(--serif); font-size: 40px; margin-bottom: 12px; }
.header-sub { color: rgba(181,212,244,0.8); font-size: 15px; line-height: 1.7; max-width: 580px; }
.header-stats { display: flex; gap: 24px; margin-top: 20px; }
.header-stat { display: flex; align-items: center; gap: 8px; }
.header-stat-num { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.header-stat-label { font-size: 12px; color: rgba(181,212,244,0.5); }

/* ─── HERO (Homepage only) ─── */
.hero { background: var(--navy); padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 500px; height: 500px; border-radius: 50%; background: rgba(180,90,60,0.03); }
.hero::before { content: ''; position: absolute; left: -80px; bottom: -160px; width: 400px; height: 400px; border-radius: 50%; background: rgba(180,90,60,0.02); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { color: #fff; font-family: var(--serif); font-size: 44px; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--gold); }
.hero-sub { color: rgba(181,212,244,0.85); font-size: 17px; line-height: 1.6; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn-gold { background: var(--gold); color: #fff; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 8px; cursor: pointer; transition: all 0.2s; border: none; letter-spacing: 0.02em; }
.btn-gold:hover { background: #D4856A; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; font-size: 14px; font-weight: 600; padding: 14px 28px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.btn-outline-navy { background: transparent; color: var(--navy); font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 8px; border: 1.5px solid var(--warm-gray); cursor: pointer; transition: all 0.2s; }
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(10,31,68,0.04); }
.btn-navy { background: transparent; color: var(--navy); font-size: 14px; font-weight: 700; padding: 12px 32px; border-radius: 8px; border: 1.5px solid var(--navy); cursor: pointer; transition: all 0.2s; }
.btn-navy:hover { background: var(--navy); color: #fff; }

/* ─── SECTIONS ─── */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-eyebrow { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: 30px; color: var(--navy); margin-bottom: 12px; line-height: 1.25; }
.section-sub { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 32px; max-width: 600px; }

/* ─── TAGLINE BAR ─── */
.tagline { background: var(--gold); padding: 14px 0; text-align: center; }
.tagline-text { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }

/* ─── FEATURE CARDS (Homepage hero) ─── */
.feature-cards { display: flex; flex-direction: column; gap: 14px; }
.feature-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 22px 24px; display: flex; align-items: center; gap: 18px; transition: all 0.3s; }
.feature-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(180,90,60,0.25); transform: translateX(4px); }
.feature-icon { width: 48px; height: 48px; background: rgba(180,90,60,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.feature-desc { color: rgba(181,212,244,0.7); font-size: 13px; line-height: 1.5; }

/* ─── VALUE CARDS (Homepage kenapa section) ─── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--warm-gray); border-radius: 14px; padding: 32px 28px; transition: all 0.3s; }
.value-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.value-num { font-family: var(--serif); font-size: 48px; color: var(--gold-light); line-height: 1; margin-bottom: 16px; }
.value-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-desc { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* ─── ARTICLE CARDS (Homepage + Blog) ─── */
.articles-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.articles-link { font-size: 13px; font-weight: 700; color: var(--gold); cursor: pointer; white-space: nowrap; }
.articles-link:hover { color: var(--gold-dark); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: var(--warm); border: 1px solid var(--warm-gray); border-radius: 14px; overflow: hidden; transition: all 0.3s; cursor: pointer; }
.article-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.article-thumb { height: 140px; display: flex; align-items: center; justify-content: center; }
.article-body { padding: 22px 20px 24px; }
.article-cat { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.03em; }
.article-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.article-excerpt { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
.article-meta { display: flex; justify-content: space-between; align-items: center; }
.article-date { font-size: 12px; color: var(--light-mid); }
.article-read { font-size: 12px; font-weight: 700; color: var(--gold); }

/* ─── NEWSLETTER BAR ─── */
.newsletter { background: var(--gold-lighter); border: 1px solid var(--gold-light); border-radius: 14px; padding: 32px; margin-top: 40px; display: flex; align-items: center; gap: 32px; }
.newsletter-text { flex: 1; }
.newsletter-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.newsletter-desc { font-size: 13px; color: var(--gold-dark); line-height: 1.6; }
.newsletter-form { display: flex; gap: 8px; flex-shrink: 0; }
.newsletter-input { padding: 12px 16px; border-radius: 8px; border: 1.5px solid var(--warm-gray); font-size: 13px; width: 240px; font-family: var(--sans); background: #fff; }
.newsletter-input:focus { outline: none; border-color: var(--gold); }
.newsletter-btn { background: var(--navy); color: var(--gold); font-size: 13px; font-weight: 700; padding: 12px 20px; border-radius: 8px; border: none; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.newsletter-btn:hover { background: var(--navy-mid); }

/* ─── DATABASE PREVIEW CARDS ─── */
.db-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.db-card { background: #fff; border: 1px solid var(--warm-gray); border-radius: 14px; padding: 24px 20px; transition: all 0.3s; cursor: pointer; text-align: center; }
.db-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.db-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.db-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.db-desc { font-size: 12px; color: var(--mid); line-height: 1.6; margin-bottom: 12px; }
.db-link { font-size: 12px; font-weight: 700; color: var(--gold); }

/* ─── SERVICE CARDS ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--warm); border: 1px solid var(--warm-gray); border-radius: 14px; padding: 32px 24px; transition: all 0.3s; }
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-icon { width: 48px; height: 48px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--mid); line-height: 1.7; margin-bottom: 16px; }
.service-link { font-size: 13px; font-weight: 700; color: var(--gold); cursor: pointer; }
.service-link:hover { color: var(--gold-dark); }

/* ─── CTA BANNER ─── */
.cta-banner { background: var(--navy); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; right: -100px; bottom: -100px; width: 350px; height: 350px; border-radius: 50%; background: rgba(180,90,60,0.04); }
.cta-eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.cta-title { color: #fff; font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.cta-sub { color: rgba(181,212,244,0.8); font-size: 15px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FORM ELEMENTS (Kontak page) ─── */
.form-group { margin-bottom: 20px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: block; }
.form-required { color: var(--gold); margin-left: 2px; }
.form-input { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--warm-gray); font-size: 14px; font-family: var(--sans); color: var(--charcoal); background: var(--warm); transition: border-color 0.2s; }
.form-input:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-input::placeholder { color: var(--light-mid); }
.form-select { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--warm-gray); font-size: 14px; font-family: var(--sans); color: var(--charcoal); background: var(--warm); appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888780' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; transition: border-color 0.2s; }
.form-select:focus { outline: none; border-color: var(--gold); background-color: #fff; }
.form-textarea { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--warm-gray); font-size: 14px; font-family: var(--sans); color: var(--charcoal); background: var(--warm); resize: vertical; min-height: 120px; transition: border-color 0.2s; }
.form-textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; background: var(--gold); color: #fff; font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 10px; cursor: pointer; transition: all 0.2s; border: none; margin-top: 8px; }
.form-submit:hover { background: #D4856A; transform: translateY(-1px); }
.form-submit:disabled { background: var(--warm-gray); color: var(--light-mid); cursor: not-allowed; transform: none; }
.form-input:user-invalid, .form-select:user-invalid, .form-textarea:user-invalid { border-color: #D03B3B; background: #FEF6F6; }
.form-input:user-invalid:focus, .form-select:user-invalid:focus, .form-textarea:user-invalid:focus { border-color: #D03B3B; box-shadow: 0 0 0 3px rgba(208,59,59,0.1); }
.form-input:user-valid:not(:placeholder-shown), .form-textarea:user-valid:not(:placeholder-shown) { border-color: #0ca30c; }
.form-error { font-size: 12px; color: #D03B3B; margin-top: 4px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input, .form-group.has-error .form-select, .form-group.has-error .form-textarea { border-color: #D03B3B; background: #FEF6F6; }
.form-success { background: #F0FAF0; border: 1px solid #0ca30c; border-radius: 10px; padding: 16px 20px; color: #085408; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

/* ─── FOOTER ─── */
.footer { background: var(--navy); padding: 56px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr 0.8fr; gap: 32px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { font-family: var(--serif); font-size: 20px; color: var(--gold); margin-bottom: 12px; }
.footer-tagline { color: rgba(181,212,244,0.6); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.social-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 14px; color: rgba(181,212,244,0.7); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.social-btn:hover { background: rgba(180,90,60,0.15); border-color: rgba(180,90,60,0.3); color: var(--gold); }
.footer-col-title { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-link { display: block; color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 10px; transition: color 0.2s; cursor: pointer; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 12px; }
.footer-gold { color: var(--gold); font-size: 12px; opacity: 0.5; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 32px; }
  .header-title { font-size: 32px; }
  .value-grid, .articles-grid, .services-grid { grid-template-columns: 1fr; }
  .db-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-input { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .menu-btn { display: flex; }
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 20px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  }
  .nav-links.nav-open .nav-link { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links.nav-open .nav-cta { margin-top: 14px; text-align: center; }
  .header-stats { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .section-title { font-size: 24px; }
  .db-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

