/* ------------------------------
   Reset
------------------------------ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  color: #ffffff;
  background: #000000;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

/* ------------------------------
   Navigation
------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  position: relative;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: #ffffff;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: 0.25s ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ------------------------------
   Full-screen sections
------------------------------ */

.fullscreen-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding: 120px 32px 90px;
  overflow: hidden;
  background-color: #000000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Dark overlay for future background images */
.fullscreen-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.2) 35%,
      rgba(0, 0, 0, 0.85) 100%
    );
  content: "";
}

/*
  Add your future images here.

  Example:

  .project-iliad {
    background-image: url("images/project-iliad.jpg");
  }

  .solutions {
    background-image: url("images/solutions.jpg");
  }

  .about {
    background-image: url("images/about.jpg");
  }
*/

.project-iliad {
  background-image: url("./images/project-iliad.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.solutions {
  background-image: url("./images/solutions.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about {
  background-image: url("./images/about.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 850px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: clamp(24px, 8vw, 140px);
}


/* ------------------------------
   Typography
------------------------------ */

.eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 900px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(1.9rem, 4.9vw, 4.55rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}


/*
  Optional outlined/profiled heading style.

  Add class="outline-text" to a heading
  if you want white outlined lettering.
*/

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px #ffffff;
}

h2 {
  font-size: clamp(1.75rem, 4.2vw, 3.85rem);
}

.section-description {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* ------------------------------
   Buttons
------------------------------ */

.button {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.button:hover {
  color: #000000;
  background: #ffffff;
}

/* ------------------------------
   Footer
------------------------------ */

.footer {
  padding: 28px 24px;
  color: rgba(255, 255, 255, 0.6);
  background: #000000;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* ------------------------------
   Mobile layout
------------------------------ */

@media (max-width: 700px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding: 18px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .nav-links a {
    font-size: 0.68rem;
  }

  .fullscreen-section {
    align-items: flex-end;
    min-height: 100svh;
    padding: 130px 20px 60px;
  }

  .section-content {
    max-width: 100%;
  }

  h1,
  h2 {
    font-size: clamp(1.7rem, 9.1vw, 3.15rem);
  }

  .section-description {
    font-size: 1rem;
  }
}

/* ------------------------------
   Project Iliad page
------------------------------ */

.iliad-hero {
  min-height: 75vh;
  align-items: flex-end;
  padding-top: 150px;
  padding-bottom: 100px;
}

.iliad-hero .section-content {
  max-width: 1050px;
}

.iliad-hero h1 {
  max-width: 1050px;
  margin-bottom: 32px;
  font-size: clamp(2.3rem, 6vw, 5.5rem);
}

.iliad-intro {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.5;
}

.iliad-content {
  background: #000;
  padding: 8rem 0;
}

.iliad-content-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

/* Keeps the concept text close to the left-hand border */
.iliad-copy-column {
  max-width: 680px;
  justify-self: start;
}

.iliad-copy-column h2 {
  max-width: 620px;
}

.iliad-copy {
  max-width: 620px;
}

.iliad-copy p {
  margin-bottom: 1.5rem;
}

/* Image area occupying the right-hand half */
.iliad-image-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

.iliad-image {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.iliad-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* Optional subtle effect */
.iliad-image img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.iliad-image:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Mobile layout */
@media (max-width: 800px) {
  .iliad-content {
    padding: 5rem 0;
  }

  .iliad-content-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }

  .iliad-copy-column,
  .iliad-copy {
    max-width: none;
  }

  .iliad-image-column {
    gap: 1rem;
  }
}
