/* ============================
   GLOBAL STYLES & VARIABLES
============================ */

/* body {
  background: #090909;
} */
.margin {
  background: #090909;
}

.project-cover {
  background: #090909;
  border-bottom: 2px solid var(--color-border-white);
}

.project-cover-contents-img {
  background: url(/public/media/images/projects/sanket-project/showcse1.jpg)
    center / cover no-repeat;
}

.project-cover-contents-info-title {
  color: var(--color-text-inverse);
  /* font-family: var(--font-primary);
  font-size: 3.75rem;
  font-style: normal;
  font-weight: var(--heading-font);
  line-height: normal; */
}

.project-cover-contents-info-description {
  color: var(--color-text-inverse);
  /* font-family: var(--font-primary);
  font-size: 1rem;
  font-style: normal;
  font-weight: var(--subheading-font);
  line-height: normal; */
}

/* Project Image Overrides */
#project-img-1 {
  background: url(<path-to-image>) center / contain no-repeat;
}

#project-img-2 {
  background: url(/public/media/images/projects/sanket-project/2.png) center /
    contain no-repeat;
}

#project-img-3 {
  background: url(/public/media/images/projects/sanket-project/3.png) center /
    contain no-repeat;
}

#project-img-4 {
  background: url(/public/media/images/projects/sanket-project/4.png) center /
    contain no-repeat;
}

#project-img-5 {
  background: url(/public/media/images/projects/sanket-project/5.png) center /
    contain no-repeat;
}

/* ============================
   PROJECT TOGGLE SECTION
============================ */

.project-toggle-margin {
  display: flex;
  height: 5rem;
  padding: 0rem 6.25rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  align-self: stretch;
  background: var(--color-bg-primary);
}

.project-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
}

.arrow-shell {
  display: flex;
  padding: 0.625rem;
  align-items: center;
  gap: 0.625rem;
  border-radius: 6.25rem;
  border: 1px solid var(--color-border-white);
}

.arrow {
  width: 1.75rem;
  height: 1.75rem;
  aspect-ratio: 1/1;
  fill: rgba(255, 255, 255, 0);
  background-blend-mode: multiply;
}

.project-tabs-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  text-decoration: none;
}

.project-tab,
.project-tab-active {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
  text-align: center;
  text-decoration: none;
}

.project-tab {
  color: var(--color-text-inverse);
}

.project-tab-active,
.project-tab:hover,
.project-tab:active {
  color: var(--color-text-green);
}

/* ============================
   PROJECT COVER
============================ */

.project-cover {
  display: flex;
  padding: 0rem 6.25rem;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.project-cover-contents {
  display: flex;
  height: 48.0625rem;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  align-self: stretch;
}

.project-cover-contents-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  flex: 1 0 0;
  align-self: stretch;
}

.project-cover-contents-img {
  flex: 1 0 0;
  align-self: stretch;
}

.project-cover-contents-info-title,
.project-cover-contents-info-description {
  align-self: stretch;
}

.project-cover-contents-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ============================
   MEDIA CONTENT SECTIONS
============================ */

.project-video {
  width: 90%;
  align-self: center;
}

.project-img {
  width: 100%;
  align-self: center;
}

/* ========= VIDEO SECTION ========== */

.video-section {
  width: 100%;
  padding: 2rem 1rem;
}

.video-title {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-style: normal;
  font-weight: var(--heading-font);
  line-height: normal;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* ========== SINGLE VIDEO ========== */

.single-video-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.single-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* 
slider */
.slider-wrapper {
  /* padding: 2rem 0rem; */
  width: 100%;
  overflow: hidden;
  /* border-radius: 10px; */
}

.image-track {
  display: flex;
  transition: transform 0.05s linear; /* smooth manual control */
  gap: 1rem;
}

.image-track img {
  width: 600px;
  height: 400px;
  object-fit: cover;
}

.slider {
  width: 100%;
  margin-top: 10px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, #ffffff, #ffffff);
  border-radius: 5px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #090909;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--color-bg-white);
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
}

/* ============================
   RESPONSIVE STYLES
============================ */

/* Tablet */
@media screen and (max-width: 1024px) {
  .project-toggle-margin {
    padding: 0rem 2rem;
    height: auto;
  }

  .project-toggle {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .arrow-shell {
    padding: 0.5rem;
  }

  .project-tabs-section {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-tab,
  .project-tab-active {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .project-cover {
    padding: 0 2rem;
  }

  .project-cover-contents {
    flex-direction: column;
    height: auto;
    gap: 2rem;
  }

  .project-cover-contents-info {
    gap: 1.5rem;
  }

  .project-cover-contents-buttons {
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
  }

  .project-img,
  .project-video {
    width: 100%;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .video-title {
    font-size: 1.5rem;
  }
}

/* Mobile */
@media screen and (max-width: 480px) {
  .project-toggle-margin {
    padding: 0rem 1rem;
  }

  .project-tab,
  .project-tab-active {
    font-size: 0.95rem;
  }

  .arrow {
    width: 1.5rem;
    height: 1.5rem;
  }

  .video-title {
    font-size: 1.25rem;
  }

  .project-cover {
    padding: 0 1rem;
  }

  .project-cover-contents-info-description {
    font-size: 0.95rem;
    line-height: 1.4rem;
  }

  .project-cover-contents-buttons {
    flex-direction: row;
  }

  .video-grid,
  .single-video-wrapper {
    width: 100%;
  }
}
