body {
    height: 100vh;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #000000; 
    color: rgb(205, 237, 179);
}

.header {
    width: 100%;
}

.navv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 8rem 0 7rem;
}

.spinner-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;   /* slightly larger than the image */
  height: 40px;
}

.center-image {
  position: relative;
  z-index: 2;
  border-radius: 50%;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 2px solid rgb(205, 237, 179); /* spinner color */
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  z-index: 1;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.details-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 3rem 8rem 0 7rem;
    min-height: 70vh;
}
.seperator{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.current-project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Media Container - Full width wrapper */
.current-project .media-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Single Video - Centered at 50% width */
.current-project .media-container .project-video {
    width: 50%;
    margin: 0 auto;
}

.current-project .media-container .project-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Image Gallery - Full width for multiple images */
.current-project .media-container .image-gallery {
    width: 80%;
  display: grid;
  gap: 1rem;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 auto;
}

/* Multiple images - 3 columns grid  320 310min 320max*/
/* .current-project .media-container .image-gallery:has(.image-card:nth-child(2)) {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
} */

/* Single image - Centered at 50% width */
/* .current-project .media-container .image-gallery:has(.image-card:only-child) {
    width: 50%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    justify-content: center;
} */

.current-project .media-container .image-gallery .image-card {
    /*background: #f9f9f9;*/
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.current-project .media-container .image-gallery .image-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.current-project .media-container .image-card img {
   width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.image-gallery.single-image {
  width: 60%;
  grid-template-columns: 1fr;
}




/* .current-project .media-container .image-card img:hover {
    transform: scale(1.05);
} */

.bottom-container {
    margin-top: 3rem;
    display: flex;
    gap: 5rem;
    font-size: .7rem;
    justify-content: space-between;
    width: 90%;
}

.bottom-right {
    flex-basis: 50%;
}

.bottom-left {
    flex-basis: 50%;
}

.prev-project {
    position: absolute;
    left: 2rem;
    color : rgb(42, 43, 41);
}

.next-project {
    position: absolute;
    right: 2rem;
    color : rgb(42, 43, 41);
}

.prev-project a,
.next-project a {
    text-decoration: none;
    color:  rgb(205, 237, 179);
    font-size: 1rem;
    transition: opacity 0.3s;
}

.prev-project a:hover,
.next-project a:hover {
    opacity: 0.6;
}

.bottom-left .title {
    font-weight: bold;
}

.bottom-left .title span {
    font-weight: normal;
    font-style: italic;
}

.bottom-left .crew p {
    margin: -0.1rem 0;
}

.bottom-left .crew {
    margin: 1.5rem 0;
}

.bottom-right p {
    margin: .8rem 0;
    line-height: 1rem;
}

.bottom-right p span {
    font-weight: bold;
}
.socials{
    display: flex;
    text-decoration: none;
    color: black;
    gap: 2rem;
    padding: 2rem 0;
}
.socials a{
    color:  rgb(205, 237, 179);
}
/* Quill content styles */
.quill-content {
    line-height: 1rem;
    font-size: .7rem;
}

.quill-content p {
    margin: .6rem 0;
}

.quill-content h1,
.quill-content h2,
.quill-content h3,
.quill-content h4,
.quill-content h5,
.quill-content h6 {
    margin: 1rem 0 .5rem 0;
    font-weight: bold;
}

.quill-content ul,
.quill-content ol {
    padding-left: 1.5rem;
    margin: .5rem 0;
}

.quill-content li {
    margin: .2rem 0;
}

.quill-content blockquote {
    border-left: 3px solid #ddd;
    padding-left: .8rem;
    margin: .8rem 0;
    font-style: italic;
    color: #666;
}

.quill-content strong {
    font-weight: bold;
}

.quill-content em {
    font-style: italic;
}

.quill-content u {
    text-decoration: underline;
}

.quill-content s {
    text-decoration: line-through;
}

.quill-content a {
    color: #0066cc;
    text-decoration: none;
}

.quill-content a:hover {
    text-decoration: underline;
}

.quill-content img {
    max-width: 100%;
    height: auto;
    margin: .5rem 0;
}

.quill-content code {
    background: #f5f5f5;
    padding: .1rem .3rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: .65rem;
}

.quill-content pre {
    background: #f5f5f5;
    padding: .8rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: .8rem 0;
}

.quill-content pre code {
    background: none;
    padding: 0;
}

/* Text alignment classes from Quill */
.quill-content .ql-align-center {
    text-align: center;
}

.quill-content .ql-align-right {
    text-align: right;
}

.quill-content .ql-align-justify {
    text-align: justify;
}
.btn-watch-video {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 2px solid rgb(205, 237, 179);
    color: rgb(205, 237, 179);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-watch-video:hover {
    background-color: rgb(42, 43, 41);
}

/* Tablet breakpoint */
@media (max-width: 1600px) {
  .current-project .media-container .image-gallery {
    width: 85%;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .current-project .media-container .project-video {
    max-width: 850px;
  }
}

@media (max-width: 1200px) {
  .current-project .media-container .image-gallery {
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .current-project .media-container .project-video {
    max-width: 750px;
  }
}

@media (max-width: 1024px) {
    /* 2 columns on tablets for multiple images */
    .current-project .media-container .image-gallery:has(.image-card:nth-child(2)) {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Single image/video stays at 60% on tablets */
    .current-project .media-container .project-video,
    .current-project .media-container .image-gallery:has(.image-card:only-child) {
        width: 60%;
    }
}
@media (max-width: 900px) {
  .current-project .media-container .image-gallery {
    width: 95%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .current-project .media-container .project-video {
    max-width: 600px;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    
    
    /* Single column for all images on mobile */
    .current-project .media-container .image-gallery:has(.image-card:nth-child(2)) {
        grid-template-columns: 1fr;
    }
    
    /* Single image/video takes full width on mobile */
    .current-project .media-container .project-video,
    .current-project .media-container .image-gallery:has(.image-card:only-child) {
        width: 100%;
    }
    
}



@media (max-width: 768px) {
    .navv {
        padding: 2rem 4rem 0 4rem;
    }
    
    .details-container {
        padding: 2rem 4rem 0 4rem;
    }
  .current-project .media-container .image-gallery {
      flex-direction: column;
      width: 100%;
  }

  .current-project .media-container .image-gallery .image-card {
      min-width: 100%;
      max-width: 100%;
  }
  
    .bottom-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .prev-project {
        left: 1rem;
    }
    
    .next-project {
        right: 1rem;
    }
}

@media (max-width: 600px) {
  .current-project .media-container {
    flex-direction: column;
    align-items: center;
  }

  .current-project .media-container .image-gallery {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .current-project .media-container .project-video {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 450px) {
    .navv {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .details-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
