/* ========================================== */
/* GLOBAL RESET                               */
/* ========================================== */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}






/*=================================*/
/*shooting from mouse effects*/
/*=================================*/


.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 24;
  overflow: hidden;
  pointer-events: none;
}

.cursor-projectile {
  position: absolute;
  width: 30px;
  height: 30px;
  object-fit: contain;
  will-change: transform;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

/*=================================*/

/* 


         * BRAND COLORS 
         * These CSS variables allow easy theme changes later.
         */
        :root {
            --color-light: #DDE5F0;
            --color-main: #C4DEFF;
            --color-dark: #061E40;
            --color-white: #ffffff;
        }

        /* 
         * BASE TYPOGRAPHY & BODY STYLES
         */
        body {
            font-family: 'Outfit', sans-serif;
            font-weight: 400;
            color: var(--color-dark);
            background-color: var(--color-white);
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 900;
            color: var(--color-dark);
            margin-top: 0;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        p {
            margin-top: 0;
            margin-bottom: 1.5rem;
        }


        .bg-dark a {
          font-weight: 900;
          color: white;
          targe
        }

        /* 
         * RESPONSIVE GRID SYSTEM 
         * A lightweight, Bootstrap-like flexbox grid.
         */
         
        /* Standard centered container for maximum width on large screens */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 15px;
            padding-right: 15px;
            box-sizing: border-box;
        }

        /* Full width container */
        .container-fluid {
            width: 100%;
            padding-left: 15px;
            padding-right: 15px;
            box-sizing: border-box;
        }

        /* Row to hold columns */
        .row {
            display: flex;
            flex-wrap: wrap;
            margin-left: -15px;
            margin-right: -15px;
        }

        /* Base column class (Mobile First: 100% width) */
        [class*="col-"] {
            position: relative;
            width: 100%;
            padding-left: 15px;
            padding-right: 15px;
            box-sizing: border-box;
        }

        /* Desktop Columns (min-width: 768px) */
        @media (min-width: 768px) {
            .col-md-4 {
                flex: 0 0 33.333333%;
                max-width: 33.333333%;
            }
            .col-md-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
            .col-md-8 {
                flex: 0 0 66.666667%;
                max-width: 66.666667%;
            }
            .col-md-12 {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }

        /* 
         * SECTION STYLING HELPERS 
         */
        section {
            padding: 80px 0; /* Distinct blocks of content */
        }
        
        .bg-light { background-color: var(--color-light); }
        .bg-main { background-color: var(--color-main); }
        .bg-dark { background-color: var(--color-dark); color: var(--color-light); }
        .bg-white { background-color: var(--color-white); }
        
        /* Overrides for text color in dark background */
        .bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
            color: var(--color-white);
        }

        /* Placeholder styling for dummy elements */
        .placeholder-box {
            background-color: rgba(6, 30, 64, 0.1);
            border: 2px dashed rgba(6, 30, 64, 0.3);
            border-radius: 8px;
            padding: 40px 20px;
            text-align: center;
            margin-bottom: 30px;
        }
        .bg-dark .placeholder-box {
            background-color: rgba(221, 229, 240, 0.1);
            border-color: rgba(221, 229, 240, 0.3);
        }






/* ========================================== */
/* TESTING                     */
/* ========================================== */



.logo-shaped-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1; /* Adjust to match your logo's proportions */
  object-fit: cover;
  
  /* WebKit prefix is still required for most modern browsers */
  -webkit-mask-image: url('./assets/brand assets/img-shape.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  
  mask-image: url('./assets/brand assets/img-shape.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}









/* ========================================== */
/* 1. HERO VIDEO SECTION STYLES               */
/* ========================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Modern viewport height fix */
  overflow: hidden;
  background-color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper defines the font-size context for all children */
.hero-content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  font-size: clamp(2rem, 8vw, 4rem); /* Base text scale for mobile */
}

@media (min-width: 768px) {
  .hero-content-wrapper {
    font-size: 6.5vh; /* Base text scale for desktop */
  }
}

.hero-title {
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  font-size: 1em; /* Inherits from wrapper */
  line-height: 1.2;
}

.hero-graphic {
  position: absolute;
  /* 1 line-height of h1 = 1.2em */
  top: -1.2em; 
  bottom: -1.2em;
  height: calc(100% + 2.4em); /* Dynamically scales with H1 line-height */
  width: auto;
  opacity: 0.5;
  z-index: -1;
}






/* ========================================== */
/* 2. INTRODUCTION SECTION STYLES             */
/* ========================================== */

.intro-section {
  background-color: var(--color-light); /* Uses #DDE5F0 light blue theme */
  padding: 100px 0;
}

.intro-top-row {
  margin-bottom: 40px;
  align-items: flex-start;
}

/* First Column Header: "Hi, We are Jorick." */
.intro-greeting {
  color: var(--color-dark);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 20px 0;
}

/* Second Column Header: "Jorick is your partner..." */
.intro-tagline {
  color: var(--color-dark);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 20px 0;
}

/* Full Width Paragraph */
.intro-text {
  color: var(--color-dark);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  max-width: 900px; /* Ensures optimal reading length line-width */
  margin: 0;
}

/* Spacing tweak for mobile layout */
@media (max-width: 767px) {
  .intro-section {
    padding: 60px 0;
  }
  
  .intro-top-row {
    margin-bottom: 24px;
  }
}







/* ========================================== */
/* 3. WHAT WE DO SECTION STYLES               */
/* ========================================== */

.what-we-do-section {
  background-color: #FFFFFF;
  padding: 100px 0;
}

/* Top Intro Styling */
.what-we-do-intro-row {
  margin-bottom: 60px;
  align-items: center;
}

.what-we-do-headline {
  color: var(--color-dark);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.what-we-do-intro-text {
  color: var(--color-dark);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  margin: 0;
}

/* Pillars Grid Styling */
.what-we-do-pillars-row {
  row-gap: 40px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Ensures perfect square aspect ratio */
  object-fit: cover;
  border-radius: 28px; /* Big corner radius as requested */
  margin-bottom: 24px;
}

.pillar-title {
  color: var(--color-dark);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  margin: 0 0 12px 0;
  line-height: 1.2;
  text-align: center;
}

.pillar-text {
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .what-we-do-section {
    padding: 60px 0;
  }

  .what-we-do-intro-row {
    margin-bottom: 40px;
  }

  .pillar-col {
    margin-bottom: 20px;
  }
}

/* CTA Button Row Positioning */
.what-we-do-cta-row {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* CTA Button Styling */
.what-we-do-cta-btn {
  display: inline-block;
  padding: 18px 36px;
  border: 3px solid var(--color-dark);
  border-radius: 50px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.what-we-do-cta-text {
  color: var(--color-dark);
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Hover States */
.what-we-do-cta-btn:hover {
  background-color: var(--color-dark);
}

.what-we-do-cta-btn:hover .what-we-do-cta-text {
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .what-we-do-cta-row {
    margin-top: 40px;
  }

  .what-we-do-cta-btn {
    width: 100%;
    padding: 16px 20px;
  }
}










/* ========================================== */
/* 4. OUR WORK SECTION STYLES                 */
/* ========================================== */

.our-work-section {
  background-color: #FFFFFF; /* Surrounding background */
  padding: 80px 0;
}

.our-work-container {
  background-color: var(--color-main);
  border-radius: 28px;
  padding: 80px 60px;
}

.our-work-title {
  color: var(--color-dark);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  margin: 0 0 60px 0;
  text-align: center;
}

/* Portfolio Item Row Configuration */
.portfolio-item {
  margin-bottom: 80px;
  align-items: center; /* Vertically centers text, image, and button */
}

/* ========================================== */
/* FIX: PORTFOLIO DESKTOP ROW LAYOUT          */
/* ========================================== */

/* Desktop Layout (768px and wider) */
@media (min-width: 768px) {
  .portfolio-item {
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically centers the text, image, and button */
    justify-content: space-between;
    flex-wrap: nowrap; /* Forces everything onto one single line */
    margin-bottom: 80px;
  }

  /* Force exact column widths just in case the skeleton grid is overridden */
  .portfolio-text-col, 
  .portfolio-img-col {
    flex: 0 0 41.66%; /* Roughly 5/12 of the row (col-md-5) */
    max-width: 41.66%;
  }

  .portfolio-btn-col {
    flex: 0 0 16.66%; /* Roughly 2/12 of the row (col-md-2) */
    max-width: 16.66%;
    display: flex;
    justify-content: flex-end; /* Aligns round button to the right */
  }
}

/* Mobile Layout (767px and smaller) */
@media (max-width: 767px) {
  .portfolio-item {
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    margin-bottom: 60px;
  }

  .portfolio-text-col,
  .portfolio-img-col,
  .portfolio-btn-col {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .portfolio-text-col {
    padding-right: 0;
    margin-bottom: 24px;
  }

  .portfolio-img-col {
    margin-bottom: 24px;
  }

  .portfolio-btn-col {
    justify-content: center; /* Centers the round button on mobile */
  }
}

/* Removes bottom margin from the last portfolio item */
.portfolio-item:last-of-type {
  margin-bottom: 0;
}

/* Subcolumn 1: Text */
.portfolio-text-col {
  padding-right: 40px; /* Gives breathing room before the image */
}

.portfolio-title {
  color: var(--color-dark);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.portfolio-desc {
  color: var(--color-dark);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.portfolio-disciplines {
  display: block;
  font-size: 0.85rem;
  color: var(--color-dark);
  opacity: 0.65; /* Makes text lighter while staying accessible */
  font-style: italic;
}

/* Subcolumn 2: Image */
.portfolio-img-col {
  display: flex;
  justify-content: center;
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
}

/* Subcolumn 3: Button */
.portfolio-btn-col {
  display: flex;
  justify-content: flex-end; /* Aligns round button to the right */
}

.portfolio-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5); /* White at 50% opacity */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.portfolio-btn span {
  color: var(--color-dark);
  font-size: 1rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.portfolio-btn:hover {
  background-color: var(--color-dark);
  transform: scale(1.05);
}

.portfolio-btn:hover span {
  color: #FFFFFF;
}

/* Big Button Styling */
.our-work-cta-row {
  margin-top: 80px;
}

.our-work-cta-btn {
  display: inline-block;
  padding: 16px 32px;
  border: 3px solid var(--color-dark);
  border-radius: 50px;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.our-work-cta-text {
  color: var(--color-dark);
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.our-work-cta-btn:hover {
  background-color: var(--color-dark);
}

.our-work-cta-btn:hover .our-work-cta-text {
  color: #FFFFFF;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 767px) {
  .our-work-container {
    padding: 60px 24px;
    border-radius: 0; /* Optional: remove rounding on mobile if you want it full-bleed */
  }

  .portfolio-item {
    margin-bottom: 60px;
  }

  .portfolio-text-col {
    padding-right: 15px;
    margin-bottom: 24px;
  }

  .portfolio-img-col {
    margin-bottom: 24px;
  }

  .portfolio-btn-col {
    justify-content: center; /* Center the round button on mobile */
  }
}








/* ========================================== */
/* 5. WHO ARE WE SECTION STYLES               */
/* ========================================== */

.who-are-we-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.who-are-we-container {
  border: 3px solid var(--color-dark);
  border-radius: 28px;
  padding: 80px 60px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main Content Area */
.who-main-content {
  text-align: center;
  width: 100%;
}

.who-title {
  color: var(--color-dark);
  /* Huge text that perfectly scales to container width */
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  word-spacing: -0.02em; 
}

.who-subtitle {
  color: var(--color-dark);
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  margin: 0 auto 40px auto;
  line-height: 1.4;
  max-width: 800px;
}

/* Expand Button */
.who-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  padding: 12px 24px;
  transition: opacity 0.2s ease;
}

.who-expand-btn span {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.who-expand-btn:hover {
  opacity: 0.6;
}

.chevron-icon {
  transition: transform 0.4s ease;
}

.who-expand-btn.active .chevron-icon {
  transform: rotate(180deg);
}

/* Hidden Expanded Area */
.who-expanded-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  /* CSS trick to animate max-height smoothly */
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  width: 100%;
}

.who-expanded-content.open {
  max-height: 2500px; /* Arbitrarily large to allow all content to flow */
  opacity: 1;
}

.who-expanded-inner {
  padding-top: 60px;
  text-align: left; /* Resets text alignment for the paragraph reading */
}

.who-intro-text {
  color: var(--color-dark);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 900px;
}

/* Founders Profiles */
.founders-row {
  row-gap: 40px;
}

.founder-col {
  display: flex;
  flex-direction: column;
}

.founder-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 24px;
}

.founder-title {
  color: var(--color-dark);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.founder-text {
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Overrides */
@media (max-width: 767px) {
  .who-are-we-container {
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .who-title {
    font-size: clamp(2.5rem, 12vw, 4rem); /* Adjusts clamp for extreme mobile thinness */
  }

  .who-expanded-inner {
    padding-top: 40px;
  }
}

/* Founder Name Intro (above images) */
.founder-name-intro {
  color: var(--color-dark);
  font-family: "Outfit", sans-serif;
  font-weight: 400; /* Default weight for "Joran/Rick is" */
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 16px 0;
}

/* "Jorick" inside the intro relies on .identifyer-class for weight 900 */
.founder-name-intro span {
  display: inline-block;
}






/* ========================================== */
/* 7. CONTACT & CTA SECTION STYLES            */
/* ========================================== */

.contact-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.contact-container {
  background-color: var(--color-dark); /* Striking dark background */
  border-radius: 28px;
  padding: 80px 60px;
  color: #FFFFFF; /* Ensures standard text is white */
}

/* Header Text */
.contact-title {
  color: #FFFFFF;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}

.contact-intro {
  color: var(--color-light); /* Uses the lightest blue for soft contrast */
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

/* 5 Steps Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.process-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.process-num {
  color: var(--color-main); /* Pops in the mid-blue color */
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 16px;
}

.process-title {
  color: #FFFFFF;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.process-text {
  color: var(--color-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Button */
.contact-cta-row {
  margin-top: 20px;
}

.contact-cta-btn {
  display: inline-block;
  padding: 18px 40px;
  border: 3px solid var(--color-main); /* Blue stroke */
  border-radius: 50px;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-cta-text {
  color: #FFFFFF;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.contact-cta-btn:hover {
  background-color: var(--color-main);
  transform: scale(1.02);
}

.contact-cta-btn:hover .contact-cta-text {
  color: var(--color-dark); /* Inverts to dark text on hover */
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .contact-container {
    padding: 60px 24px;
    border-radius: 20px; /* Smaller rounding on mobile */
  }

  .process-grid {
    gap: 32px;
  }

  .contact-cta-btn {
    width: 100%;
    padding: 16px 20px;
  }
}



/* ========================================== */
/* 0. NAVIGATION BAR STYLES                   */
/* ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000; /* Keeps navbar above all other sections */
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  padding: 30px 0; /* Large padding initially */
}

/* State when user scrolls down */
.navbar.scrolled {
  background-color: #FFFFFF; /* Opaque white background */
  padding: 12px 0; /* Shrinks the navbar height */
  box-shadow: 0 4px 20px rgba(6, 30, 64, 0.08); /* Soft dark blue shadow */
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand & Logo Animations */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  height: 80px; /* Big initial logo */
  transition: height 0.4s ease;
}

.navbar.scrolled .navbar-logo {
  height: 36px; /* Shrinks to fit opaque navbar */
}

.company-name {
  color: var(--color-dark);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  opacity: 0; /* Invisible initially */
  max-width: 0; /* Takes up no space initially */
  overflow: hidden;
  transform: translateX(-15px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.navbar.scrolled .company-name {
  opacity: 1; /* Appears on scroll */
  max-width: 400px; /* Expands to fit the text */
  transform: translateX(0);
  margin-left: 12px;
  pointer-events: auto;
}

/* Desktop Navigation */
.desktop-nav {
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #FFFFFF; /* White initially to contrast the video */
  font-size: 1rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-link-cta {
  border: 2px solid #FFFFFF;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Nav Link colors change when navbar becomes white */
.navbar.scrolled .nav-link {
  color: var(--color-dark);
}

.navbar.scrolled .nav-link-cta {
  border-color: var(--color-dark);
}

.navbar.scrolled .nav-link-cta:hover {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001; /* Must stay above the mobile nav overlay */
  padding: 10px; /* Larger click target area */
}

.hamburger-line {
  display: block;
  width: 32px;
  height: 3px;
  background-color: #FFFFFF; /* White initially */
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Turns lines dark when scrolled OR when menu is open on top of the video */
.navbar.scrolled .hamburger-line,
.navbar.menu-open .hamburger-line {
  background-color: var(--color-dark);
}

/* Hamburger 'X' Animation */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%; /* Hidden off-screen to the right */
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s ease;
  z-index: 1000;
}

.mobile-nav.open {
  right: 0; /* Slides in */
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav-link {
  color: var(--color-dark);
  font-size: clamp(2rem, 8vw, 3rem);
  text-decoration: none;
}

/* Responsive Overrides */
@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 20px 0;
  }
  
  .navbar-logo {
    height: 50px; /* Slightly smaller initial logo on mobile */
  }

  .navbar.scrolled .navbar-logo {
    height: 32px;
  }
}

/* ========================================== */
/* NAV UTILITIES (LANG & SOCIALS)             */
/* ========================================== */
.nav-utils-divider { color: #FFFFFF; font-size: 1.2rem; margin: 0 10px; transition: color 0.3s ease; }
.navbar.scrolled .nav-utils-divider { color: var(--color-dark); }

.lang-btn { background: none; border: none; color: #FFFFFF; font-size: 1rem; cursor: pointer; transition: color 0.3s ease; padding: 0; }
.navbar.scrolled .lang-btn, .mobile-utils .lang-btn { color: var(--color-dark); }
.lang-btn:hover { color: var(--color-main); }

.nav-social-icon { color: #FFFFFF; display: flex; align-items: center; transition: color 0.3s ease; }
.navbar.scrolled .nav-social-icon { color: var(--color-dark); }
.nav-social-icon:hover { color: var(--color-main); }

.mobile-utils { display: flex; gap: 15px; align-items: center; justify-content: center; margin-top: 20px; }

/* ========================================== */
/* PAGE: WORK (PORTFOLIO OVERVIEW)            */
/* ========================================== */
.work-page-section { padding: 180px 0 100px 0; background-color: #FFFFFF; min-height: 100vh; }
.work-main-title { font-size: clamp(3rem, 8vw, 6rem); text-align: center; margin-bottom: 80px; letter-spacing: -1px; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 767px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 0 0 var(--color-dark);
  transition: box-shadow 200ms ease-out;
  cursor: pointer;
}

.work-card img { width: 100%; height: 100%; object-fit: cover; z-index: 1; }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 30, 64, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 200ms ease-out;
}

.work-card-title {
  color: #FFFFFF;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 200ms ease-out;
  padding: 0 20px;
}

.work-card:hover { box-shadow: inset 0 0 0 15px var(--color-dark); }
.work-card:hover .work-card-overlay { background-color: rgba(6, 30, 64, 0.85); }
.work-card:hover .work-card-title { opacity: 1; transform: translateY(0); }

/* ========================================== */
/* PAGE: CONTACT                              */
/* ========================================== */
.contact-page-section { padding: 180px 0 100px 0; background-color: #FFFFFF; min-height: 80vh; }
.contact-info-wrap h1 { font-size: clamp(3rem, 6vw, 4.5rem); margin-bottom: 20px; }
.contact-info-wrap h4 { margin-top: 40px; margin-bottom: 10px; color: var(--color-main); }
.contact-info-wrap a { color: var(--color-dark); text-decoration: none; font-weight: 900; transition: color 0.2s; }
.contact-info-wrap a:hover { color: var(--color-main); }
.map-graphic { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 28px; background-color: var(--color-light); }

/* ========================================== */
/* PAGE: ABOUT                                */
/* ========================================== */
.about-page-section { padding: 180px 0 100px 0; background-color: #FFFFFF; }