/*
Theme Name: Adyaka InfoSec Theme
Theme URI: https://adyakainfosec.com/
Author: Adyaka InfoSec
Author URI: https://adyakainfosec.com/
Description: ACF-ready WordPress theme for Adyaka InfoSec with editable homepage slider and widgetized CTA/footer.
Version: 1.1.0
License: GPL-2.0-or-later
Text Domain: adyaka
*/

:root {
  --primary: #12007a;
  --accent: #0b4aa6;
  --bg: #f3f6ff;
  --surface: #ffffff;
  --text: #12203f;
  --muted: #5d6c8c;
  --border: #d8e0f2;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(18, 0, 122, 0.15);
  --max: 1150px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), 92vw); margin: 0 auto; }

.top-strip {
  background: #09101e;
  color: #dbe7ff;
  font-size: .9rem;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
}
.top-strip p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--primary);
}
.brand img { width: 42px; height: 42px; }
.site-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.site-nav a { text-decoration: none; font-weight: 700; }
.site-nav .current-menu-item a,
.site-nav a:hover { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.header-cta {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: .4rem .7rem;
}

.hero-slider-wrap { position: relative; padding-bottom: 4.5rem; }
.adyaka-swiper .swiper-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
}
.hero-grid { display: grid; grid-template-columns: 1fr; }
.hero-copy {
  max-width: 760px;
  color: #fff;
  padding: 2.5rem 0;
}
.eyebrow { color: #b3dcff; font-weight: 700; font-size: 1.2rem; margin-bottom: .5rem; }
.hero-copy h1 {
  margin: 0 0 .85rem;
  line-height: 1.1;
  font-size: clamp(2rem, 5vw, 4rem);
}
.hero-copy p { margin: 0; font-size: 1.12rem; }
.cta-row { margin-top: 1.2rem; }
.button {
  display: inline-block;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button.primary { background: var(--accent); color: #fff; }

.adyaka-swiper .swiper-button-prev,
.adyaka-swiper .swiper-button-next {
  color: #fff;
  width: 44px;
  height: 44px;
  background: rgba(11, 74, 166, .88);
  border-radius: 999px;
}
.adyaka-swiper .swiper-pagination-bullet-active { background: #fff; }

.services-floating {
  margin-top: -3.6rem;
  position: relative;
  z-index: 4;
}
.services-floating .widget,
.service-fallback-grid .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.service-fallback-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.widget-area .widget-title { margin-top: 0; color: var(--primary); }

.section { padding: 3.4rem 0; }
.section h2 { margin: 0 0 .4rem; }
.lead { color: var(--muted); margin-top: 0; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid-3 .widget,
.grid-3 .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.inner-hero { padding: 3rem 0 2rem; background: linear-gradient(135deg, #edf2ff, #fff); border-bottom: 1px solid var(--border); }
.entry-content { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }

.site-footer {
  margin-top: 2rem;
  background: #0d1530;
  color: #dce6ff;
  padding: 2.2rem 0 1rem;
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.footer-widgets .widget {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1rem;
}
.footer-widgets .widget-title { color: #fff; }
.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto;
  }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; grid-column: 1 / -1; }
  .site-nav.open { display: block; }
  .site-nav .menu { flex-direction: column; align-items: flex-start; padding: .5rem 0; }
  .header-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .service-fallback-grid,
  .grid-3,
  .footer-widgets { grid-template-columns: 1fr; }
  .top-strip-inner { flex-direction: column; }
}
