* {
    margin: 0 auto;
    box-sizing: border-box;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* Banner Section Css Starts */
.ys-banner-section {
    height: 400px;
    padding: 0 20px;
    background-image: url('./assets/banner-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ys-banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #0000006d;
    pointer-events: none;
    z-index: 0;
}

.ys-project-title {
    text-align: center;
    color: white;
    font-size: 60px;
    font-weight: 400;
    font-family: "Ropa Sans", sans-serif;
    position: relative;
    z-index: 99;
}
/* Banner Section Css Ends */

/* Project Description Css Starts */
.ys-project-description {
    Padding: 80px 20px;
}

.ys-description-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ys-project-image {
    width: 40%;
    max-width: 100%;
    height: auto;
}

.ys-project-content {
    width: 60%;
    max-width: 100%;
    height: auto;
    padding: 30px;
    background-color: #f5f5f5;
}

.ys-project-image img {
    width: 100%;
    max-width: 100%;
    height: 550px;
    object-fit: cover;
}

.ys-project-content h2 {    
    color: #505c64;
    font-size: 30px;
    font-weight: 400;
    font-family: "Ropa Sans", sans-serif; 
    line-height: 1.2em; 
    margin-bottom: 15px; 
}

.ys-divider {
    width: 80px;
    height: 1px;
    background: #505c647e;
    display: block;
    margin: 15px 0;
}

.ys-project-content p {    
    color: #505c64;
    font-size: 20px;
    font-weight: 400;
    font-family: "Ropa Sans", sans-serif; 
    line-height: 1.5em;  
}

.ys-content-innerwrapper {
    padding: 30px;
    border: 1px solid #505c647e;
}
/* Project Description Css Ends */

/* Project Gallery Css Starts */
.ys-gallery-section {
    padding: 20px 20px 80px 20px;
}

.ys-project-gallery-title {
    color: #505c64;
    font-size: 45px;
    font-weight: 400;
    font-family: "Ropa Sans", sans-serif; 
    line-height: 1.2em; 
    margin-bottom: 15px;
    text-align: center;
    margin-bottom: 50px;
}

.ys-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop */
  gap: 15px;
}

.ys-project-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s ease;
}

.ys-project-gallery img:hover {
  transform: scale(1.008);
}

/* Lightbox */
.ys-project-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ys-project-lightbox-img {
  max-width: 90%;
  max-height: 80%;
}

.ys-project-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.ys-project-nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  padding: 10px;
}

.ys-project-prev { left: 10px; }
.ys-project-next { right: 10px; }
/* Project Gallery Css Ends */


/* ------------------ Responsive Css --------------- */
@media (max-width: 1024px) {
    /* Project Description Css Starts Here */
    .ys-description-wrapper {
    flex-direction: column;
}

.ys-project-image img {
    height: auto;
}

.ys-project-image {
    width: 100%;    
}

.ys-project-content {
    width: 100%;    
}
    /* Project Description Css Ends Here */

    /* Project Gallery Css Starts */
    .ys-project-gallery {
    grid-template-columns: repeat(2, 1fr); /* tablet */
}
    /* Project Gallery Css Ends */
}



@media (max-width: 767px) {
    /* Banner Section Css Starts Here */
    .ys-banner-section {
    height: 280px;
    padding: 0 15px;    
}

    .ys-project-title {    
    font-size: 38px;    
}
    /* Banner Section Css Ends Here */

    /* Project Description Css Starts Here */
    .ys-content-innerwrapper {
    padding: 10px;    
}

    .ys-project-content {   
    padding: 10px;    
}

    .ys-project-content h2 {
        font-size: 28px;
}

    .ys-project-content p {
        font-size: 18px;
}

    .ys-project-description {
    Padding: 60px 15px;
}
    /* Project Description Css Ends Here */

    /* Project Gallery Css Starts */
    .ys-project-gallery {
    grid-template-columns: 1fr;
}

    .ys-project-gallery-title {
    font-size: 32px;
    margin-bottom: 35px;
}

    .ys-project-gallery img {
    height: 240px;
}
    /* Project Gallery Css Ends */
}
