/*
Theme Name: Darksky Ops
Author: Darksky Ops
Description: Ultra-lightweight single-page cybersecurity theme for Darksky Ops Network Penetration Testing.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: darkskyops
*/

/* =========================================================
   CSS VARIABLES
   ========================================================= */
:root {
  --color-bg:         #060c14;
  --color-bg-2:       #0a1220;
  --color-bg-3:       #0d1829;
  --color-bg-card:    #0b1524;
  --color-border:     #1a2d47;
  --color-blue:       #0066ff;
  --color-blue-mid:   #67b3ff;
  --color-blue-light: #3da2ff;
  --color-accent:     #4ab3ff;
  --color-text:       #ffffff;
  --color-muted:      #8da8c4;
  --color-dark-fg:    #a0b8cc;
  --font-heading:     'Orbitron', monospace;
  --font-body:        'Inter', sans-serif;
  --max-width:        1280px;
  --section-pad:      80px 0;
  --header-height: 110px;  /* set this to your logo height + topbar padding */
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.site-topbar {
  background: transparent;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-contact {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-blue-mid);
  letter-spacing: 0.02em;
}

/* Desktop logo size */
.site-logo-img {
  height: 180px;
  width: auto;
  display: block;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

/* 1. Reduce the height to stop the excessive zooming */
.hero-section {
  position: relative;
  min-height: 80vh; /* Reduced from 80vh */
  display: flex;             
  align-items: center;       
  justify-content: flex-start; 
  overflow: hidden;
  padding-top: var(--header-height);
}

/* ... keep your hero-bg-image and hero-overlay CSS exactly as is ... */

.hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;               /* Ensure container takes full width up to max-width */
  max-width: var(--max-width); /* Using your variable for consistency */
  margin: 0 auto;            
  padding-left: 30px;        
  padding-right: 20px;
  text-align: left;          /* Force text inside to align left */
}

/* 2. Shift the focal point to keep the dome in frame */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%; /* Changed from 'center center' to pin it nearer to the top */
  z-index: 0;
}

/* OVERLAY (THIS FIXES YOUR ISSUE) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    /* Cloud/wisp blobs at the transition edge */
    radial-gradient(ellipse 28% 55% at 53% 20%, rgba(6,12,20,0.65) 0%, transparent 100%),
    radial-gradient(ellipse 22% 35% at 50% 78%, rgba(6,12,20,0.55) 0%, transparent 100%),
    radial-gradient(ellipse 18% 25% at 56% 50%, rgba(6,12,20,0.40) 0%, transparent 100%),
    radial-gradient(ellipse 32% 70% at 48% 45%, rgba(6,12,20,0.30) 0%, transparent 100%),
    /* Solid left panel fading into image */
    linear-gradient(
      to right,
      rgba(6,12,20,1)    0%,
      rgba(6,12,20,1)    30%,
      rgba(6,12,20,0.95) 38%,
      rgba(6,12,20,0.75) 46%,
      rgba(6,12,20,0.35) 56%,
      rgba(6,12,20,0.08) 66%,
      rgba(6,12,20,0)    72%
    );
}

/* CONTENT ON TOP */

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-blue-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 0;
}
.hero-headline .accent {
  color: var(--color-blue-light);
  display: block;
  text-shadow: 0 0 12px rgba(61,162,255,0.4);
}
.hero-sub {
  margin-top: 22px;
  font-size: 14px;
  color: var(--color-muted);
  max-width: 380px;
  line-height: 1.7;
}

@media (max-width: 768px) {

  /* Keep topbar floating over the hero — no separate space */
  .site-topbar {
    position: absolute !important;
    padding: 12px 0 !important;
  }

  .logo-icon  { width: 38px !important; height: 38px !important; }
  .logo-text  { font-size: 16px !important; }
  .topbar-contact { display: none; }

  /* Hero: shorter height, content centered vertically */
  .hero-section {
    min-height: 70vh !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 70px !important;   /* clears the absolute topbar */
    padding-bottom: 40px !important;
  }

  .hero-section .container {
    position: relative !important;
    z-index: 2 !important;
    padding: 20px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-eyebrow  { font-size: 10px !important; margin-bottom: 8px !important; }
  .hero-headline { font-size: 28px !important; line-height: 1.2 !important; }
  .hero-sub      { font-size: 13px !important; margin-top: 10px !important; max-width: 100% !important; }

  /* Also strengthen the overlay on mobile so text is readable */
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(6,12,20,0.75) 0%,
      rgba(6,12,20,0.60) 50%,
      rgba(6,12,20,0.25) 100%
    ) !important;
  }
  
  .hero-bg-image {
  object-position: 80% 30%;  /* 65% horizontal, 30% vertical shows upper portion */
}

.site-logo-img {
    height: 130px !important;
    width: auto !important;
  }
}

/* =========================================================
   SECTION SHARED
   ========================================================= */
.section-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.1;
}

/* =========================================================
   MISSION SECTION
   ========================================================= */
.mission-section {
  background: var(--color-bg-2);
  padding: var(--section-pad);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.mission-text p {
  font-size: 14px;
  color: var(--color-dark-fg);
  line-height: 1.75;
  max-width: 440px;
}
.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.value-icon {
  width: 44px;
  height: 44px;
  color: var(--color-blue-light);
}
.value-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.value-desc {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services-section {
  background: var(--color-bg);
  padding: var(--section-pad);
}
.services-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 0px;
  align-items: center;
}
.services-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-dark-fg);
}
.services-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue-light);
  flex-shrink: 0;
}
.services-sub {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.services-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: block;
}
 

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  padding: 30px 0;
}
.cta-box {
  border: 1px solid var(--color-border);
  background: var(--color-bg-3);
  border-radius: 4px;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cta-icon {
  width: 40px;
  height: 40px;
  color: var(--color-blue-light);
  flex-shrink: 0;
}
.cta-label {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2vw, 19px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #fff;
}
.cta-sub {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}
.cta-email {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--color-blue-light);
  letter-spacing: 0.04em;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .mission-inner,
  .services-inner,
  .brand-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mission-values {
    grid-template-columns: repeat(3,1fr);
  }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 28px;
  }

@media (max-width: 600px) {
  :root { --section-pad: 50px 0; }
  .mission-values {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .logo-variants-grid { flex-wrap: wrap; }
  .brand-inner { gap: 30px; }
  .cta-box { padding: 22px 18px; }
  .files-grid { flex-wrap: wrap; }
}
