/*
Theme Name: Vulcasoft Theme
Theme URI: https://vulcasoft.com
Author: Vulcasoft
Author URI: https://vulcasoft.com
Description: Vulcasoft WordPress migration theme (V1 base skeleton)
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: vulcasoft-theme
*/

:root {
  --vs-bg-page: #061016;
  --vs-bg-base: #0d1820;
  --vs-bg-surface: #14232d;
  --vs-bg-elevated: #1e313f;
  --vs-surface: #121c25;
  --vs-border: rgba(255, 255, 255, 0.1);
  --vs-text: #e8f0f5;
  --vs-text-primary: #d7e8f4;
  --vs-text-secondary: #bed0dc;
  --vs-text-muted: #89a1af;
  --vs-primary: #5ac8a8;
  --vs-primary-strong: #2e9f85;
  --vs-secondary: #79b9ff;
  --vs-secondary-strong: #3f8fdf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--vs-bg-page);
  color: var(--vs-text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.vs-container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.vs-site-header,
.vs-site-footer {
  background: rgba(7, 13, 26, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.vs-site-header .vs-container,
.vs-site-footer .vs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}

.vs-main {
  min-height: calc(100vh - 144px);
  padding: 0;
}

.vs-brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.vs-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vs-nav ul {
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.58rem 0.52rem;
  gap: 0.26rem;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  cursor: pointer;
}

.vs-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.vs-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.vs-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.vs-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.vs-nav a {
  color: var(--vs-text-secondary);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.vs-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.vs-hero {
  border-radius: 1.2rem;
  border: 1px solid var(--vs-border);
  background: var(--vs-bg-surface);
  padding: 2.2rem;
}

.vs-muted {
  color: var(--vs-text-muted);
}

.vs-home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #12232f 0%, #0d1820 42%, #13333f 100%);
}

.vs-home-hero::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 8%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(121, 185, 255, 0.16);
  filter: blur(80px);
}

.vs-home-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 8%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(90, 200, 168, 0.2);
  filter: blur(70px);
}

.vs-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 2rem;
  align-items: center;
  padding: 6.5rem 0 5rem;
}

.vs-home-hero__content {
  max-width: 760px;
}

.vs-home-hero__visual {
  position: relative;
  max-width: 540px;
  margin-left: auto;
}

.vs-hero-art,
.vs-showcase-panel__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.3rem;
  background: rgba(8, 20, 28, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.vs-hero-art::after,
.vs-showcase-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 11, 18, 0.02), rgba(4, 11, 18, 0.24));
  pointer-events: none;
}

.vs-hero-art img,
.vs-showcase-panel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-hero-art img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.vs-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}

.vs-home-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 6.5vw, 3.35rem);
  line-height: 1.1;
}

.vs-home-hero p {
  margin: 0;
  color: var(--vs-text-secondary);
  max-width: 58ch;
}

.vs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.vs-btn--primary {
  background: var(--vs-primary-strong);
  color: #fff;
}

.vs-btn--primary:hover {
  filter: brightness(1.08);
}

.vs-btn--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.vs-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.vs-section {
  padding: 5rem 0;
  background: var(--vs-bg-base);
}

.vs-section--surface {
  background: var(--vs-bg-surface);
}

.vs-section--dark {
  background: #0a1120;
}

.vs-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.2;
}

.vs-grid {
  display: grid;
  gap: 1rem;
}

.vs-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vs-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vs-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vs-card {
  background: var(--vs-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.vs-card--media {
  padding: 0;
  overflow: hidden;
}

.vs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 185, 255, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.vs-card__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 20, 28, 0.72);
}

.vs-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.vs-card__body {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.vs-card--media:hover .vs-card__media img {
  transform: scale(1.03);
}

.vs-card h3,
.vs-card h4 {
  margin: 0 0 0.65rem;
  color: #fff;
}

.vs-card p {
  margin: 0;
  color: var(--vs-text-secondary);
  font-size: 0.92rem;
}

.vs-card + .vs-card {
  margin-top: 0;
}

.vs-media-request {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: linear-gradient(145deg, rgba(121, 185, 255, 0.08), rgba(90, 200, 168, 0.08));
}

.vs-media-placeholder {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(8, 20, 28, 0.72);
  color: var(--vs-text-muted);
  text-align: center;
  padding: 1rem;
}

.vs-media-note {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  color: var(--vs-text-muted);
}

.vs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.vs-chip {
  border-radius: 999px;
  background: var(--vs-bg-elevated);
  color: var(--vs-text-secondary);
  font-size: 0.74rem;
  padding: 0.2rem 0.58rem;
}

.vs-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.vs-stat {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: rgba(20, 27, 43, 0.65);
  text-align: center;
  padding: 1.6rem 1rem;
}

.vs-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1;
}

.vs-stat span {
  display: block;
  margin-top: 0.5rem;
  color: var(--vs-text-secondary);
  font-size: 0.85rem;
}

.vs-cta {
  text-align: center;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 27, 43, 0.75);
  padding: 2.7rem 1.4rem;
}

.vs-cta p {
  margin: 0.8rem auto 0;
  max-width: 60ch;
  color: var(--vs-text-secondary);
}

.vs-showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 1.4rem;
  align-items: center;
}

.vs-showcase-panel--media-first {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
}

.vs-showcase-panel__content p {
  color: var(--vs-text-secondary);
}

.vs-showcase-panel__content .vs-chip-row {
  margin-top: 1rem;
}

.vs-showcase-panel__media img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.vs-footer-note {
  color: var(--vs-text-muted);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .vs-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vs-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vs-site-header .vs-container,
  .vs-site-footer .vs-container {
    min-height: 64px;
  }

  .vs-nav-toggle {
    display: inline-flex;
  }

  .vs-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(320px, calc(100vw - 1.25rem));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    background: rgba(12, 19, 34, 0.98);
    padding: 0.6rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 30;
  }

  .vs-nav.vs-nav--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .vs-nav .vs-nav__list {
    display: grid;
    gap: 0.3rem;
  }

  .vs-nav .vs-nav__list a {
    display: block;
    padding: 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.95rem;
  }

  .vs-home-hero__inner {
    grid-template-columns: 1fr;
    padding: 5.4rem 0 4rem;
  }

  .vs-home-hero__visual {
    max-width: none;
    margin-left: 0;
  }

  .vs-showcase-panel {
    grid-template-columns: 1fr;
  }

  .vs-section {
    padding: 3.6rem 0;
  }

  .vs-card {
    padding: 1.2rem;
  }

  .vs-card--media {
    padding: 0;
  }

  .vs-actions {
    width: 100%;
  }

  .vs-actions .vs-btn {
    width: 100%;
  }

  .vs-grid--2,
  .vs-grid--3,
  .vs-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-card,
  .vs-card__media img,
  .vs-btn,
  .vs-nav,
  .vs-nav a {
    transition: none;
  }
}
