/* General styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: white;
  color: #000;
  overflow-x: hidden;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  background-color: white;
  z-index: 10;
  border-bottom: none;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

a.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

a.logo:hover {
  opacity: 0.6;
}

.interactive-subtitle {
  display: flex;
  gap: 0.8rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 0.2rem;
}

.role {
  position: relative;
  cursor: default;
  transition: all 0.3s ease;
}

.role:hover {
  color: #000;
  font-weight: 500;
}

.role:not(:last-child)::after {
  content: "–";
  position: absolute;
  right: -0.5rem;
  opacity: 0.5;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 2px;
  width: 25px;
  background: #000000;
  display: block;
}

/* Slideshow container */
.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto 0;
}

/* Slide content flex layout */
.slide-content-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-wrapper {
  flex: 1;
  max-width: 600px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  width: 100%;
  height: 340px;
  border: none;
  display: block;
}

.quote {
  flex: 1;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  padding: 1.5rem;
  border-left: 3px solid #999;
  background-color: #fafafa;
  color: #333;
  border-radius: 0 8px 8px 0;
}

.quote .source {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: #666;
}

.quote .source a {
  color: #444;
  text-decoration: none;
  border-bottom: 1px dotted #999;
}

/* Navigation buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 25px;
  height:25px;
  padding: 16px;
  margin-top: -25px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.prev {
  left: -70px;
}

.next {
  right: -70px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Caption container */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 8px 16px;
  color: white;
  margin-top: 20px;
  border-radius: 4px;
}

/* Thumbnail row */
.row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 30px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 50%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.column {
  flex: 0 0 auto;
  scroll-snap-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

.column img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  border: 1px solid #eee;
}

.demo {
  opacity: 0.8;
}

.active, .demo:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.active {
  border: 2px solid #222;
}

/* Canvas background */
#linesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Scrollbar styling */
.row::-webkit-scrollbar {
  height: 6px;
}

.row::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.row::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.row::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.filters {
  text-align: center;
  margin: 4rem auto 1rem;
  z-index: 1;
  position: relative;
}

.filter-btn {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .prev {
    left: 0;
  }
  .next {
    right: 0;
  }
}

/* GLOBAL STYLES */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: white;
  color: #000;
  overflow-x: hidden;
}

/* NAVIGATION STYLES */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  position: relative;
  z-index: 10;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

a.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s;
}

a.logo:hover {
  opacity: 0.6;
}

.interactive-subtitle {
  display: flex;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.7);
}

.role {
  cursor: default;
  transition: all 0.3s ease;
}

.role:hover {
  color: #000;
  font-weight: 500;
}

.role:not(:last-child)::after {
  content: "–";
  opacity: 0.5;
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  width: 25px;
  background: #000;
}



/* FILTER BUTTONS FIX */
.filters {
  text-align: center;
  margin: 4rem auto 1rem;
}

.filter-btn {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* ABOUT ME PAGE STYLES */
.about-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
}

.about-header h1 {
  font-size: 2rem;
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
}

.about-text p {
  line-height: 1.6;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-item {
  padding: 0.8rem;
  background-color: #f3f3f3;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-3px);
}

.about-image {
  width: 100%;
  border-radius: 8px;
}

/* CONTACT PAGE STYLES */
.container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  padding: 0.8rem;
  background-color: #000;
  color: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #333;
}

/* RESPONSIVE STYLES */


@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 2rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  .filter-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}


@media (max-width: 768px) {
  .nav-links {
    display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 2rem;
        background: white;
        padding: 1.5rem 2rem;
        border-radius: 12px;
        gap: 1.5rem;
        min-width: 200px;
  }


  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .interactive-subtitle {
    font-size: 0.75rem;
    gap: 0.6rem;
  }
  
  .prev,
  .next {
    display: none;
  }
  
  .video-wrapper iframe {
    height: 200px;
  }
  
  .column {
    width: 90px;
  }
  
  .column img {
    height: 60px;
  }
}

@media (max-width: 412px) {
  .video-wrapper {
    padding: 0 10px;
  }
  
  .filters {
    margin: 4rem auto 0.5rem;
    padding: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .quote {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Inline styles from aboutme.html */
* {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: 'Inter', sans-serif;
      background-color: white;
      color: #000;
      overflow-x: hidden;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      position: relative;
      background-color: white;
      z-index: 10;
      border-bottom: none;
    }

    .logo-container {
      display: flex;
      flex-direction: column;
    }

    a.logo {
      font-size: 1.25rem;
      font-weight: 600;
      color: #000;
      text-decoration: none;
    }

    a.logo:hover {
      opacity: 0.6;
    }

    .interactive-subtitle {
      display: flex;
      gap: 0.8rem;
      font-size: 0.75rem;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.7);
      margin-top: 0.2rem;
    }

    .role {
      position: relative;
      cursor: default;
      transition: all 0.3s ease;
    }

    .role:hover {
      color: #000;
      font-weight: 500;
    }

    .role:not(:last-child)::after {
      content: "–";
      position: absolute;
      right: -0.5rem;
      opacity: 0.5;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
    }

    .nav-links a {
      text-decoration: none;
      color: #000;
      font-weight: 400;
      transition: opacity 0.2s ease;
    }

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

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger span {
      height: 2px;
      width: 25px;
      background: #000;
      display: block;
    }

    .about-container {
      max-width: 800px;
      margin: 3rem auto;
      padding: 0 2rem;
    }

    .about-header {
      margin-bottom: 2rem;
    }

    .about-header h1 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }

    .about-content {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    @media (min-width: 768px) {
      .about-content {
        grid-template-columns: 1fr 1fr;
      }
    }

    .about-text {
      font-size: 1rem;
    }

    .about-image {
      width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .skills-section {
      margin-top: 2rem;
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }

    .skill-item {
      background: rgba(0,0,0,0.03);
      padding: 0.8rem;
      border-radius: 4px;
      text-align: center;
      transition: transform 0.2s ease;
    }

    .skill-item:hover {
      transform: translateY(-3px);
      background: rgba(0,0,0,0.05);
    }

    .cv-download {
      margin-top: 2rem;
    }

    .cv-download a {
      display: inline-block;
      padding: 0.75rem 1.25rem;
      background-color: #000;
      color: #fff;
      text-decoration: none;
      border-radius: 6px;
      font-weight: 500;
    }

    .cv-download a:hover {
      background-color: #333;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 2rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 2rem;
        border-radius: 12px;
        gap: 1.5rem;
        min-width: 200px;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }

      .interactive-subtitle {
        font-size: 0.75rem;
        gap: 0.6rem;
      }
    }

/* Inline styles from contact.html */
* {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: 'Inter', sans-serif;
      background-color: white;
      color: #000;
      overflow-x: hidden;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      position: relative;
      background-color: white;
      z-index: 10;
      border-bottom: none;
    }

    .logo-container {
      display: flex;
      flex-direction: column;
    }

    a.logo {
      font-size: 1.25rem;
      font-weight: 600;
      color: #000;
      text-decoration: none;
    }

    a.logo:hover {
      opacity: 0.6;
    }

    .interactive-subtitle {
      display: flex;
      gap: 0.8rem;
      font-size: 0.75rem;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.7);
      margin-top: 0.2rem;
    }

    .role {
      position: relative;
      cursor: default;
      transition: all 0.3s ease;
    }

    .role:hover {
      color: #000;
      font-weight: 500;
    }

    .role:not(:last-child)::after {
      content: "–";
      position: absolute;
      right: -0.5rem;
      opacity: 0.5;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
    }

    .nav-links a {
      text-decoration: none;
      color: #000;
      font-weight: 400;
      transition: opacity 0.2s ease;
    }

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

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger span {
      height: 2px;
      width: 25px;
      background: #000;
      display: block;
    }

    .container {
      max-width: 600px;
      margin: 4rem auto;
      padding: 0 2rem;
    }

    h1 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    p {
      font-size: 1rem;
      margin-top: 2rem;
      line-height: 1.6;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    input, textarea {
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
      font-family: inherit;
    }

    button {
      padding: 0.75rem 1.25rem;
      background-color: black;
      color: white;
      font-size: 1rem;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    button:hover {
      background-color: #333;
    }

    .cv-download {
      margin-top: 2rem;
      text-align: center;
    }

    .cv-download a {
      display: inline-block;
      padding: 0.75rem 1.25rem;
      background-color: #000;
      color: #fff;
      text-decoration: none;
      border-radius: 6px;
      font-weight: 500;
    }

    .cv-download a:hover {
      background-color: #333;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 2rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 2rem;
        border-radius: 12px;
        gap: 1.5rem;
        min-width: 200px;
      }

      .nav-links a {
        font-size: 1.1rem;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }

      .interactive-subtitle {
        font-size: 0.75rem;
        gap: 0.6rem;
      }
    }

 /* Slideshow Responsive (mobile/tablet fix) */
@media (max-width: 900px) {
  .slide-content-flex {
    flex-direction: column;
    gap: 30px;
    padding: 0 1rem;
  }

  .video-wrapper {
    max-width: 100%;
  }

  .video-wrapper iframe {
    height: 200px; /* Smaller height for mobile/tablet */
  }

  .quote {
    border-left: none;
    border-top: 3px solid #999;
    border-radius: 0 0 8px 8px;
  }
}

    