/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 62.5%; /* 1rem = 10px */
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
  }
  
  /* ===== Typography ===== */
  h1 {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.02em;
  }
  
  p {
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 300;
    opacity: 0.7;
  }
  
  /* ===== Navigation ===== */
  .nav {
    position: fixed;
    width: 100%;
    padding: 2.4rem;
    display: flex;
    justify-content: space-between;
    z-index: 100;
  }
  
/* Navigation Logo */
.nav__logo {
    display: flex;
    align-items: center;
    height: 100%; /* Takes full height of nav */
  }
  
  .nav__logo-image {
    height: 2.4rem; 
    width: auto; /* Maintains aspect ratio */
    transition: opacity 0.3s ease;
  }
  
  .nav__logo-image:hover {
    opacity: 0.8;
  }
  
  /* Mobile adjustments */
  @media (max-width: 768px) {
    .nav__logo-image {
      height: 2rem; /* Slightly smaller on mobile */
    }
  }
  
/* Navigation Menu */
.nav__menu {
    display: flex;
    gap: 2.4rem;
  }
  
  .nav__item {
    color: inherit; /* Inherits the white color from body */
    text-decoration: none; /* Removes underline */
    position: relative;
    cursor: pointer;
    font-size: 1.6rem; /* Adjust as needed */
    transition: opacity 0.3s ease;
  }
  
  .nav__item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
  }
  
  .nav__item:hover {
    opacity: 0.8;
  }
  
  .nav__item:hover::after {
    width: 100%;
  }
  
  /* ===== Hero Section ===== */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2.4rem;
  }
  
  .hero__title .line {
    display: block;
    overflow: hidden;
  }
  
/* ===== Scroller ===== */
.scroller {
  height: auto; /* Changed from 400vh */
  padding: 20vh 0; /* Add some vertical spacing */
}

.scroller__item {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
  .scroller__item p {
    /* Add some styling to make the text more prominent */
    font-size: clamp(2.5rem, 8vw, 8rem);
    font-weight: 300;
    line-height: 1;
  }

@media (max-width: 768px) {
  .scroller__item {
    height: 80vh;
  }
}

  /* Cursor Trailer */
.cursor-trailer {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
  }

  /* Micro-interactions */
.nav__item {
    transition: opacity 0.3s ease;
  }
  
  .nav__item:hover {
    opacity: 0.6;
  }
  
  /* Performance Optimizations */
  html {
    scroll-behavior: smooth;
  }
  
  body {
    overscroll-behavior-y: none;
  }
  
  /* Mobile Adjustments */
  @media (max-width: 768px) {
    .nav {
      padding: 1.6rem;
    }
    
    .nav__menu {
      gap: 1.6rem;
    }
    
    h1 {
      letter-spacing: -0.01em;
    }
  }

/* ===== Horizontal Projects Grid ===== */
.projects {
    padding: 8vw 0;
    width: 100vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory;
  }
  
  .projects__grid {
    display: flex;
    gap: 2vw;
    padding: 0 8vw;
    width: max-content;
    height: 100%;
  }
  
  .project {
    flex: 0 0 calc(33.333vw - 2vw); /* 33% of viewport width minus gap */
    scroll-snap-align: start;
    position: relative;
    height: 70vh; /* Fixed height for projects */
    min-width: 0; /* Prevent flex item overflow */
    color: white; /* Set base color for all text in project */
    text-decoration: none; /* Remove underline if present */
  }
  
  .project__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .project__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .project__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .project:hover .project__image img {
    transform: scale(1.05);
  }
  
  .project:hover .project__info {
    opacity: 1;
    transform: translateY(0);
  }
  
  .project__info h3,
  .project__info p {
      color: white; /* Explicitly set text color to white */
  }

  /* Optional: Add transition for smooth effect */
  .project__info h3,
  .project__info p {
      transition: color 0.3s ease;
  }

  /* Force white color on hover (in case any parent styles try to override) */
  .project:hover .project__info h3,
  .project:hover .project__info p {
      color: white !important;
      opacity: 1; 
  }



  /* Mobile Adaptation */
  @media (max-width: 768px) {
    .project {
      flex: 0 0 calc(80vw - 3vw); /* 50% of viewport width minus gap */
    }
    
    .projects__grid {
      gap: 3vw;
    }
  }

  /* Horizontal Arrows Effects */
  .projects-nav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 100;
  }
  
  .projects-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .projects-nav button:hover {
    background: rgba(255,255,255,0.4);
  }

  .projects::-webkit-scrollbar {
    height: 5px;
  }
  
  .projects::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
  }
  
  .projects::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
  }

.case-image-caption {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.6;
  margin-top: -1.5rem;
  margin-bottom: 4rem;
  color: #fff;
  text-align: left;
  max-width: 800px;
}


/* Loading */

  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .loader__inner {
    width: 100px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    position: relative;
  }
  
  .loader__inner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: white;
    animation: load 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  @keyframes load {
    0% { width: 0; }
    100% { width: 100%; }
  }

  /* Project grid micro-interactions */
.project__info h3 {
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
  }
  
  .project__info p {
    font-weight: 300;
    font-size: 1rem;
    opacity: 0.6;
  }
  
  /* Grid layout variations */
  .project:nth-child(3n+1) {
    grid-column: span 5;
  }
  
  .project:nth-child(3n+2) {
    grid-column: span 4;
  }
  
  .project:nth-child(3n+3) {
    grid-column: span 3;
  }

/* ===== Case Study Styles ===== */
.case-header {
    padding: 12vw 8vw 6vw;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
  }
  
  .case-header__title {
    margin-bottom: 6vw;
  }
  
  .case-header__title .line {
    display: block;
    padding-bottom: 0.2em; /* Adds safe space for descenders */
  }
  
  .case-header__meta {
    display: flex;
    gap: 6vw;
    margin-top: 4vw;
  }

  .case-header__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }
  
  
  .case-meta__item h4 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    opacity: 0.6;
  }
  
  .case-meta__item p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
  }
  
  .case-hero {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .case-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .case-content {
    padding: 0 8vw;
    margin: 12vw 0;
  }
  
  .case-section {
    margin-bottom: 12vw;
  }
  
  .case-section__header {
    margin-bottom: 4vw;
  }
  
  .case-section__title {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  

  .case-section__title--highlight {
    display: inline-block;
    position: relative;
  }
  
  .case-section__title--highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 2px;
    background-color: #00bfff; /* Bright sky blue */
    opacity: 1;
    transition: opacity 0.3s ease, background-color 0.3s ease;
  }


  .case-section__subtitle--highlight {
    display: inline-block;
    position: relative;
  }
  
  .case-section__subtitle--highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 2px;
    background-color: #ffc400; 
    opacity: 1;
    transition: opacity 0.3s ease, background-color 0.3s ease;
  }
  
  .case-section__subtitle--highlight:hover::after {
    opacity: 0.3; /* Fades on hover */
    background-color: #888; /* Optional: neutral gray on hover */
  }
  
  
  
  .case-section__title--highlight:hover::after {
    opacity: 0.3; /* Fades on hover */
    background-color: #888; /* Optional: neutral gray on hover */
  }
  
  
  .case-text {
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
  }

  .case-text--list {
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    padding-left: 2rem;
    list-style-type: disc;
  }
  
  .case-text--list li {
    margin-bottom: 1rem;
    opacity: 0.7;
  }
  
  
  .case-section--two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
  }
  
  .case-column__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 1.6rem;
  }
  
  .case-image {
    width: 100%;
    margin: 8vw 0;
  }
  
  .case-image img {
    width: 100%;
    height: auto;
  }
  
  .case-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
    margin: 6vw 0;
  }
  
  .case-process__item {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2vw;
  }
  
  .case-process__step {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 1.6rem;
  }
  
  .case-process__title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
  }
  
  .case-process__desc {
    font-size: 1.5rem;
    line-height: 1.6;
    opacity: 0.7;
  }
  
  .case-section--dark {
    background: #111;
    padding: 8vw;
    margin-left: -8vw;
    margin-right: -8vw;
  }
  
  .case-stats {
    display: flex;
    gap: 8vw;
    margin: 6vw 0;
  }
  
  .case-stat__value {
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 0.8rem;
  }
  
  .case-stat__label {
    font-size: 1.5rem;
    opacity: 0.6;
  }
  
  .case-gallery {
    margin: 12vw 0;
  }
  
  .case-gallery__item {
    margin-bottom: 2vw;
  }
  
  .case-gallery__item img {
    width: 100%;
    height: auto;
  }
  
  .case-cta {
    padding: 12vw 8vw;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .case-cta__title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 1.6rem;
  }
  
  .case-cta__project {
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 2.4rem;
  }
  
  .case-cta__link {
    font-size: 1.6rem;
    text-decoration: none;
    color: white;
    position: relative;
    display: inline-block;
  }
  
  .case-cta__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .case-cta__link:hover::after {
    transform-origin: left;
    transform: scaleX(1);
  }
  
  .case-listing {
    margin-top: 2rem;
    padding-left: 2rem;
    font-size: 1.6rem;
    line-height: 1.8;
    max-width: 800px;
  }
  
  .case-listing__group {
    margin-bottom: 3rem;
  }
  
  .case-listing__group h4 {
    font-size: 2.0rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    opacity: 0.9;
  }
  
  .case-listing__group ul {
    list-style-type: disc;
    padding-left: 2rem;
  }
  
  .case-listing__group li {
    margin-bottom: 0.8rem;
    opacity: 0.7;
  }
  

  /* Footer */
  .footer {
    padding: 8vw;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .footer__content {
    display: flex;
    justify-content: space-between;
  }
  
  .footer h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
  }
  
  .footer p {
    font-size: 1.2rem;
    opacity: 0.6;
  }
  
  .footer__links {
    display: flex;
    gap: 2.4rem;
    margin-bottom: 2.4rem;
  }
  
  .footer__link {
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
    position: relative;
  }
  
  .footer__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
  }
  
  .footer__link:hover::after {
    width: 100%;
  }
  
  @media (max-width: 768px) {
    .case-header {
      min-height: 100vh; /* Previously 60vh or 70vh */
      padding-top: 20vh;  /* Push title away from top */
      padding-bottom: 8vh; /* Give it breathing room below */
    }
  
    .case-header__title {
      font-size: 3.2rem;
      line-height: 1.2;
    }
  }
  

    
    .case-section--two-column {
      grid-template-columns: 1fr;
      gap: 6vw;
    }
    
    .case-process {
      grid-template-columns: 1fr;
      gap: 6vw;
    }
    
    .case-stats {
      flex-direction: column;
      gap: 6vw;
    }
    
    .footer__content {
      flex-direction: column;
      gap: 6vw;
    }
    
    .footer__links {
      flex-direction: column;
      gap: 1.6rem;
    }


  /* ===== About Page Styles ===== */
.about-hero {
    padding: 12vw 8vw 6vw;
    min-height: 80vh;
  }
  
  .about-hero__content {
    display: flex;
    flex-direction: column;
  }
  
  .about-hero__title {
    margin-bottom: 8vw;
  }
  
  .about-hero__title .line {
    display: block;
    overflow: hidden;
  }
  
  .about-hero__image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-top: auto;
  }
  
  .about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .about-intro {
    padding: 0 8vw;
    margin: 12vw 0;
  }
  
  .about-intro__title {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 4vw;
    max-width: 800px;
  }
  
  .about-intro__text {
    max-width: 600px;
  }
  
  .about-intro__text p {
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.6;
  }
  
  .about-details {
    padding: 0 8vw;
    margin: 12vw 0;
  }
  
  .about-section__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 4vw;
    opacity: 0.6;
  }
  
  .about-section__title--large {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 8vw;
  }
  
  .about-bio__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4vw;
    margin-bottom: 12vw;
  }
  
  .about-bio__item h4 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 1rem;
  }
  
  .about-bio__item p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.7;
  }
  
  .about-skills__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    margin-bottom: 12vw;
  }
  
  .about-skill h4 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 0.8rem;
  }
  
  .about-skill p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.7;
  }
  
  .about-tools__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-top: 2vw;
  }
  
  .about-tools__list span {
    font-size: 1.2rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
  }
  
  .about-experience {
    padding: 12vw 12vw; /* Increased side padding */
    background: #2b2b2b;
    margin-left: -4vw;   /* Reduced negative margin */
    margin-right: -4vw;
  }
  
  
  .experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 8vw;
  }
  
  .experience-item {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4vw;
  }
  
  .experience-item__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.6rem;
  }
  
  .experience-item__company {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 400;
  }
  
  .experience-item__duration {
    font-size: 1.2rem;
    opacity: 0.6;
  }
  
  .experience-item__title {
    font-size: 1.2rem;
    opacity: 0.6;
    margin-bottom: 1.6rem;
  }
  
  .experience-item__description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 600px;
  }
  
  .about-cta {
    padding: 12vw 8vw;
    text-align: center;
  }
  
  .about-cta__title {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2.4rem;
  }
  
  .about-cta__text {
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.6;
    margin-bottom: 4vw;
    opacity: 0.7;
  }
  
  .about-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    text-decoration: none;
    color: white;
    padding: 1.2rem 2.4rem;
    border: 1px solid white;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .about-cta__button:hover {
    background: white;
    color: black;
  }
  
  .about-cta__button svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .about-cta__button:hover svg {
    transform: translateX(4px);
  }
  
  /* Mobile Adjustments */
  @media (max-width: 768px) {
    .about-bio__content {
      grid-template-columns: 1fr;
      gap: 6vw;
    }
    
    .about-skills__grid {
      grid-template-columns: 1fr;
      gap: 6vw;
    }
    
    .about-hero__image {
      height: 40vh;
    }
    
    .experience-item__header {
      flex-direction: column;
      gap: 0.8rem;
    }
  }

  /* ===== CV Page Styles ===== */
.cv-container {
    padding: 12vw 8vw;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .cv-title .line {
    display: block;
    overflow: hidden;
  }
  
  .cv-download {
    margin-top: 6vw;
  }
  
  .cv-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.6rem 3.2rem; /* Bigger padding = larger button */
    font-size: 1.6rem;       /* Slightly larger text */
    border: 1px solid white;
    border-radius: 100px;    /* Fully rounded corners */
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .cv-button:hover {
    background: white;
    color: black;
  }
  
  
  /* ===== Contact Page Styles ===== */
  .contact-container {
    padding: 12vw 8vw;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .contact-title .line {
    display: block;
    overflow: hidden;
  }
  
  .contact-links {
    display: flex;
    gap: 3rem;
    margin-top: 6vw;
    flex-wrap: wrap;
  }
  
  .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    transition: opacity 0.3s ease;
  }
  
  .contact-link:hover {
    opacity: 0.7;
  }
  
  .contact-link i {
    font-size: 2rem;
  }
  
  /* Mobile Adjustments */
  @media (max-width: 768px) {
    .contact-links {
      flex-direction: column;
      gap: 2rem;
    }
  }

.nav__logo-typewriter {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 2.4rem;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 0;
  opacity: 1;
  color: #ffffff; 
  text-decoration: none;
}

.nav__logo,
.nav__logo:visited,
.nav__logo:hover,
.nav__logo:active {
  text-decoration: none !important;
  color: inherit !important;
}

.fullscreen {
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.image-grid-horizontal {
  width: 100vw;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  background-color: black;
}

.image-track {
  display: flex;
  gap: 6rem;
  padding: 0 6rem;
  align-items: center;
}

.image-track img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
  scroll-snap-align: center;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.image-track img:hover {
  transform: scale(1.1);
}


.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.image-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.image-modal::after {
  content: "✕";
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
