/* GuardPro Security — style.css */
:root {
  --primary: #212121;
  --primary-light: #424242;
  --accent: #f44336;
  --accent-dark: #c62828;
  --bg: #fafafa;
  --bg-dark: #1a1a1a;
  --text: #212121;
  --text-muted: #757575;
  --text-light: #f5f5f5;
  --border: #e0e0e0;
  --card-bg: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,.10);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.16);
  --radius: 6px;
  --font: -apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; }

/* Demo Bar */
.demo-bar {
  background: #1a1a2e;
  color: #fff;
  font-size: .8rem;
  text-align: center;
  padding: .45rem 1rem;
  position: relative;
  z-index: 200;
}
.demo-bar a { color: #ffcc80; text-decoration: underline; }
.demo-bar a:hover { color: #fff; }

/* ===== HEADER & NAV ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .5px;
  text-decoration: none;
}
.brand-icon { flex-shrink: 0; }
.brand span em { color: var(--accent); font-style: normal; }

/* Hamburger */
#nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle-label svg { display: block; }

.main-nav ul {
  display: flex;
  gap: .25rem;
}
.main-nav a {
  color: #ccc;
  padding: .45rem .85rem;
  border-radius: var(--radius);
  font-size: .95rem;
  transition: background .2s, color .2s;
  text-decoration: none;
  display: block;
}
.main-nav a:hover,
.main-nav a.active { background: var(--accent); color: #fff; }

@media(max-width:768px){
  .nav-toggle-label { display: flex; align-items: center; }
  .main-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  #nav-toggle:checked ~ .main-nav { max-height: 340px; }
  .main-nav ul { flex-direction: column; padding: .5rem 1.25rem 1rem; gap: 0; }
  .main-nav a { padding: .7rem .5rem; border-bottom: 1px solid #333; border-radius: 0; }
}

/* ===== HERO ===== */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(244,67,54,.04) 40px,
    rgba(244,67,54,.04) 80px
  );
}
.hero-content { position: relative; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: #bdbdbd;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(244,67,54,.35); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 18px rgba(244,67,54,.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ===== SECTION WRAPPER ===== */
.section { padding: 4.5rem 1.25rem; }
.section-alt { background: #f5f5f5; }
.section-dark { background: var(--primary); color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 800; margin-bottom: .6rem; }
.section-header p { color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.section-dark .section-header p { color: #bdbdbd; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  border-top: 3px solid var(--accent);
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-card .icon { margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { font-size: .93rem; color: var(--text-muted); }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item { padding: 1.5rem 1rem; }
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label { font-size: .9rem; color: #bdbdbd; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.testimonial-card blockquote { font-size: .97rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .95rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; }
.author-role { font-size: .8rem; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 4rem 1.25rem;
}
.cta-section h2 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; margin-bottom: .75rem; }
.cta-section p { margin-bottom: 1.75rem; opacity: .9; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; }
.btn-white:hover { background: #ffebee; }

/* ===== ABOUT PAGE ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-intro .text h2 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; margin-bottom: 1rem; }
.about-intro .text p { color: var(--text-muted); margin-bottom: .8rem; }
.about-visual {
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  min-height: 260px;
}
@media(max-width:768px){ .about-intro { grid-template-columns: 1fr; } }

.milestones { position: relative; padding-left: 1.5rem; }
.milestones::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.milestone {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}
.milestone::before {
  content: '';
  position: absolute;
  left: -5px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.milestone strong { display: block; font-size: .85rem; color: var(--accent); margin-bottom: .2rem; }
.milestone p { font-size: .93rem; color: var(--text-muted); }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media(max-width:600px){ .vm-grid { grid-template-columns: 1fr; } }
.vm-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.vm-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; color: var(--accent); }
.vm-card ul { padding-left: 1.1rem; list-style: disc; }
.vm-card ul li { font-size: .93rem; color: var(--text-muted); margin-bottom: .3rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.team-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent);
}
.team-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.team-card p { font-size: .85rem; color: var(--text-muted); }
.team-card .role { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }

.cert-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.cert-badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.cert-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ===== LAYANAN PAGE ===== */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2rem;
}
@media(max-width:680px){ .layanan-grid { grid-template-columns: 1fr; } }
.layanan-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  border-top: 4px solid var(--accent);
}
.layanan-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.layanan-card .icon { margin-bottom: 1.1rem; }
.layanan-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.layanan-card > p { color: var(--text-muted); margin-bottom: 1rem; font-size: .95rem; }
.layanan-card ul { padding-left: 0; }
.layanan-card ul li {
  padding: .3rem 0 .3rem 1.3rem;
  position: relative;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid #f0f0f0;
}
.layanan-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.layanan-card .price-tag {
  display: inline-block;
  margin-top: 1rem;
  background: #ffebee;
  color: var(--accent-dark);
  font-size: .85rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 20px;
}

/* ===== PORTOFOLIO PAGE ===== */
/* CSS-only filter */
.filter-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; justify-content: center; }
.filter-controls input[type=radio] { display: none; }
.filter-controls label {
  padding: .4rem 1rem;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  font-weight: 500;
}
.filter-controls input[type=radio]:checked + label {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.portfolio-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.portfolio-thumb {
  height: 160px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-cat-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.portfolio-info { padding: 1.25rem; }
.portfolio-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.portfolio-info .meta { font-size: .82rem; color: var(--text-muted); margin-bottom: .6rem; }
.portfolio-info p { font-size: .9rem; color: var(--text-muted); }
.portfolio-info .result {
  margin-top: .75rem;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: .82rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 4px;
  display: inline-block;
}

/* ===== KONTAK PAGE ===== */
.kontak-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
@media(max-width:768px){ .kontak-grid { grid-template-columns: 1fr; } }
.kontak-info h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.info-icon { flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .15rem; }
.info-value { font-size: .95rem; font-weight: 500; }
.map-placeholder {
  margin-top: 1.5rem;
  background: #e0e0e0;
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder .map-label {
  position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: .78rem;
  padding: .2rem .7rem; border-radius: 12px;
}

/* Contact form */
.form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: .35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,67,54,.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-full { width: 100%; justify-content: center; padding: .9rem; font-size: 1rem; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: .5rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: #bdbdbd;
  padding: 3rem 1.25rem 1.5rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}
@media(max-width:680px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: .75rem; display: inline-flex; }
.footer-brand p { font-size: .88rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { color: #bdbdbd; font-size: .88rem; text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: .82rem;
  color: #616161;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero p { color: #bdbdbd; max-width: 540px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: #757575; margin-bottom .75rem; }
.breadcrumb a { color: #aaa; }
.breadcrumb a:hover { color: #fff; }

/* Utility */
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
