/* =========================================================
   RESET & ROOT VARIABLES
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #00171f;
  --secondary-color: #003459;
  --text-color: #ffffff;
  --accent-color: #adebff;

  --radius: 8px;
  --transition: 0.25s ease;
}

/* =========================================================
   BASE STYLES
========================================================= */
body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  background-color: var(--primary-color);
  color: var(--text-color);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
  background: rgba(0, 23, 31, 0.95); /* Slight transparency for awards feel */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: all var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  opacity: 1;
  border-bottom: 2px solid var(--accent-color);
}

.contact-link {
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--accent-color);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent-color);
  transition: all var(--transition);
}

.contact-link:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* HAMBURGER MENU */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .hamburger {
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: all var(--transition);
}

/* MOBILE RESPONSIVE NAV */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 23, 31, 0.97);
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    padding: 0 2rem;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    max-height: 400px; /* Enough to show all links */
  }
}

/* =========================================================
   HERO SECTIONS
========================================================= */
.hero-section,
.about-hero,
.services-hero,
.contact-hero {
  min-height: 70vh;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-section { background-image: url("./img/four.webp"); }
.about-hero { background-image: url("./img/about.webp"); }
.services-hero { background-image: url("./img/servicehero.webp"); }
.contact-hero { background-image: url("./img/contact.webp"); }

.heading-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--accent-color);
}

/* =========================================================
   BUTTONS
========================================================= */
.cta-button,
.contact-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  background: var(--accent-color);
  color: var(--primary-color);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-button:hover,
.contact-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   SECTION LAYOUT
========================================================= */
section {
  padding: 1rem 1rem;
}

.what-we-do,
.about,
.process {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.15rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

/* =========================================================
   CORE META / CARDS
========================================================= */
.core-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.meta-block {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.meta-block span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.meta-block strong {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent-color);
}

.meta-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   GRID SYSTEM
========================================================= */
.features-grid,
.who-grid,
.about-grid,
.process-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* =========================================================
   CARD SYSTEM
========================================================= */
.feature-card,
.who-card,
.about-block,
.process-step {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover,
.who-card:hover,
.about-block:hover,
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.feature-card h3,
.who-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-card p,
.who-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
}

.feature-card img,
.who-card img,
.process-step img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.9;
}

/* =========================================================
   WHO THIS IS FOR (FULL BLEED)
========================================================= */
.who-its-for {
  position: relative;
  width: 100%;
  padding: 8rem 2rem;
  background: url("./img/background.webp") center / cover no-repeat;
}

.who-its-for::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85));
}

.who-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================================================
   CONTACT
========================================================= */
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.contact-lead {
  max-width: 640px;
  margin: 2rem auto 3.5rem;
  font-size: 1.25rem;
  opacity: 0.85;
}

.contact-note {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background-color: #000f14;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* =========================================================
   ABOUT SECTIONS
========================================================= */
.about-editorial,
.about-philosophy,
.about-contact {
  padding: 3rem 2rem;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.about-lead {
  max-width: 720px;
  font-size: 1.35rem;
  margin-bottom: 3.5rem;
}

.about-body {
  max-width: 720px;
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.75rem;
}

.philosophy-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.philosophy-point h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.philosophy-point p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.about-contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-contact-intro {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (min-width: 768px) {

  .heading-container {
    text-align: left;
  }

  .cta-button {
    align-self: flex-start;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .core-split {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
  }

  .core-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .core-meta {
    flex: 1;
    gap: 1.75rem;
  }
}

@media (min-width: 900px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
