/* ========================================
   GLX PORTFOLIO
   VISUAL SYSTEM
========================================= */

:root {
  --bg: #070b12;
  --bg-soft: #0b111b;
  --panel: #0f1723;
  --panel-soft: #111c2b;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 119, 255, 0.28);

  --white: #f7f9fc;
  --text: #c8d2df;
  --muted: #7f8da0;

  --blue: #0077ff;
  --blue-bright: #1185ff;
  --blue-soft: rgba(0, 119, 255, 0.12);

  --font-main: Arial, Helvetica, sans-serif;
  --font-display: "Arial Black", Impact, Haettenschweiler, sans-serif;

  --container: 1240px;
}


/* ========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}


/* ========================================
   HEADER
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 185px;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.14);
}

.brand-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--blue-bright);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 30px 0 27px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d2dd;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  width: 100%;
}


/* ========================================
   HERO
========================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);

  background:
    radial-gradient(circle at 78% 38%, rgba(0, 119, 255, 0.13), transparent 24%),
    linear-gradient(180deg, #070b12 0%, #08101a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 48px 48px;
}

/* ========================================
   HERO TECH GRAPHIC
========================================= */

.hero-tech {
  position: absolute;
  top: 0;
  right: 0;

  width: 58%;
  height: 100%;

  overflow: hidden;
  pointer-events: none;

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.25) 15%,
    black 42%,
    black 100%
  );
}

.hero-tech-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);

  background-size: 38px 38px;

  opacity: 0.42;
}

.hero-tech-logo {
  position: absolute;
  top: 50%;
  left: 54%;

  width: min(72%, 720px);
  height: auto;

  transform: translate(-50%, -50%);

  opacity: 0.28;

  filter:
    drop-shadow(0 0 28px rgba(0, 119, 255, 0.08));

  z-index: 3;
}


/* TECH RINGS */

.hero-tech-ring {
  position: absolute;

  top: 50%;
  left: 54%;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;

  transform: translate(-50%, -50%);

  z-index: 1;
}

.ring-one {
  width: 360px;
  height: 360px;
}

.ring-two {
  width: 470px;
  height: 470px;
  border-color: rgba(0, 119, 255, 0.08);
}

.ring-three {
  width: 590px;
  height: 590px;
  border-color: rgba(255, 255, 255, 0.035);
}


/* TECH DOTS */

.tech-dot {
  position: absolute;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: rgba(160, 187, 220, 0.55);

  box-shadow:
    0 0 10px rgba(0, 119, 255, 0.3);

  z-index: 4;
}

.dot-one {
  top: 26%;
  left: 35%;
}

.dot-two {
  top: 65%;
  left: 82%;
}

.dot-three {
  top: 77%;
  left: 47%;
}

.dot-four {
  top: 34%;
  left: 90%;
}


/* TECH LINES */

.tech-line {
  position: absolute;

  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(115, 150, 190, 0.32),
    transparent
  );

  transform-origin: left center;

  z-index: 2;
}

.line-one {
  top: 31%;
  left: 32%;
  width: 240px;
  transform: rotate(18deg);
}

.line-two {
  top: 69%;
  left: 49%;
  width: 290px;
  transform: rotate(-24deg);
}

.tech-line {
  opacity: 0.7;
}

.hero-tech::before,
.hero-tech::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(120, 155, 195, 0.10);
  transform: rotate(45deg);
}

.hero-tech::before {
  top: 18%;
  right: 15%;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.hero-tech::after {
  bottom: 16%;
  left: 28%;
  border-right-color: transparent;
  border-top-color: transparent;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 120px;
}

.hero-eyebrow,
.section-eyebrow {
  position: relative;
  margin: 0 0 24px;
  padding-left: 66px;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--blue-bright);
}

.hero-eyebrow::before,
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 42px;
  height: 2px;
  transform: translateY(-50%);
  background: var(--blue);
}

.hero h1 {
  max-width: 1050px;
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(4.2rem, 6.5vw, 6.6rem);  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;

  color: var(--white);
}

.hero h1 span {
  display: block;
  margin-top: 6px;
  color: var(--blue);
}

.hero-description {
  max-width: 680px;
  margin: 30px 0 0;

  font-size: 1.06rem;
  line-height: 1.75;

  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}


/* ========================================
   BUTTONS
========================================= */

.btn {
  min-height: 52px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #006cff, #1185ff);
  color: white;
  box-shadow: 0 0 28px rgba(0, 119, 255, 0.16);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b7bff, #1a8cff);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.015);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}


/* ========================================
   SECTION BASE
========================================= */

.projects-section,
.about-section,
.contact-section {
  position: relative;
}

.projects-section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.software-section {
  background: var(--bg-soft);
}

.section-heading {
  margin-bottom: 52px;

  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: end;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 4.3rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;

  color: var(--white);
}

.section-heading h2 span,
.about-section h2 span,
.contact-section h2 span {
  color: var(--blue);
}

.section-intro {
  margin: 0;
  max-width: 560px;

  font-size: 0.98rem;
  line-height: 1.75;

  color: var(--muted);
}


/* ========================================
   WEBSITE PROJECT GRID
========================================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.01), transparent),
    var(--panel);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 9;

  background:
    linear-gradient(135deg, rgba(0, 119, 255, 0.08), transparent),
    #0b121c;

  background-position: center;
  background-size: cover;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;

  background: linear-gradient(
    to top,
    rgba(7, 11, 18, 0.85),
    transparent
  );
}

.project-image-summit {
  background-image:
    linear-gradient(to top, rgba(7,11,18,0.35), rgba(7,11,18,0.04)),
    url("../assets/images/projects/summit-roofing.jpg");
}

.project-status {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;

  padding: 8px 10px;

  border: 1px solid rgba(0, 119, 255, 0.28);
  background: rgba(7, 11, 18, 0.82);

  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  color: var(--blue-bright);
}

.project-content {
  padding: 26px;
}

.project-meta {
  margin-bottom: 16px;

  display: flex;
  justify-content: space-between;
  gap: 18px;

  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;

  color: var(--blue-bright);
}

.project-content h3,
.software-card h3 {
  margin: 0;

  font-size: 1.5rem;
  line-height: 1.2;

  color: var(--white);
}

.project-content p,
.software-card p {
  margin: 14px 0 0;

  font-size: 0.92rem;
  line-height: 1.7;

  color: var(--muted);
}

.project-link {
  display: inline-block;
  margin-top: 22px;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;

  color: var(--blue-bright);
}

.project-link:hover {
  color: var(--white);
}

.project-placeholder {
  opacity: 0.58;
}

/* ========================================
   FEATURED WEBSITE PROJECT
========================================= */

.featured-project {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.featured-project-image {
  position: relative;
  min-width: 0;
  background: #080d15;
  overflow: hidden;
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.featured-project:hover .featured-project-image img {
  transform: scale(1.015);
}

.featured-project-content {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.featured-project-content h3 {
  margin: 0;
  max-width: 420px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  color: var(--white);
}

.featured-project-content > p {
  margin: 20px 0 0;
  max-width: 480px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

.featured-project-details {
  margin-top: 32px;
  padding-top: 26px;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.featured-project-details > div {
  display: grid;
  gap: 6px;
}

.detail-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.detail-value {
  font-size: 0.82rem;
  color: #aab5c4;
}


/* ========================================
   UPCOMING WEBSITE PROJECTS
========================================= */

.upcoming-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.upcoming-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(
      135deg,
      rgba(0, 119, 255, 0.035),
      transparent 45%
    ),
    rgba(15, 23, 35, 0.72);
}

.upcoming-thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: #080f19;
}

.upcoming-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition:
    transform 0.45s ease,
    opacity 0.3s ease;
}

.upcoming-thumbnail:hover img {
  transform: scale(1.025);
  opacity: 0.9;
}

.upcoming-card-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  min-height: 210px;
  padding: 26px 26px 65px;
}

.upcoming-number {
  padding-top: 2px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.upcoming-category {
  display: block;
  margin-bottom: 10px;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;

  color: var(--blue-bright);
}

.upcoming-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--white);
}

.upcoming-card p {
  max-width: 420px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.upcoming-status {
  position: absolute;
  right: 22px;
  bottom: 20px;

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;

  color: #59677a;
}

.upcoming-link {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: #008cff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.upcoming-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.upcoming-link:focus-visible {
  outline: 2px solid #008cff;
  outline-offset: 5px;
}

/* ========================================
   SOFTWARE GRID
========================================= */

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.software-card {
  min-height: 350px;
  padding: 28px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--line);

  background:
    linear-gradient(
      145deg,
      rgba(0, 119, 255, 0.045),
      rgba(255,255,255,0.01) 50%,
      transparent
    ),
    var(--panel);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease;
}

.software-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.software-number {
  margin-bottom: 42px;

  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;

  color: var(--blue);
}

.tech-list {
  margin-top: auto;
  padding-top: 28px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-list span {
  padding: 7px 9px;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;

  color: #8795a7;
}


/* ========================================
   ABOUT
========================================= */

.about-section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
}

.about-content {
  padding-top: 38px;
}

.about-content p {
  margin: 0 0 20px;

  font-size: 1rem;
  line-height: 1.8;

  color: var(--muted);
}


/* ========================================
   CONTACT
========================================= */

.contact-section {
  overflow: hidden;
  padding: 118px 0;

  text-align: center;

  background:
    radial-gradient(circle at 50% 50%, rgba(0, 119, 255, 0.11), transparent 36%),
    var(--bg-soft);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);

  background-size: 40px 40px;

  opacity: 0.35;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.contact-section .section-eyebrow {
  display: inline-block;
  padding-left: 0;
}

.contact-section .section-eyebrow::before {
  display: none;
}

.contact-section p:not(.section-eyebrow) {
  max-width: 580px;
  margin: 26px auto 0;

  line-height: 1.8;
  color: var(--muted);
}

.contact-section .btn {
  margin-top: 34px;
}


/* ========================================
   FOOTER
========================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: #060910;
}

.footer-inner {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  font-size: 0.7rem;
  letter-spacing: 0.04em;

  color: var(--muted);
}


/* ========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .software-grid {
    grid-template-columns: 1fr;
  }

  .software-card {
    min-height: auto;
  }

  .hero::after {
    right: -14%;
    opacity: 0.8;
  }

  .hero-tech {
  width: 65%;
  opacity: 0.7;
}

.hero-tech-logo {
  width: 78%;
}

.featured-project {
  grid-template-columns: 1fr;
}

.featured-project-content {
  border-left: 0;
  border-top: 1px solid var(--line);
}

.featured-project-image img {
  min-height: auto;
}

.upcoming-projects {
  grid-template-columns: 1fr;
}

}

@media (max-width: 720px) {

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text {
    display: none;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    padding: 24px 0 21px;
    font-size: 0.66rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 94px 0 88px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 14.5vw, 5rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .projects-section,
  .about-section,
  .contact-section {
    padding: 88px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-section h2,
  .contact-section h2 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .hero-eyebrow,
  .section-eyebrow {
    padding-left: 48px;
    letter-spacing: 0.16em;
  }

  .hero-eyebrow::before,
  .section-eyebrow::before {
    width: 30px;
  }

  .footer-inner {
    padding: 24px 0;

    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}

@media (max-width: 520px) {

  .main-nav a:nth-child(3) {
    display: none;
  }

  .main-nav {
    gap: 12px;
  }

  .project-content,
  .software-card {
    padding: 22px;
  }

}