/* ================================
   GALLERY SECTION
================================ */
.gallery-section {
  padding: 80px 10px;
  text-align: center;
  background: #fff;
  font-family: "Poppins", sans-serif;
}
/* Header Block */
.gallery-header {
  margin-bottom: 40px;
}

.gallery-header .highlight {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d32f2f;
  background: rgba(211, 47, 47, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}


.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #666;
 line-height: 1.6;
}

.divider {
  width: 60px;
  height: 3px;
  background: #d32f2f;
  margin: 14px auto 20px auto;
  border-radius: 3px;
}
/* Gallery Features Row */
.gallery-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
  text-align: center;
}

.gallery-features .feature {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-features .feature i {
  font-size: 2rem;
  color: #d32f2f;
  margin-bottom: 15px;
}

.gallery-features .feature h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.gallery-features .feature p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Hover effect */
.gallery-features .feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-features {
    grid-template-columns: 1fr;
  }
}

/* Hide all tab contents by default */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

/* Show only the active tab */
.tab-content.active {
  display: block;
}

/* Tab styles */
.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.tab-btn.active {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
}

/* Smooth fade effect */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Scratch Effect */
.scratch-box {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto 50px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.scratch-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.scratch-img.before {
  clip-path: inset(0 50% 0 0); /* half hidden */
  transition: clip-path 0.2s;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #e63946;
  cursor: ew-resize;
}
/* Wooden Works Section */
.wooden-works {
  margin: 50px 0;
  text-align: center;
}

.wood-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}

.wood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wood-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wood-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.wood-item h4 {
  margin: 15px 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #d32f2f;
}

.wood-item p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 15px 20px;
}

/* Hover effect */
.wood-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 992px) {
  .wood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wood-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url("/assests/int/img/L2.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.17); /* subtle dark overlay */
}

.hero-banner .hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.28); /* semi-transparent background */
  border-radius: 12px;
  backdrop-filter: blur(6px); /* frosted glass effect */
  display: inline-block;
}

.hero-banner h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.4;
  color: #222; /* dark text */
  margin: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-banner {
    height: 60vh;
  }
  .hero-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-banner {
    height: 50vh;
  }
  .hero-banner h1 {
    font-size: 1.4rem;
  }
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
.section-title,
.section-subtitle {
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px auto; /* centers & adds spacing */
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Controls */
.lightbox .close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.lightbox-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-50%);
}

.lightbox-controls .prev,
.lightbox-controls .next {
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

.lightbox-controls .prev:hover,
.lightbox-controls .next:hover {
  color: #f0c14b;
}


/* Slider */
.slider {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.slides {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* hide scrollbar in Firefox */
}

.slides::-webkit-scrollbar {
  display: none; /* hide scrollbar in Chrome */
}

.slide {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: center;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.slide p {
  padding: 12px;
  font-size: 0.95rem;
  color: #444;
}

.slide:hover {
  transform: translateY(-6px);
}

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  font-size: 1.8rem;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  z-index: 10;
}

.slide-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow.left {
  left: 10px;
}

.slide-arrow.right {
  right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .scratch-box {
    height: 250px;
  }
  .slide {
    flex: 0 0 220px;
  }
}

/* Section Base */
.style-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  background: #fdfcf9;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap; /* helps for smaller screens */
}

.style-content {
  flex: 1;
  max-width: 40%;
}

.style-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.style-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #444;
}

.shop-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shop-btn:hover {
  background: #444;
  transform: translateY(-3px);
}

/* ---------- Gallery Shapes ---------- */
.style-gallery {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.gallery-item {
  width: 280px;
  height: 280px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circle Shape */
.circle {
  border-radius: 50%;
}

/* Diamond Shape */
.diamond {
  transform: rotate(45deg);
  border-radius: 16px;
}
.diamond img {
  transform: rotate(-45deg) scale(1.3);
}

/* Rounded Rectangle */
.rounded {
  border-radius: 40px;
}

/* Hover Animation */
.gallery-item:hover {
  transform: scale(1.07) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .style-content {
    max-width: 50%;
  }
  .gallery-item {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 992px) {
  .style-section {
    flex-direction: column;
    text-align: center;
  }

  .style-content {
    max-width: 90%;
  }

  .style-gallery {
    justify-content: center;
    gap: 20px;
  }

  .gallery-item {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .style-content h2 {
    font-size: 32px;
  }

  .style-content p {
    font-size: 15px;
  }

  .gallery-item {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }

  .circle {
    border-radius: 20px; /* makes it rectangular on mobile */
  }

  .diamond {
    transform: none;
    border-radius: 20px;
  }
  .diamond img {
    transform: none;
  }

  .rounded {
    border-radius: 20px;
  }
}