
/* ===========================
   RESET & BASE STYLES
=========================== */

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      overflow-x: hidden;
      color: white;
      background: black;
      scroll-behavior: smooth;
    }

/* ===========================
   FONT IMPORTS
=========================== */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   SCROLL CONTAINER (SNAP)
=========================== */

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

 /* ===========================
   PANEL SECTIONS
=========================== */

    .panel {
      position: relative;
      height: 100vh;
      width: 100%;
      background-size: cover;
      background-position: center;
      display: flex;
      justify-content: center;
      align-items: center;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      flex-shrink: 0;
    }

/* Gradient overlay for dark fade bottom */
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  z-index: 1;
  pointer-events: none;
}

    /* Gallery section - THIS IS THE KEY CHANGE */
    .gallery-section {
      height: 100vh; /* Fixed height like other panels */
      scroll-snap-align: start;
      scroll-snap-stop: always;
      background: white;
      overflow-y: auto; /* Allow internal scrolling */
      position: relative;
    }

    /* Gallery wrapper inside the section */
    .gallery-wrapper {
      height: auto; /* Natural height for content */
      min-height: 100vh;
      padding: 2rem;
      overflow: visible;
    }

    /* Basic gallery styles for demo */
    .gallery_1 {
      font-family: Arial, sans-serif;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

    .text-blk.heading {
    
      color: black;
      font-family: 'Gotham';
      text-align: center;
      margin-bottom: 20px;
      font-size: 6rem;
      text-shadow: none !important;
    }

    .text-blk.subHeading {
      font-size: 18px;
      font-family: 'Montserrat', sans-serif;
      color: black;
      text-align: center;
      margin-bottom: 50px;
      max-width: 750px;
      margin-left: auto;
      margin-right: auto;
    }

    .responsive-container-block.imgContainer {
      height: 720px;
      position: relative;
      margin-bottom: 100px; /* Add space at bottom */
    }

    .project {
      position: absolute;
      background: #333;
      border-radius: 8px;
    }

.title, .subtitle, .featured, .title-dark, .subtitle-dark {
  will-change: transform;
}


    .smallImage {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0px;
    }

    /* Project positioning - simplified */
    .project1 { top: 0; left: 0; width: 39.8%; height: 66.67%; }
    .project2 { bottom: 0; left: 0; width: 59.75%; height: 32.6%; }
    .project3 { top: 0; left: 40.2%; width: 19.4%; height: 32.98%; }
    .project4 { top: 33.7%; left: 40.2%; width: 19.5%; height: 32.98%; }
    .project5 { top: 0; right: 0; width: 39.8%; height: 32.6%; }
    .project6 { bottom: 0; right: 0; width: 39.8%; height: 66.67%; }

    /* Demo styles for other content */
    .overlay {
      text-align: center;
      z-index: 2;
    }



/* ===========================
   TYPOGRAPHY
=========================== */
h1.title {
  font-family: 'Gotham', sans-serif;
  font-weight: 100;
  font-size: 9rem;
  line-height: 1.1;
  text-shadow: none;
  margin-bottom: 10px;
  z-index: 2;
}

.title-dark {
  font-family: 'Gotham', sans-serif;
  font-weight: 100; /* Thin Gotham for cinematic hero */
  font-size: 3rem;
  margin: 0 0 10px 0;
    text-shadow: none !important;

}

.subtitle-dark {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 20px 0;
    text-shadow: none !important;

}

.subtitle  {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: none;
  z-index: 2;
}

.featured {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 10px;
  z-index: 2;
}

/* Animated GSAP Buttons */
.button {
  align-items: center;
  background: none;
  border: none;
  border-radius: 6.25rem;
  color: var(--color-surface-white, white);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: bold;
  gap: 0.4em;
  justify-content: center;
  letter-spacing: -0.01em;
  line-height: 1.1;
  overflow: hidden;
  padding: 0.9rem 1.5rem;
  position: relative;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

.button--stroke:after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 0.125rem solid currentColor;
  border-radius: 6.25rem;
  pointer-events: none;
}

.button__label {
  position: relative;
  z-index: 2;
  transition: color 0.15s ease;
}

.button__flair {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  transform: scale(0);
  transform-origin: 0 0;
  will-change: transform;
}

.button__flair:before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  width: 170%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: currentColor;
}




.panel-dark .button--stroke:hover:after {
  border-color: white;
}

.panel-light .button--stroke:hover:after {
  border-color: black;
}


/* Panel-light buttons: Start black border/text, hover invert to white fill/text */
.panel-light .button {
  color: black; /* base text and border color */
}

.panel-light .button--stroke:after {
  border-color: black;
}

.panel-light .button--stroke:hover .button__label {
  color: white; /* invert text on hover */
}

.panel-light .button--stroke:hover:after {
  border-color: black; /* invert border on hover */
}

/* Panel-dark buttons: Start white border/text, hover invert to black fill/text */
.panel-dark .button {
  color: white;
}

.panel-dark .button--stroke:after {
  border-color: white;
}

.panel-dark .button--stroke:hover .button__label {
  color: black;
}

.panel-dark .button--stroke:hover:after {
  border-color: white;
}






.down-arrow-btn {
  width: 56px;
  height: 56px;
  border: 2px solid white;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
  margin: 20px auto 0; /* centers and spaces it below subtitle */
  box-sizing: border-box;
  outline: none;
}

.down-arrow-btn svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: white;
}

.down-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15); /* subtle hover glow */
  transform: translateY(-4px); /* gentle downward movement */
  
}


.gallery-mid-text {
    background-color: white;
    border: black 2px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-style: bold;
    color: black;
    vertical-align: middle;
}

/* Nav-style underline for gallery CTA */
.gallery-end-text a {
  
  position: relative;
  text-decoration: none;
  color: currentColor;
  transition: color 0.3s ease;
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  color: black;
  text-align: center;
}

.gallery-end-text {
    text-align: center;
    margin-bottom: 6%;
}

.gallery-end-text a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.gallery-end-text a:hover::after {
  width: 100%;
}


/* ===========================
   TEXT POSITIONING
=========================== */
.text-block-dark {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-block-aral {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* ===========================
   RESPONSIVE TYPOGRAPHY
=========================== */
@media (max-width: 1024px) {
  h1.title { font-size: 4rem; }
}
@media (max-width: 768px) {
  h1.title { font-size: 3rem; }
  .subtitle { font-size: 1rem; }
}

/* ===========================
            NAVBAR
=========================== */

/* ===========================
            ENHANCED NAVBAR
=========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  /* background: rgba(0,0,0,0.3); Initial dark background */
  color: white;
  z-index: 1000;
  font-family: 'Montserrat', sans-serif;
  backdrop-filter: blur(5px); /* Enhanced blur effect */
  -webkit-backdrop-filter: blur(5px); /* Safari support */
  border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle border */
  transition: all 0.3s ease; /* Fallback transition */
  will-change: background-color, color, opacity, transform; /* Performance optimization */
}

/* Logo styling with enhanced transitions */
.navbar .logo a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.6s ease;
  will-change: color;
}

/* Navigation links with enhanced transitions */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.6s ease, opacity 0.3s ease;
  will-change: color;
  position: relative;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Optional: Add underline effect on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Enhanced blur for better glass effect */
.navbar.light-theme {
 
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar.dark-theme {
 
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Responsive navbar */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .navbar .logo a {
    font-size: 16px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .nav-links a {
    font-size: 14px;
  }
}

/* Hide navbar on very small screens if needed */
@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
}




/* ===========================
            FOOTER
=========================== */
.footer {
  background-color: #0b0e16; /* Dark navy tone like your Figma */
  color: #ccc;
  padding: 60px 10%;
  font-family: 'Gotham', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

/* Left Section */
.footer-left .signature {
  max-width: 150px;
  margin-bottom: 15px;
  fill: white;
  color: white;
  filter: invert();
  transition: 0.3s ease;
  opacity: 0.8;
}

.footer-left .signature:hover {
  opacity: 1;
}

.footer-left p {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-left p:hover {
    color: white;
}

/* Quick Links */
.footer-links h4,
.footer-about h4 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-about-text {
 transition: color 0.3s ease;
}

.footer-about-text:hover {
    color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* About Project */
.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 350px;
  color: #aaa;
}

/* Scroll-to-Top */
.scroll-top-btn {
  width: 56px;
  height: 56px;
  border: 2px solid white;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
  margin: 0 auto; /* centers it in footer */
  box-sizing: border-box;
  outline: none;
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: white;
}

.scroll-top-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px); /* gentle upward hover motion */
}

.scroll-top {
  display: flex;
  justify-content: center;
  margin-top: 15px; /* spacing from footer content */
}


/* Bottom Row */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a img {
  width: 28px;
  margin-right: 15px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  fill: white;
}

.social-icons a img:hover {
  opacity: 1;
}



.footer-bottom p {
  font-size: 13px;
  color: #777;
}



    
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1);
  transition: 
    transform 0.35s ease,
    opacity 0.35s ease,
    box-shadow 0.4s ease,
    border-color 0.35s ease;
  mix-blend-mode: difference;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.25); /* Subtle glow */
}

/* Hide native cursor */
body {
  cursor: none;
}

/* Click shrink */
body:active .cursor-ring {
  transform: translate(-50%, -50%) scale(0.6);
}

/* Smooth hover shrink */
.cursor-ring.hovered {
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0.3;
}

/* Disable blend glow for dark ring */
[data-cursor="dark"] .cursor-ring {
  mix-blend-mode: normal;
}

/* Inputs/forms exception */
input, textarea, button, select {
  cursor: default;
}




/* Sidebar Container */
.sidebar-nav {
  position: fixed;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Gotham', sans-serif;
  pointer-events: none; /* lets cursor pass through the container */
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.sidebar-nav ul li a {
  text-decoration: none;
  color: rgba(255,255,255);
  font-size: 17px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color 0.4s ease;
  cursor: pointer;
}



.sidebar-nav ul li {
  position: relative;
  pointer-events: auto; /* re-enable interaction only for the links */
}

.sidebar-nav ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 2px;
  heidght: 40px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.4s ease;
}


.sidebar-nav ul li a:hover {
  opacity: 1; /* Just make it fully opaque on hover, keeping the same color */
}
/* Remove the line after the last label */
.sidebar-nav ul li:last-child::after {
  display: none;
}

.sidebar-nav ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.4s ease;
  /* Add this for GSAP animation compatibility: */
  will-change: background;
}




.project img {
    filter: brightness(0.8);
    transition: color 0.3s ease;
}

.project::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 14px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project:hover::after {
  opacity: 1;
}

.project img {
  transition: transform 0.4s ease;
}



.project:hover img {
  transform: scale(1.01);
  filter: brightness(1);
}


html, body, *, *::before, *::after {
  cursor: none !important;
}

#section5 {
  height: 100vh;             /* fill the viewport */
  scroll-snap-align: start;  /* snap to its top */
  scroll-snap-stop: always;  /* never skip it */
}



