/*===================================== 
YOU CAN WRIGHT CUSTOME CSS 
======================================*/
.hero-title {
  transition: none;
  text-align: left;
  line-height: 82px;
  border-width: 0px;
  margin: 0px;
  padding: 0px;
  letter-spacing: 0px;
  font-weight: 400;
  font-size: 80px;
}
.hero-title2 {
  transition: none;
  text-align: left;
  line-height: 82px;
  border-width: 0px;
  margin: 0px;
  padding: 0px;
  letter-spacing: 0px;
  font-weight: 400;
  font-size: 66px;
}

.service-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 60px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: #7f8c8d;
}

.category-toggle {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.toggle-btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #c67591;
  background: white;
  color: #c67591;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.toggle-btn.active {
  background: #c67591;
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: white;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  position: relative;
}

.carousel-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .carousel-slide::after {
  content: attr(data-label);
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
} */

/* Different colors for each stage */
.stage-before {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.stage-process-1 {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.stage-process-2 {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.stage-after {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

.project-info {
  padding: 15px 20px;
  background: black;
}

.project-info h3 {
  font-size: 18px;
  color: white;
  margin: 0;
}

.wireframe-note {
  text-align: center;
  padding: 30px;
  background: #ecf0f1;
  border-radius: 8px;
  margin-top: 40px;
}

.wireframe-note h4 {
  color: #34495e;
  margin-bottom: 10px;
}

.wireframe-note p {
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .toggle-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-container {
    padding: 40px 20px;
  }

  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .category-toggle {
    flex-direction: row;
    gap: 10px;
  }

  .toggle-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
  }

  .carousel-container {
    height: 280px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  padding: var(--grid-gap);
  background: #d8d8d8;
}

/* ── CARD ── */
.card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  display: block;
  background: #ccc;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(0.75);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 15, 15, 0.75) 0%,
    rgba(15, 15, 15, 0.15) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.card-sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 4px;
}

.card-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.75);
  opacity: 0;
  transition:
    opacity 0.3s 0.05s,
    transform 0.3s 0.05s;
  pointer-events: none;
}

.card:hover .card-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-zoom svg {
  width: 38px;
  height: 38px;
  stroke: #fff;
  fill: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.35s,
    visibility 0.35s;
}

#lightbox.open {
  visibility: visible;
  opacity: 1;
}

.lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lb-box {
  pointer-events: all;
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#lightbox.open .lb-box {
  transform: translateY(0) scale(1);
}

#lb-img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.lb-caption {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 4px 0;
  gap: 12px;
}

.lb-caption-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 300;
  color: #fff;
}

.lb-caption-sub {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}

.lb-counter {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 4px;
  white-space: nowrap;
}

.lb-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 1001;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.25s,
    color 0.25s;
}

.lb-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lb-close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 46px;
  height: 86px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.lb-nav:hover {
  background: rgba(196, 163, 90, 0.12);
  border-color: var(--gold);
}
.lb-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
#lb-prev {
  left: 14px;
}
#lb-next {
  right: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  header {
    padding: 0;
    height: 64px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lb-nav {
    width: 34px;
    height: 60px;
  }
  #lb-prev {
    left: 4px;
  }
  #lb-next {
    right: 4px;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
