/*
Theme Name: MG KOOP Full Theme
Theme URI: https://example.com/
Author: OpenAI
Description: Custom WordPress theme for MG KOOP d.o.o. built from approved mockup and client-provided references/photos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mgkoop
*/

:root {
  --navy: #163a63;
  --navy-dark: #0f2a47;
  --navy-soft: #244d7a;
  --orange: #f28c28;
  --orange-dark: #dc7a1f;
  --bg: #f5f7fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --line: #e5e7eb;
  --shadow: 0 16px 42px rgba(15,42,71,.12);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-main { min-height: 60vh; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-light { background: var(--bg); }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:34px; }
.section-head h2 { margin: 0 0 10px; color: var(--navy-dark); font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.section-head p { margin:0; max-width:700px; color:var(--muted); font-size:17px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.8px; font-size: 12px; font-weight: 700; color: var(--orange); margin-bottom: 10px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:14px 22px; border-radius:12px; font-weight:700; transition:.2s ease; }
.btn-primary { background: var(--orange); color:#fff; box-shadow: 0 10px 24px rgba(242,140,40,.25); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.2); }
.btn-secondary:hover { background: rgba(255,255,255,.22); }
.card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 28px; }
.topbar { position: sticky; top:0; z-index: 50; background: rgba(15,42,71,.88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { min-height: 78px; display:flex; align-items:center; justify-content:space-between; gap:24px; color:#fff; }
.branding { display:flex; align-items:center; gap:14px; }
.brand-badge { width:44px; height:44px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), #f7aa59); color:#fff; display:grid; place-items:center; font-weight:800; }
.brand-title { font-weight:800; font-size:30px; letter-spacing:.4px; white-space: nowrap; }
.brand-title small { font-size: 16px; opacity: .92; }
.nav-menu { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.nav-menu a { opacity:.94; }
.nav-menu a:hover { opacity:1; }
.hero { position:relative; min-height: 86vh; display:flex; align-items:center; color:#fff; background: linear-gradient(90deg, rgba(10,27,46,.90) 0%, rgba(10,27,46,.72) 42%, rgba(10,27,46,.35) 100%), url('assets/images/image10.jpeg') center/cover no-repeat; }
.hero-grid { display:grid; grid-template-columns: 1.18fr .82fr; gap: 42px; align-items:center; padding: 70px 0; }
.hero h1 { margin:0 0 16px; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -1px; max-width: 760px; }
.hero p.lead { margin:0 0 28px; font-size:20px; max-width:680px; color: rgba(255,255,255,.92); }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 34px; }
.hero-points { display:grid; grid-template-columns: repeat(3, minmax(120px,1fr)); gap:16px; max-width:760px; }
.hero-point { background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:16px; padding:18px 16px; }
.hero-point strong { display:block; font-size:26px; margin-bottom:6px; }
.hero-card img { width:100%; height:270px; object-fit:cover; }
.hero-card-content { padding:24px; }
.hero-card h3 { margin:0 0 8px; color: var(--navy); font-size:24px; }
.hero-card p { margin:0; color:var(--muted); }
.about-grid { display:grid; grid-template-columns: 1fr 1fr; gap:36px; }
.about-image { min-height:100%; background: url('assets/images/image11.jpeg') center/cover no-repeat; }
.about-list { list-style:none; padding:0; margin:22px 0 0; display:grid; gap:14px; }
.about-list li { padding-left:18px; position:relative; color:#374151; }
.about-list li:before { content:''; position:absolute; left:0; top:10px; width:8px; height:8px; border-radius:50%; background: var(--orange); }
.services-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.service { background:#fff; border:1px solid var(--line); border-radius:18px; padding:26px; box-shadow: 0 10px 24px rgba(15,42,71,.06); transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon { width:58px; height:58px; border-radius:14px; background: rgba(22,58,99,.08); color:var(--navy); display:grid; place-items:center; font-size:28px; margin-bottom:18px; }
.service h3 { margin:0 0 10px; color:var(--navy-dark); font-size:22px; }
.service p { margin:0; color:var(--muted); }
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.stat { background: linear-gradient(180deg, var(--navy), var(--navy-dark)); color:#fff; border-radius:20px; padding:28px; box-shadow:var(--shadow); }
.stat strong { display:block; font-size:42px; line-height:1; margin-bottom:8px; }
.stat span { color: rgba(255,255,255,.88); font-size: 15px; }
.references-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.project { background:#fff; border-radius:20px; overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--line); }
.project img { width:100%; height:230px; object-fit:cover; }
.project-body { padding:22px; }
.project h3 { margin:0 0 8px; color: var(--navy-dark); font-size: 22px; }
.project p { margin:0 0 14px; color:var(--muted); font-size:15px; }
.tags { display:flex; flex-wrap:wrap; gap:10px; }
.tag { padding:8px 12px; border-radius:999px; background: rgba(22,58,99,.08); color: var(--navy); font-size:13px; font-weight:700; }
.gallery-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.gallery-item { border-radius: 18px; overflow:hidden; box-shadow: var(--shadow); min-height:210px; background:#ddd; }
.gallery-item img { width:100%; height:100%; object-fit:cover; }
.team-wrap { display:grid; grid-template-columns: 1.05fr .95fr; gap:26px; align-items:stretch; }
.team-panel { background: linear-gradient(180deg, var(--navy), var(--navy-dark)); color:#fff; border-radius:22px; padding:34px; box-shadow: var(--shadow); }
.team-stats { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:26px; }
.team-stat { padding:20px; border-radius:16px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); }
.team-stat strong { display:block; font-size:34px; margin-bottom:8px; }
.team-image { min-height:420px; border-radius:22px; overflow:hidden; box-shadow: var(--shadow); background: url('assets/images/image15.jpeg') center/cover no-repeat; }
.contact-wrap { display:grid; grid-template-columns: .95fr 1.05fr; gap:28px; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow: var(--shadow); padding:30px; }
.contact-list { display:grid; gap:18px; margin-top:24px; }
.contact-item { display:flex; gap:14px; align-items:flex-start; }
.contact-bullet { width:44px; height:44px; border-radius:12px; background: rgba(242,140,40,.12); color:var(--orange); display:grid; place-items:center; font-size:20px; flex-shrink:0; }
.contact-item strong { display:block; margin-bottom:4px; color: var(--navy-dark); }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.field, textarea { width:100%; border:1px solid #d1d5db; border-radius:12px; padding:14px; font: inherit; background:#fff; }
textarea { min-height:140px; resize:vertical; grid-column:1/-1; }
.form-actions { margin-top:16px; }
.certifications { display:grid; grid-template-columns: repeat(2,1fr); gap:22px; align-items:center; }
.cert-box { background:#fff; border:1px solid var(--line); box-shadow: var(--shadow); border-radius:22px; padding:24px; text-align:center; }
.cert-box img { max-height: 120px; margin: 0 auto 14px; width:auto; }
.map { margin-top:28px; border-radius:20px; overflow:hidden; height:260px; border:1px solid var(--line); box-shadow: var(--shadow); background: linear-gradient(rgba(22,58,99,.1), rgba(22,58,99,.1)), url('assets/images/image14.jpeg') center/cover no-repeat; display:grid; place-items:center; color: var(--navy-dark); font-size: 22px; font-weight:800; text-align:center; padding:24px; }
.entry-content { padding: 70px 0; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--navy-dark); }
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.9); padding: 26px 0; font-size:14px; }
.footer-row { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
@media (max-width:1080px) {
  .hero-grid, .about-grid, .team-wrap, .contact-wrap, .section-head { grid-template-columns:1fr; }
  .services-grid, .references-grid, .stats, .team-stats, .gallery-grid, .certifications { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:720px) {
  .container { width: min(var(--container), calc(100% - 26px)); }
  .nav { flex-direction:column; justify-content:center; padding:14px 0; }
  .nav-menu { justify-content:center; gap:14px; font-size:14px; }
  .hero { min-height:auto; }
  .hero-grid { padding:54px 0; }
  .hero p.lead { font-size:18px; }
  .hero-points, .services-grid, .references-grid, .stats, .team-stats, .gallery-grid, .form-grid, .certifications { grid-template-columns:1fr; }
  .section { padding:72px 0; }
}
