/*
Theme Name: Umut Can Cloud
Theme URI: https://umutcan.cloud
Author: Umut Can
Description: A clean one-page WordPress theme for the HA WordPress demo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Text Domain: umutcan-cloud
*/

:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --ink: #17202a;
  --muted: #5d6978;
  --line: #dce2ea;
  --brand: #1769e0;
  --brand-dark: #0f4da8;
  --accent: #14a78c;
  --warm: #f4b942;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--brand);
}

.hero {
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 50%, #edf9f6 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 24px rgba(23, 105, 224, 0.25);
}

.button.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.system-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.dot:nth-child(1) {
  background: #ef6b5a;
}

.dot:nth-child(2) {
  background: var(--warm);
}

.dot:nth-child(3) {
  background: var(--accent);
}

.panel-body {
  padding: 24px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #e9f8f4;
  color: #087562;
  font-weight: 800;
  font-size: 0.9rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(20, 167, 140, 0.14);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-block {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-block h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.about-block p {
  margin-bottom: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 230px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 224, 0.35);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--brand);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-band {
  margin-bottom: 84px;
  background: var(--ink);
  color: white;
}

.contact-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.contact-inner h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.contact-inner p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-inner,
  .about-grid,
  .services-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 48px;
  }

  .section {
    padding: 64px 0;
  }

  .contact-inner {
    align-items: start;
  }

  .footer-inner {
    flex-direction: column;
  }
}
