
* {
  box-sizing: border-box;
}

.layout-container {
  display: flex;
  flex-direction: row; 
  align-items: center; 
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px; 

  }

.project-details {
  flex: 1; 
  display: flex;
  flex-direction: column;
}

.project-title { font-family: 'Oswald', sans-serif; font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: #000; margin: 0 0 10px 0; line-height: 1.2; text-transform: uppercase; }
.project-location { font-family: 'Open Sans', sans-serif; font-size: 18px; font-weight: 700; color: #8B0000; margin-bottom: 20px; }
.project-description { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.6; color: #666; margin-bottom: 20px; }
.project-credits { font-family: 'Open Sans', sans-serif; font-size: 15px; color: #8B0000; font-weight: 700; }


.project-image-wrapper {
  flex: 1; 
  width: 100%;
  max-width: 100%;
  overflow: hidden; 
}

.gallery-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

/* ANA RESİM */
.main-image-area {
  position: relative;
  width: 100%;
  height: 450px; /* Masaüstü yüksekliği */
  background-color: #eaeaea;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ANA RESİM OKLARI */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 15px 10px;
  cursor: pointer;
  z-index: 10;
}
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* KÜÇÜK RESİM ALANI */
.thumbnail-area {
  display: flex;
  align-items: center;
  width: 100%;
  height: 90px;
  gap: 5px;
}

.thumb-nav-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0 5px;
  flex-shrink: 0; 
}

.thumbnail-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;
}
.thumbnail-strip::-webkit-scrollbar { display: none; }

.thumbnail {
  height: 100%;
  width: 120px;
  flex-shrink: 0;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
}
.thumbnail.active { opacity: 1; border-bottom: 3px solid #333; }
 

@media (max-width: 992px) {
  .layout-container {
    flex-direction: column; 
    padding: 20px 15px;
    gap: 20px;
  }

  .main-image-area {
    height: 60vw; 
    min-height: 250px;
  }

  .thumbnail-area {
    height: 70px; 
  }

  .thumbnail {
    width: 90px;
  }
}


.layout-container {
  background-color: #d3cccc !important; 
  border-radius: 12px !important;
}

.layout-container .project-title { color: #050505 !important; }
.layout-container .project-description { color: #201f1f !important; }
.layout-container .project-location, 
.layout-container .project-credits { color: #e74c3c !important;  }


.call-btn {
  display: inline-block;
  margin-top: 20px; 
  padding: 12px 28px;
  background-color: transparent; 
  color: #e74c3c; 
  border: 2px solid #e74c3c;
  border-radius: 6px; 
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none; 
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out; 
  align-self: flex-start; 
}
.call-btn:hover {
  background-color: #e74c3c; 
  color: #ffffff; 
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4); 
}

@media (max-width: 768px) {
  .call-btn {
    width: auto;
    padding: 10px 20px; 
    font-size: 13px; 
    margin-top: 20px;
    align-self: flex-start; 
  }
}