/*
Theme Name: ID7
Theme URI: https://id7.dev/
Author: ID7 LLC
Description: A minimal full-site-editing WordPress block theme for ID7 LLC, focused on web development, infrastructure, automation and cybersecurity.
Version: 1.0.4
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: id7
*/

:root {
  --id7-bg: #08111f;
  --id7-bg-alt: #0d1929;
  --id7-surface: #102438;
  --id7-surface-dark: #0a1726;
  --id7-border: #1d3144;
  --id7-cyan: #37c6d0;
  --id7-violet: #7c83ff;
  --id7-text: #f4f7fa;
  --id7-muted: #94a3b8;
  --id7-honey: #ffaa29;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* The front page content comes directly from the WordPress page selected in Settings → Reading. */
.id7-front-page { margin: 0; }
.id7-front-page > .wp-block-post-content { margin-block-start: 0; }

.id7-header {
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  background: rgba(8, 17, 31, .96);
}

.id7-header .wp-block-navigation-item__content {
  text-decoration: none;
}

.id7-header .wp-block-navigation-item__content:hover { color: var(--id7-cyan); }

.id7-site-logo {
  margin: 0;
  line-height: 0;
}

.id7-site-logo img,
.id7-site-logo .custom-logo {
  display: block;
  width: auto !important;
  max-width: 86px;
  max-height: 38px;
  object-fit: contain;
}

.id7-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(8,17,31,.98) 0%, rgba(8,17,31,.94) 34%, rgba(8,17,31,.48) 58%, rgba(8,17,31,.08) 100%),
    url("assets/images/id7-hero.webp");
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.id7-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,17,31,0) 72%, var(--id7-bg) 100%);
}

.id7-hero > .wp-block-group { position: relative; z-index: 1; }

.id7-label {
  color: var(--id7-cyan);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.id7-label-violet { color: var(--id7-violet); }
.id7-label-honey { color: var(--id7-honey); }

.id7-display {
  max-width: 780px;
  font-size: clamp(3.35rem, 7vw, 6.15rem) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
}

.id7-display .accent { color: var(--id7-cyan); }

.id7-lead {
  max-width: 650px;
  color: #a8b6c8;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.id7-section { padding-block: clamp(5rem, 8vw, 7.5rem); }
.id7-section-alt { background: var(--id7-bg-alt); }

.id7-section-title {
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 4.25rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}

.id7-copy {
  color: var(--id7-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.id7-card {
  height: 100%;
  background: linear-gradient(180deg, rgba(16,36,56,.95), rgba(10,23,38,.95));
  border: 1px solid var(--id7-border);
  border-radius: 12px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.id7-card:hover {
  transform: translateY(-4px);
  border-color: rgba(55,198,208,.5);
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.id7-card-number {
  color: var(--id7-cyan);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.id7-card-number.violet { color: var(--id7-violet); }

.id7-visual {
  min-height: 500px;
  border-radius: 16px;
  border: 1px solid var(--id7-border);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.id7-web-visual { background-image: url("assets/images/id7-web-automation.webp"); }
.id7-infra-visual { background-image: url("assets/images/id7-infrastructure.webp"); }

.id7-list { color: #c8d2dc; }
.id7-list li { margin-bottom: .45rem; }
.id7-list li::marker { color: var(--id7-cyan); }

.id7-approach {
  position: relative;
  overflow: hidden;
}

.id7-approach::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,131,255,.12), rgba(55,198,208,.04) 45%, transparent 70%);
  pointer-events: none;
}

.id7-honey-card {
  border: 1px solid rgba(255,170,41,.28);
  border-radius: 14px;
  background: linear-gradient(135deg, #111924, #0d1723);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.id7-honey-title {
  font-size: clamp(2.8rem, 5vw, 4.6rem) !important;
  letter-spacing: -.06em !important;
}
.id7-honey-title .honey { color: var(--id7-honey); }

.id7-cta {
  background:
    radial-gradient(circle at 15% 35%, rgba(55,198,208,.14), transparent 32%),
    radial-gradient(circle at 85% 60%, rgba(124,131,255,.15), transparent 34%),
    var(--id7-surface);
}

.id7-footer {
  border-top: 1px solid var(--id7-border);
  background: #07101c;
}

.wp-element-button {
  transition: transform .15s ease, filter .15s ease;
}
.wp-element-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.id7-primary-button .wp-block-button__link {
  background: var(--id7-cyan);
  color: #07111e;
}

.id7-outline-button .wp-block-button__link {
  background: transparent;
  border: 1px solid #40546a;
  color: var(--id7-text);
}

.id7-honey-button .wp-block-button__link {
  background: var(--id7-honey);
  color: #111;
}

@media (max-width: 781px) {
  .id7-header-inner { gap: 1rem; }
  .id7-hero {
    min-height: 690px;
    background-position: 62% center;
    background-image:
      linear-gradient(90deg, rgba(8,17,31,.98) 0%, rgba(8,17,31,.92) 65%, rgba(8,17,31,.55) 100%),
      url("assets/images/id7-hero.webp");
  }
  .id7-visual { min-height: 360px; }
  .id7-display { font-size: clamp(3rem, 14vw, 4.6rem) !important; }
  .id7-section-title { font-size: clamp(2.3rem, 10vw, 3.4rem) !important; }
}

@media (max-width: 520px) {
  .id7-hero { min-height: 640px; }
  .id7-visual { min-height: 290px; }
}


/* White Page custom template -------------------------------------------------
   Assign "White Page" from the Page > Template control in the editor.
   Only the page content becomes light. The normal dark ID7 header and footer
   are intentionally reused. */
.id7-white-page {
  min-height: 60vh;
  color: #172033;
  background: #fff;
}

.id7-white-page .wp-block-post-title,
.id7-white-page h1,
.id7-white-page h2,
.id7-white-page h3,
.id7-white-page h4,
.id7-white-page h5,
.id7-white-page h6 {
  color: #172033;
}

.id7-white-page p,
.id7-white-page li {
  color: inherit;
}

.id7-white-page a:not(.wp-element-button) {
  color: #168f9a;
}

.id7-white-page hr,
.id7-white-page .wp-block-separator {
  border-color: #dce4ec;
  color: #dce4ec;
}

.id7-white-page blockquote,
.id7-white-page .wp-block-quote {
  color: #344256;
  border-left-color: #37c6d0;
}

.id7-white-page pre,
.id7-white-page code,
.id7-white-page .wp-block-code {
  color: #172033;
  background: #f6f8fb;
}

.id7-white-page .wp-block-table table {
  border-color: #dce4ec;
}

.id7-white-page .wp-block-table th,
.id7-white-page .wp-block-table td {
  border-color: #dce4ec;
}

.id7-white-page .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #172033;
  color: #fff;
}

.id7-white-page .wp-block-button.is-style-outline .wp-block-button__link {
  color: #172033;
  border-color: #172033;
}
