* {
box-sizing: border-box;
margin: 0;
padding: 0;
border-radius: 0;
}


:root {
  --bg-color: #e5eceb; 
  --text-color: #1a1a1a;
  --accent-color: #161c25;
  --header-font: 'Schibsted Grotesk', sans-serif;
  --body-font: 'Inter', sans-serif;
  --logo-font: 'Schibsted Grotesk', sans-serif;
}

body {
  font-family: var(--body-font);
  font-size: 1.125rem;
  line-height: 1.6;
  background-color: #f3f7f6;
}

h1, h2, h3, .expertise-label, .card-number {
  font-family: var(--header-font);
  font-weight: 800;
  text-transform: none;
}

.glance-label h3 {
  font-size: 2rem;
  letter-spacing: -0.02em; /* Makes quirky fonts look tighter and more "designed" */
}

/* Header Styles */

/* 1. The Header Container */

/* Homepage Specific: Starting State */
.home-page .project-header {
  background-color: transparent;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Homepage Specific: Scrolled State  */
.home-page .project-header.nav-scrolled {
  background-color: #161c25; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-header {
  display: flex;
  justify-content: space-between; /* Logo on left, Nav on right */
  align-items: center;            /* Perfectly centered vertically */
  padding: 30px 5%;
  background-color: #161c25;      /* Your Navy Background */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-in-out; /* Smooth slide effect */
}

/* This class will be added/removed by JavaScript */
.nav-hidden {
  transform: translateY(-100%);
}

/* 2. The Logo (Schibsted Grotesk) */
.logo-link {
  font-family: 'Schibsted Grotesk', sans-serif !important;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

/* 3. The Navigation Links (Inter) */
.project-nav {
  display: flex;
  align-items: center;
  gap: 30px; /* Space between links and socials */
}

.nav-link {
  font-family: 'Inter', sans-serif !important;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

/* --- THE ACTIVE UNDERLINE (DYNAMIC) --- */

/* Underline "Featured Project" only when on the Featured Page */
#featured-project-page .nav-link[href="featured-project.html"] {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 4px;
}

/* Underline "About" only when on the About Page */
#about-page .nav-link[href="about.html"] {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 4px;
}

/* 4. The Socials Section */
.header-socials {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between 'in' and 'mail' */
  border-left: 1px solid rgba(255, 255, 255, 0.2); /* Subtle divider line */
  padding-left: 20px;
}

.social-icon {
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.social-icon svg {
  stroke: #ffffff; /* Makes the mail icon white */
}

.social-icon:hover {
  opacity: 0.7;
}



/* HERO */

.hero {
    height: 75vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), 
    url("images/hero-image.jpg");
    background-size: 150%;
    background-position: 56% 46%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column; /* Stack the h1 and tagline vertically */
    justify-content: flex-end; /* Center them vertically in the 75vh height */
    align-items: flex-start;
    padding: 5% 5% 10% 5%;
    color: white;
    box-sizing: border-box;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800; 
  line-height: 1.4;
}

.hero .tagline {
  font-size: 1.8rem; 
  font-weight: 300; 
  max-width: 900px; 
  line-height: 1.4;
}

/* Featured Project Section (homepage) */


.portfolio-section {
  padding: 8% 2% 8%;
  background-color: #161c25;
}


.intro {
  margin-bottom: 5%;
  padding-left: 3%;
  text-align: center;
  color: white;
}

.intro h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

/* Grid Logic */
.project-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12 equal columns */
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 0;
}

/* The White Text Card */
.project-card {
  grid-column: 1 / 7; /* Starts at col 1, ends at 7 */
  grid-row: 1;        /* Keeps it on the same row as image */
  background: white;
  padding: 60px;
  z-index: 2;         /* Sits on top of image */
  box-shadow: 10px 10px 30px rgba(0,0,0,0.05);
  border-radius: 0;
}

.project-card h3 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 4%;
}

.project-card p {
  line-height: 1.8;
  margin-bottom: 30px;
  color: #444;
}

/* The Image Wrapper */
.project-image {
  grid-column: 5 / 13; /* Starts at col 5, ends at 13 (overlaps card) */
  grid-row: 1;
  z-index: 1;
  border-radius: 0;
}

.project-image img {
  width: 100%;
  display: block;
  border-radius: 0;
}

/* Button Styling */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--accent-color);
  text-decoration: none;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent-color);
  color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-container {
    display: flex;
    flex-direction: column;
  }
  
  .project-card {
    padding: 30px;
    margin-bottom: -40px; /* Overlap effect for mobile */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
  }
}

/* What I design & build */

.expertise-section {
  padding: 150px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-title {
  font-size: 2.5rem;
  margin-bottom: 80px;
  color: #161c25;
  text-align: center;
  width: 100%;
}

.card-container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.expertise-card {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-box {
  background: #161c25; /* Matching the black squares in your image */
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 30px;
}

.card-number {
  color: #bbb;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.expertise-card h3 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 15px;
  min-height: 3.4rem; /* Keeps the lines below aligned */
}

.expertise-card hr {
  width: 40px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 10px 0 20px 0;
}

.expertise-card p {
  color: #444;
  line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
  }
}


/* Featured Project Page */

/* Hero Section Styles */
.featured-hero {
  display: flex;
  background-color: #161c25; /* Dark background */
  color: white;
  min-height: 75vh; /* Takes up most of the screen height */
  align-items: center;
  overflow: hidden;
  padding-top: 5%;
}

.hero-left {
  flex: 1; /* Takes 50% width */
  padding: 60px 80px;
}

.hero-left h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 0.5;
}

.hero-left p {
  font-size: 1.375rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-right {
  flex: 1; /* Takes 50% width */
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-right img {
  width: 70%;
  height: auto;
  display: block;
  margin-left: 10%;
}

/* Outline Button */
.outline-btn {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}


.outline-btn:hover {
  background: white;
  color: #161c25;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .featured-hero {
    flex-direction: column;
  }
  .hero-left {
    padding: 40px 20px;
  }
  .hero-right img {
    margin-left: 0;
  }
}

/* CASE STUDY */

.cs-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 150px 20px 0px;
}

.cs-block { margin-bottom: 90px; }

.cs-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #6a7682;
  margin-bottom: 12px;
}

.cs-title {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 2.2rem;
  color: #1a2b3c;
  margin-bottom: 30px;
}

.cs-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4a5568;
  max-width: 900px;
  margin-bottom: 40px;
}

/* Metadata Grid (3 columns) */
.cs-metadata-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
}

.meta-item h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #6a7682;
  margin-bottom: 15px;
}

.meta-item p, .meta-item ul {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  list-style: none;
  padding-right: 100px;
  line-height: 1.6;
}

/* Challenge & Solution Split */
.cs-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.accent-text { font-size: 0.7rem; font-weight: 800; margin-bottom: 10px; }
.accent-text.red { color: #b33939; }
.accent-text.blue { color: #2980b9; }

/* ADDIE Timeline */
.bg-card {
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.addie-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 40px;
}

.addie-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  z-index: 1;
}

.addie-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
  font-size: 1rem;
}

.step-circle {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #1a2b3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 700;
  font-size: 1rem;
}

.results-list {
    padding-left: 20px;
    line-height: 2.2;
}

.cs-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 60px 0;
}

.visual-identity-card {
  background: #f8fafc; /* Very light gray card background */
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
}

.identity-intro {
  text-align: center;
  font-family: 'Inter', sans-serif;
  color: #4a5568;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.id-col {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #edf2f7;
}

.id-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #718096;
  margin-bottom: 25px;
}

/* Swatches */
.palette-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.swatch-group { text-align: center; }
.swatch {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin: 0 auto 8px;
}
.swatch-group span { font-size: 0.65rem; color: #a0aec0; }

/* Typography */
.type-sample { margin-bottom: 20px; }
.type-usage { font-size: 0.75rem; color: #a0aec0; margin-bottom: 4px; }
.type-name { font-size: 1.2rem; margin-bottom: 2px; color: #1a2b3c; }
.type-specs { font-size: 0.75rem; color: #cbd5e0; }

/* UI Buttons */
.ui-button {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  text-align: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 15px;
}
.ui-button.normal { background: #39405b; }
.ui-button.hover { background: #6571bf; }

/* Big Screenshot Placeholder */
.module-screenshot-placeholder {
  margin-top: 40px;
  border: 2px dashed #e2e8f0;
  border-radius: 20px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fbfcfd;
  color: #a0aec0;
}

/* IMAGE CONTAINERS - FEATURED PROJECT */

/* --- Container 1: 2x2 Grid --- */
.img-grid-container {
  max-width: 1100px;
  margin: 40px auto 100px;
  padding: 0 20px;
}

.img-grid {
  display: grid;
  /* Creates 2 equal columns */
  grid-template-columns: repeat(2, 1fr); 
  /* Space between images */
  gap: 20px; 
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

/* Optional: Slight zoom when a recruiter hovers over an image */
.grid-item img:hover {
  transform: scale(1.02);
}

.img-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #718096;
  margin-top: 20px;
  text-align: center;
}

/* Responsive: Stack them on smaller screens */
@media (max-width: 768px) {
  .img-grid {
    grid-template-columns: 1fr; /* Changes to 1 column on mobile */
  }
}

/* --- Container 2: 60/40 Split --- */
.img-container-split {
  max-width: 1100px;
  margin: 40px auto 100px;
  padding: 0 20px;
  display: flex;
  gap: 30px; /* Space between the two columns */
  align-items: flex-start;
}

.split-60 {
  flex: 0 0 60%; /* Locked at 60% */
}

.split-40 {
  flex: 1; /* Takes up the remaining 40% */
}

.img-container-split img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.split-text {
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

/* Responsive Fix: Stack them on mobile */
@media (max-width: 768px) {
  .img-container-split {
    flex-direction: column;
  }
  .split-60, .split-40 {
    flex: 0 0 100%;
  }
}

/* Storyboard sample image container */
.img-single-container {
  max-width: 1100px;
  margin: 40px auto 30px;
  padding: 0 20px;
  text-align: center;
}

.img-single-container img {
  width: 70%;
  height: auto;
  display: inline-block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* Bottom Experience It Button on Featured Projects page */

.cta-button .outline-btn {
  border: 2px solid #161c25;
  color: #161c25;
}

.cta-button .outline-btn:hover {
  background: #161c25;
  color: white;
}


.cta-button-container {
text-align: center;
margin-bottom: 100px;
}



/* ABOUT */

.about {
  padding: 15%;
  background-color: #f3f7f6;
}

.about .project-card {
    width: 100%;
}


/* ABOUT - RESUME */

/* Container Background & Overall Spacing */
.at-a-glance {
  background-color: #161c25; /* Your Navy Color */
  color: white;
  padding: 100px 10%;
  text-align: center;
  font-family: 'Work Sans', sans-serif; /* Update to Archivo/Inter if needed */
}

/* Header & Button */
.glance-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 80px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: white;
  color: #161c25;
}

/* The Row System */
.glance-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.glance-row {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Adds a subtle divider line */
}

.glance-label {
  flex: 1;
}

.glance-label h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.glance-details {
  flex: 1.5;
}

/* List Styling */
.glance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glance-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.glance-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1.4rem;
}

.glance-list li strong {
  display: block;
  font-size: 1.4rem;
}

.glance-list li span {
  display: block;
  font-size: 1.4rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* Responsive: Stacks on Mobile */
@media (max-width: 850px) {
  .glance-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .at-a-glance {
    padding: 60px 5%;
  }
}

/* FOOTER */

.connect-section {
    text-align: center;
    padding-top: 60px; 
    padding-bottom: 60px;
}


.connect-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}


.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between icons */
}

.icon-link {
    text-decoration: none;
    color: #000;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
}

.icon-link:hover {
    opacity: 0.7;
}

.linkedin {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
    position: relative;
    top: -1px; /* Tiny adjustment to align text with the SVG icon */
}

.icon-link svg {
    width: 24px;
    height: 24px;
}

.feat-proj {
background-color: #161c25;
}

.feat-proj h3 {
color: #ffffff;
}

.feat-proj .icon-link {
color: #ffffff;
}

/* Navbar sticky effect */

