* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #F0EEE9;
  color: #0c0c0c;
  overflow-x: hidden;
  width: 100%;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  background: #0c0c0c;
  color: #F0EEE9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 10;
}

a {
  color: inherit;
  text-decoration: none;
}

.logo a {
  font-weight: 800;
  color: #F0EEE9; /* or #0c0c0c000 depending on nav background */
}

nav a:hover {
  opacity: 0.7;
}

nav a {
  font-weight: 500;
  color: #F0EEE9; /* match your nav */
}

.logo a {
  font-weight: 800;
  font-size: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  font-weight: 500;
  color: #F0EEE9;
}


/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  max-height: 780px;

  background-image: url("images/works/advertising/Nike.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  background-position: center 35%;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* TEXT */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.75rem;
  color: #F0EEE9;
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
}

.scroll-hint .arrow {
  display: block;
  font-size: 1.2rem;
  margin-top: 4px;
}

/* BRANDS */
.brands {
  padding: 40px 40px 40px;
  margin-top: -20px;  
  text-align: center;
  position: relative;
  z-index: 5;
}

.brands-title {
  font-size: 1.25rem;      /* bigger */
  font-weight: 100;     /* bold */
  text-align: center;   /* optional */
  margin-bottom: 20px;  /* spacing */
  margin-bottom: 32px;
  color: #555;
}

.brands-section {
  padding: 80px;        /* TOP & BOTTOM spacing */
  background: #F0EEE9;
  overflow: hidden;       /* IMPORTANT for marquee */
}

.marquee {
  display: flex;
  gap: 2rem;
  align-items: center;
  height: 100px; /* was 120px */
  padding-top: 30px;
  padding-bottom: 10px;
}

.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scroll 15s linear infinite;
}

.marquee img {
  width: 150px; 
  height: auto; 
  object-fit: contain; 
  display: block; 
  margin: 0 10px; 
}

.marquee-track img {
  height: 110px;
  object-fit: contain;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* adjust based on content width */
}

/* QUOTE */
.quote {
  padding: 80px 20px 30px;
  text-align: center;
  background-color: #0c0c0c;
}

.quote blockquote {
  font-size: 28px;
  font-weight: bold;
  color:#fff;
  max-width: 800px;
  margin: auto;
}

/* CARDS */
.cards {
  max-width: 1920px;   /* MATCH footer-inner */
  margin: 0 auto;      /* centers cards section */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  padding: 40px 40px 60px;
  background-color: #0c0c0c;
}

.card a {
  margin-top: 13px;
  font-size: 1rem;
  font-weight: 700;
  color: #F0EEE9;
}

.card p {
  margin-top: 5px;
  font-size: 0.85rem;
  opacity: 0.8;
  color: #F0EEE9;
}

/* Smooth color transition */
.card a,
.card p {
  transition: color 0.1s ease;
}

/* Turn text white on hover */
.card:hover a,
.card:hover p {
  color: #555;
}

.card {
  transition: transform 0.3s ease;
  position: relative;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  aspect-ratio: 4 / 5;     /* matches your 400x500 wireframe */
  object-fit: cover;
  display: block;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

/* Black overlay */
.card img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show overlay on hover */
.card:hover img::after {
  opacity: 1;
}

/* FOOTER */
.site-footer {
  background: #F0EEE9;
  color: #0c0c0c;
  padding: 80px 40px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  max-width: 520px;    /* prevents it from drifting left */
  margin-bottom: 60px;
}

.footer-top h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-top p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-col a {
  color: #0c0c0c;
  text-decoration: none;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 1024px) {

  /* NAV */
  .navbar {
    padding: 0 24px;
  }

  nav {
    gap: 28px;
  }

  .logo a {
    font-size: 1.7rem;
  }

  /* HERO */
  .hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.25;
  }

  .hero {
    min-height: 90vh;
  }

  /* BRANDS */
  .brands {
    padding: 64px 24px;
  }

  .marquee {
    height: 100px;
  }

  .marquee-track img {
    height: 120px;
  }

  /* CARDS */
  .cards {
    padding: 120px 24px;
    gap: 24px;
  }

  /* FOOTER */
  .site-footer {
    padding: 64px 24px 32px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .footer-top {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  /* NAV */
  .navbar {
    padding: 0 20px;
    height: 56px;
  }

  nav {
    gap: 20px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .logo a {
    font-size: 1.4rem;
  }

  /* HERO */
  .hero {
    min-height: 85vh;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* BRANDS */
  .brands {
    padding: 56px 20px;
  }
}