/* Project Detail CSS für S.M.Ö Bau */

/* Project Detail Container */
.project-detail {
  padding: 50px 0;
}

/* Project Hero */
.project-hero {
  position: relative;
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.project-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-hero-subtitle {
  font-size: 1.2rem;
  color: #d1b762;
}

/* Project Info */
.project-info {
  display: flex;
  justify-content: space-between;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-info-item {
  text-align: center;
  padding: 0 20px;
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.project-info-item:last-child {
  border-right: none;
}

.project-info-title {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-info-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Project Description */
.project-description {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 25px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 1px;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: #d1b762;
  bottom: 0;
  left: 0;
}

.section-title .text-primary {
  color: #d1b762;
}

.project-description p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Before After Section */
.before-after-section {
  margin-bottom: 60px;
}

.image-comparison {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.before-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  object-fit: cover;
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #fff;
  z-index: 10;
  cursor: ew-resize;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  background-color: #d1b762;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 11;
  cursor: ew-resize;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
}

.comparison-handle:before,
.comparison-handle:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  left: 50%;
}

.comparison-handle:before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.comparison-handle:after {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Project Timeline */
.project-timeline {
  margin-bottom: 60px;
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #d1b762;
  border-radius: 50%;
  z-index: 1;
}

.timeline-marker:before {
  content: '';
  position: absolute;
  top: 20px;
  left: 9px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: rgba(209, 183, 98, 0.3);
}

.timeline-item:last-child .timeline-marker:before {
  display: none;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d1b762;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-title {
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.timeline-content {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* Project Gallery */
.project-gallery {
  margin-bottom: 60px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 20px;
}

.masonry-item {
  border-radius: 8px;
  overflow: hidden;
}

.masonry-item figure {
  margin: 0;
  line-height: 0;
}

.masonry-item img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

/* Client Testimonial */
.client-testimonial {
  margin-bottom: 60px;
}

.client-review {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  position: relative;
}

.review-icon {
  font-size: 2rem;
  color: rgba(209, 183, 98, 0.2);
  margin-bottom: 20px;
}

.client-review p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.client-review strong {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.review-rating {
  color: #d1b762;
}

/* Related Projects */
.related-projects {
  margin-bottom: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 350px;
}

.project-item figure {
  margin: 0;
  height: 100%;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transition: all 0.3s ease;
}

.project-title {
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.project-category {
  color: #d1b762;
  font-size: 0.9rem;
}

.project-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(-20px);
}

.project-item:hover .project-zoom {
  opacity: 1;
  transform: translateY(0);
}

.project-link {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #d1b762;
  border-radius: 50%;
  position: relative;
}

.project-zoom-icon:before,
.project-zoom-icon:after {
  content: '';
  position: absolute;
  background-color: #000;
}

.project-zoom-icon:before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.project-zoom-icon:after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mt-5 {
  margin-top: 50px;
}

.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .project-hero {
    height: 500px;
  }
  
  .project-hero-title {
    font-size: 2.2rem;
  }
  
  .project-info {
    flex-wrap: wrap;
  }
  
  .project-info-item {
    flex: 0 0 33.33%;
    margin-bottom: 20px;
  }
  
  .image-comparison {
    height: 400px;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .project-hero {
    height: 400px;
  }
  
  .project-hero-title {
    font-size: 1.8rem;
  }
  
  .project-hero-overlay {
    padding: 30px;
  }
  
  .project-info-item {
    flex: 0 0 50%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .image-comparison {
    height: 300px;
  }
  
  .timeline-item {
    padding-left: 40px;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .project-item {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .project-hero {
    height: 300px;
  }
  
  .project-hero-title {
    font-size: 1.5rem;
  }
  
  .project-hero-subtitle {
    font-size: 1rem;
  }
  
  .project-info-item {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
  }
  
  .project-info-item:last-child {
    border-bottom: none;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .image-comparison {
    height: 250px;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-item {
    height: 250px;
  }
} 