﻿/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
p, li {
  color: #CFCFCF;
}
/* BASE */
body {
  background-color: #0F0F0F;
  color: #F5F5F5;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  font-size: 16px;
  letter-spacing: 0.2px;
}

h1,h2,h3{
  font-family: 'Space Grotesk', sans-serif;
}
/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
}

h1{
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -1px;
}

h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.85;
}

p {
  max-width: 65ch;
}
/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
}

.logo img {
  height: 32px;
}

/* NAV LINKS */
.nav-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #F5F5F5;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #c0d1ff;
}


/* OVERLAY MENU */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0F0F0F;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-size: 40px;

  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.overlay a {
  color: #F5F5F5;
  text-decoration: none;
  transition: 0.3s ease;
}

.overlay a:hover {
  color: #68cdec;
}

/* HERO */
.hero {
  padding: 100px 20px 60px; /* reduce top + bottom space */
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.5px;
  max-width: 800px;
  margin: 0 auto 15px;
}
.hero h2 {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 700px;
  margin: 20px auto;
  opacity: 0.8;
}

/* WORK SECTION */
.work {
  padding: 80px 50px;
}

/* CATEGORY TITLES */
.work h2 {
  font-size: 22px;
  margin: 100px 0 20px;
  margin-top: 120px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
  text-transform: uppercase;

}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.featured-work {
  padding: 60px 20px;
  text-align: center;
}
.featured-work h2 {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.projects {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  
}
.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}


/* PROJECT CARD */
.project-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #F5F5F5; /* strong contrast */
  margin-bottom: 6px;
  margin-top: 12px;
  
}

.project-card p {
  font-size: 14px;
  color: #CFCFCF; /* lighter than white but still readable */
  line-height: 1.5;
  padding: 22px;
  border-radius: 8px;
  background: #18181B;
  margin-top: 8px;
}

.project-card:hover {
  transform: translateY(-5px);
}
.project-card:hover h3 {
  color: #68cdec;
}
.project-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  display: block;
  font-size: 14px;
  opacity: 0.7;
}
/* CONTAINER */
.project-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
}

/* HERO */
.project-hero {
  text-align: center;
  margin-bottom: 120px;
}

.project-hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.project-hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 140px;

}

/* SECTIONS */
.project-section {
  margin-bottom: 80px;
}
.project-section p,
.project-section ul {
  max-width: 720px;
}
.project-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #D6D6D6;
  max-width: 700px;
}
.project-section ul {
  padding-left: 20px;
  color: #CFCFCF;
  line-height: 1.7;
}

.project-section li {
  margin-bottom: 8px;
}
.project-section h2 {
  margin-bottom: 20px;
  font-size: 20px;
  letter-spacing: 1px;
}

/* SPLIT LAYOUT (for role/tools/timeline) */
.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;

  padding: 40px 0;
  margin: 60px 0 100px;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-meta div h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #AFAFAF;
  margin-bottom: 8px;
}

.project-meta div p {
  font-size: 1rem;
  color: #E0E0E0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-label {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.meta-value {
  font-size: 15px;
  color: #F5F5F5;
  font-weight: 500;
  line-height: 1.4;
}
.meta-item:hover .meta-value {
  color: #68cdec;
  transition: 0.25s ease;
}
@media (max-width: 768px) {
  .project-meta {
    flex-direction: column;
    gap: 20px;
  }
}


/* IMAGE STYLING */
.project-section img,
.project-section video {
  width: 100%;
  margin: 60px 0;
  border-radius: 14px;
}
.project-section h2 {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  color: #F5F5F5;

}

/* IMAGE GRID */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.project-gallery img {
  width: 100%;
  border-radius: 12px;
}

.project-video {
  width: 100%;
  margin-bottom: 20px;
}

.project-video video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 20px 0;
}
/* FULL WIDTH IMAGE BREAK */
.full-width {
  width: 100%;
  margin: 80px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -0.5px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
.page-title {
  font-size: 48px;
  font-weight: 700;
  margin: 80px 50px 40px;
  letter-spacing: -1px;
}

.contact {
  padding: 120px 50px;
}

.contact-text {
  max-width: 600px;
  margin-top: 20px;
  font-size: 18px;
  opacity: 0.8;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-info a {
  color: #68cdec;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background: #66d1ff;
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: #63e3f1;
}

.about-preview {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: 100px auto;
}

.about-preview p {
  margin: 0 auto;
}
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px;
  color: #f2f2f2;
}

/* HERO */
.about-hero {
  margin-bottom: 80px;
}

.about-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 750px;
  line-height: 1.7;
}

/* SECTION TITLES */
.about-section {
  margin-bottom: 70px;
}

.about-section h2 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

/* BODY TEXT */
.about-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* LISTS */
.about-section ul {
  padding-left: 18px;
}

.about-section li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* SUB HEADINGS */
.about-section h3 {
  font-size: 1.1rem;
  margin-top: 25px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #ffffff;
}

/* SUBTLE DIVIDERS (important for structure) */
.about-section + .about-section {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* LINKS (email etc.) */
.about-section a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  opacity: 0.9;
}

.about-section a:hover {
  opacity: 1;
}
a {
  color: #68cdec;
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #68cdec;
}
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh; /* FULL SCREEN */
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* dark cinematic overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* text on top of video */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.9;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.2s; }
.reveal:nth-child(3) { animation-delay: 0.3s; }
.reveal:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

img:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.full-bleed img {
  width: 100%;
  height: auto;
  display: block;
}


.editorial-hero {
  text-align: center;
  padding: 120px 20px 60px;
}

.editorial-hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.editorial-hero p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.7;
  line-height: 1.6;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 40px;
}

.image-grid img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.image-grid img:hover {
  transform: scale(1.03);
}
.image-grid.top-set {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  grid-auto-flow: dense;
}

.image-grid.top-set img:first-child {
  grid-column: 1 / -1;
  width: 100%;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 40px;
  align-items: center;
}

.split img {
  width: 100%;
}

.split p {
  line-height: 1.7;
  opacity: 0.85;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px;
}

.final-grid img {
  width: 100%;
}


@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .final-grid {
    grid-template-columns: 1fr;
  }
}
.image-grid img:nth-child(1) { transition-delay: 0.05s; }
.image-grid img:nth-child(2) { transition-delay: 0.1s; }
.image-grid img:nth-child(3) { transition-delay: 0.15s; }
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.chaos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 8px;
  padding: 2rem;
}

.chaos-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(105%) brightness(95%);
  transition: transform 0.3s ease;
}

.chaos-grid img:hover {
  transform: scale(1.03);
}

.text-block {
  max-width: 700px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.text-block p {
  font-size: 1rem;
  line-height: 1.6;
}
.clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 2rem;
}

.clean-grid img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}
.clean-grid img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}