/* Projects Section Styles */
.projects-section {
  background: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.projects-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Title styling */
.projects-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.projects-title h3 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  color: #201a17;
  font-weight: 700;
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-block;
}

.projects-title h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #cd7656;
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  padding: 1rem 0 3rem;
}

/* Project Item */
.project-carousel-item {
  display: block;
  position: relative;
  margin: 0 15px;
  overflow: hidden;
  background: #000;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.project-carousel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Project Photo */
.project-carousel-photo {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
  background: #000;
}

.project-carousel-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-carousel-date {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 15px;
  

  border-radius: 50px;
  z-index: 2;
}

.project-carousel-item:hover .project-carousel-photo img {
  transform: scale(1.05);
}

/* Project Details */
.project-carousel-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0;
  color: #fff;
}

.project-carousel-category {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: #ce7e5f;
  margin-top: 0.3rem;
  position: relative;
  display: inline-block;
}

.project-carousel-category::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #ce7e5f;
  margin: 0 10px;
  vertical-align: middle;
}

.project-carousel-category::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #ce7e5f;
  margin: 0 10px;
  vertical-align: middle;
}

/* Project Details */
.project-carousel-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0) 100%);
  color: #fff;
  text-align: center;
  z-index: 2;
}

.project-carousel-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.project-carousel-category {
  font-size: 0.9rem;
  color: #cd7656;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

/* Project Date */
.project-carousel-date {
  position: absolute;
  top: 20px;
  right: 20px;

  color: #201a17;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  z-index: 3;
 
}

/* Navigation Arrows */
.owl-nav {
  position: absolute;
  top: 50%;
  left: -3rem;
  right: -3rem;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.owl-prev,
.owl-next {
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
  background: #cd7656 !important;
  color: #fff !important;
  transform: scale(1.1);
}

.owl-prev span,
.owl-next span {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: -2px;
}

/* Dots Pagination */
.owl-dots {
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0d8d2;
  transition: all 0.3s ease;
}

.owl-dot.active {
  background: #cd7656;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .projects-inner {
    padding: 0 1.5rem;
  }
  
  .owl-nav {
    left: -2rem;
    right: -2rem;
  }
}

@media (max-width: 991px) {
  .projects-section {
    padding: 4rem 0;
  }
  
  .projects-title h3 {
    font-size: 2rem;
  }
  
  .project-carousel-photo {
    padding-top: 70%;
  }
  
  .project-carousel-detail {
    padding: 1.5rem;
  }
  
  .project-carousel-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .projects-section {
    padding: 2.5rem 0;
  }
  
  .projects-title h3 {
    font-size: 1.6rem;
  }
  
  .project-carousel-detail {
    padding: 1rem;
  }
  
  .project-carousel-title {
    font-size: 1rem;
  }
}

/* Grid layout for works page */
.project-grid {
  margin-top: 2rem;
}

.project-item {
  display: block;
  position: relative;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
  text-decoration: none;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.project-photo img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.project-item:hover .project-photo img {
  transform: scale(1.05);
}

.project-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(32, 26, 23, 0.9), rgba(32, 26, 23, 0.7) 60%, transparent);
  color: #fff;
  transition: all 0.3s ease;
}

.project-category {
  font-size: 0.8rem;
  color: #cd7656;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
}

.project-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

@media (max-width: 767px) {
  .project-detail {
    padding: 1rem;
  }
  
  .project-title {
    font-size: 1rem;
  }
}
