/*
Theme Name: CloudOva
Theme URI: https://cloudova.org
Author: CloudOva
Description: Custom marketing theme for CloudOva — cloud-first IT MSP.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: cloudova
*/

@font-face {
  font-family: 'Tektur';
  src: url('fonts/Tektur-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --navy: #1b2c7e;
  --navy-deep: #12205e;
  --ink: #1c2440;
  --muted: #5a6482;
  --cyan: #29abe2;
  --cyan-soft: #e6f5fc;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #dfe5f0;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tektur', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}

img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; color: var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-logo img { height: 40px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--ink); font-size: 15px; font-weight: 500;
}
.site-nav a:hover { color: var(--cyan); }
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-cyan { background: var(--cyan); }
.btn-cyan:hover { background: #1e93c6; }
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn-ghost:hover { background: var(--cyan-soft); }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 96px 0 72px;
  background:
    radial-gradient(600px 320px at 50% -80px, var(--cyan-soft), transparent 70%),
    var(--bg);
}
.kicker {
  display: inline-block;
  color: var(--cyan);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero p {
  max-width: 640px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 19px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- platform strip ---------- */
.platforms { padding: 26px 0 10px; }
.platforms .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.platforms .label {
  color: var(--muted); font-size: 14px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.chip {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17.5px; }

/* ---------- cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(27, 44, 126, 0.09);
  transform: translateY(-2px);
}
.card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft);
  border-radius: 12px;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--navy); }
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- extras (navy band) ---------- */
.extras { background: var(--navy); }
.extras .section-head h2 { color: #fff; }
.extras .section-head p { color: #b9c4ea; }
.extras .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.extras .card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.extras .card .icon { background: rgba(41, 171, 226, 0.16); }
.extras .card .icon svg { stroke: var(--cyan); }
.extras .card h3 { color: #fff; }
.extras .card p { color: #b9c4ea; }

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: center;
}
.why-grid h3 { font-size: 18.5px; margin-bottom: 8px; }
.why-grid p { color: var(--muted); font-size: 15.5px; }
.why-grid .num {
  font-size: 15px; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.14em; margin-bottom: 10px;
}

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.contact p { color: var(--muted); font-size: 17.5px; max-width: 560px; margin: 0 auto 30px; }
.contact .email-note { font-size: 15px; margin-top: 18px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.site-footer img { height: 30px; width: auto; }
.site-footer p { color: var(--muted); font-size: 14px; }

/* ---------- fallback content (index.php) ---------- */
.page-plain { padding: 60px 0; }
.page-plain h1 { margin-bottom: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 52px; }
  .section { padding: 60px 0; }
}
