/*
Theme Name: ZoneITX OCS Style
Theme URI: https://example.com/
Author: ZoneITX
Author URI: https://example.com/
Description: Clean, conversion-focused theme for alarm and CCTV installers, inspired by leading UK alarm sites.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zoneitx-ocs
*/

:root {
  --color-bg: #f3f4f6;
  --color-surface: #ffffff;
  --color-border: #e5e7eb;
  --color-text: #0f172a;
  --color-muted: #6b7280;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-highlight: #facc15;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* Header */

.site-header {
  background: #0b1120;
  color: #e5e7eb;
}

.header-top {
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-top-inner a {
  color: #e5e7eb;
}

.header-top-inner strong {
  color: var(--color-highlight);
}

.header-main {
  padding: 0.85rem 0;
}

.header-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-title a {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f9fafb;
}

.site-title span {
  color: var(--color-highlight);
}

.site-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.header-cta-inline {
  font-size: 0.9rem;
  text-align: right;
}

.header-cta-inline .big-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-highlight);
}

/* Nav */

.header-nav {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.main-nav {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0.6rem 0;
}

.main-nav li a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e5e7eb;
}

.main-nav li a:hover,
.main-nav .current-menu-item > a {
  color: var(--color-highlight);
}

.header-nav-cta {
  padding: 0.4rem 0;
}

.header-nav-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.3rem;
  border-radius: 9999px;
  background: var(--color-highlight);
  color: #111827;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Mobile nav */

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #4b5563;
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  color: #e5e7eb;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Hero */

main {
  padding-bottom: 3rem;
}

.hero {
  background: url('http://zoneitx.co.uk/wp-content/uploads/2025/11/background_screens.png') no-repeat center center / cover;
  color: #e5e7eb;
  padding: 2.8rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-highlight);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 0.8rem 0 0.4rem;
}

.hero p {
  margin: 0.4rem 0 1.3rem;
  color: #e5e7eb;
}

.hero-meta {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1.1rem;
}

.hero-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.hero-highlight strong {
  font-size: 1.3rem;
  color: var(--color-highlight);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-highlight);
  color: #111827;
  border-color: var(--color-highlight);
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-outline-light {
  background: transparent;
  border-color: #64748b;
  color: #e5e7eb;
}

.btn-outline-light:hover {
  border-color: var(--color-highlight);
  color: var(--color-highlight);
}

/* Hero feature grid */

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-feature-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.7rem 0.75rem;
  background: rgba(15, 23, 42, 0.6);
  font-size: 0.85rem;
}

/* Main sections */

.section {
  padding: 2.5rem 0 0.5rem;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0.3rem 0 0;
  color: var(--color-muted);
}

/* Feature icon row */

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.icon-card {
  background: var(--color-surface);
  border-radius: 0.9rem;
  border: 1px solid var(--color-border);
  padding: 1.1rem 1rem;
  font-size: 0.9rem;
}

.icon-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Services grid */

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

.card {
  background: var(--color-surface);
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  padding: 1.4rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0.4rem 0 0.7rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Two-column about */

.split-two {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: start;
}

/* FAQ */

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-q {
  font-weight: 600;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Contact band */

.contact-band {
  background: #0f172a;
  color: #e5e7eb;
  padding: 2.2rem 0;
  margin-top: 2.5rem;
}

.contact-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

/* Layout: content + sidebar */

.content-area {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.3fr);
  gap: 2rem;
}

.entry-header h1 {
  margin-bottom: 0.5rem;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.entry-content p {
  margin-bottom: 1rem;
}

/* Widgets */

.widget-area .widget {
  margin-bottom: 1.5rem;
  background: var(--color-surface);
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  padding: 1.25rem;
}

.widget-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  background: #020617;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: #e5e7eb;
}

/* Search form */

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-form .search-field {
  padding: 0.6rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  min-width: 220px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .split-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .icon-row,
  .grid-3,
  .content-area {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top-inner,
  .header-main-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta-inline {
    text-align: left;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    padding-bottom: 0.8rem;
  }
	
	

  .nav-open .main-nav {
    display: flex;
  }

  .header-nav-cta {
    display: none;
  }
}
