@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body,
html {
  height: 100%;
  font-family: "Poppins", sans-serif;
  /* overflow-x: hidden; */
  overscroll-behavior-x: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.craftsmanship-text-heading,
.craftsmanship-signature-title,
.craftsmanship-text-title,
.craftsmanship-feature-title,
.services-title {
  font-family: "Crimson Text", serif !important;
}

.craftsmanship-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../assets/images/craftsmenship/craftsmenship-banner.webp"); /* replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.craftsmanship-text-intro {
  background-color: #fdf8f4;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.craftsmanship-text-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.craftsmanship-text-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
  line-height: 40px;
}

.craftsmanship-text-paragraph {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.craftsmanship-signature-section {
  background-color: #fdf8f4;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.craftsmanship-signature-wrapper {
  max-width: 700px;
  text-align: center;
}

.craftsmanship-signature-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  transition: transform 0.5s ease;
}

.craftsmanship-signature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.craftsmanship-signature-description,
.craftsmanship-signature-closing {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

/* .craftsmanship-fullscreen-slider {
  background-color: #fdf8f4;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.craftsmanship-slider-frame {
  display: flex;
  transition: transform 0.7s ease;
  flex-grow: 1;
}

.craftsmanship-slider-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: center; 
  padding-top: 20px;
  box-sizing: border-box;
}

.craftsmanship-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-grow: 1;
  display: block;
  max-height: calc(100vh - 100px); 
}

.craftsmanship-slider-slide p {
  font-size: 1rem;
  color: #333;
  background-color: #fdf8f4;
  padding: 10px 0;
  padding-left: 20px;
  text-align: start;
}

.craftsmanship-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 30px;
}

.craft-line {
  width: 60px;
  height: 2px;
  background-color: #ddd;
  overflow: hidden;
  position: relative;
}

.craft-fill {
  display: block;
  height: 100%;
  width: 0%;
  background-color: #111;
  transition: width 0s;
} */

.craftsmanship-text-highlight {
  background-color: #fdf8f4;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.craftsmanship-text-container {
  max-width: 800px;
  margin: 0 auto;
}

.craftsmanship-text-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.craftsmanship-text-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.craftsmanship-feature-section {
  background-color: #fdf8f4;
  padding: 80px 20px;
  text-align: center;
}

.craftsmanship-feature-image img {
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.craftsmanship-feature-text {
  max-width: 850px;
  margin: 40px auto 0;
}

.craftsmanship-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.craftsmanship-feature-caption {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.craftsmanship-overlay-section {
  background-color: #fdf8f4;
  padding: 80px 20px;
  text-align: center;
}

.craftsmanship-overlay-top-text p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.craftsmanship-overlay-image-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.craftsmanship-overlay-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1500px;
}

/* SERVICE SECTION */
.services-section {
  padding: 60px 20px;
  text-align: center;
}

.services-title {
  font-size: 1.8rem;
  margin-bottom: 50px;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-item {
  padding: 10px 20px;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.service-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 16px;
}

.service-link {
  font-size: 0.95rem;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #111;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #6a1b9a;
  border-color: #6a1b9a;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .craftsmanship-feature-image img {
    width: 100%;
  }
  .craftsmanship-text-intro {
    padding: 50px 20px;
  }

  .craftsmanship-signature-section {
    padding: 0;
  }

  .craftsmanship-signature-description,
  .craftsmanship-signature-closing,
  .craftsmanship-text-highlight {
    padding: 0 10px 0 10px;
    /* text-align: justify; */
  }

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

  .craftsmanship-feature-section,
  .craftsmanship-overlay-section {
    padding: 30px 20px;
  }
}

/* SLIDER */

.scroll-gallery-section {
  position: relative;
  height: 100vh;
}

.scroll-gallery-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.scroll-gallery-track {
  display: flex;
  width: auto;
  height: 100%;
  will-change: transform;
}

.scroll-slide {
  flex: 0 0 100%;
  height: 100vh;
  position: relative;
}

.scroll-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-slide p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #000;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 6px;
}

.craftsmanship-text-highlight {
  /* height: 100vh; */
  /* background: #f5f5f5; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .scroll-gallery-section,
  .scroll-gallery-container,
  .scroll-slide {
    height: auto;
  }

  .scroll-gallery-container {
    overflow-x: auto;
  }

  .scroll-gallery-track {
    flex-direction: row;
    width: max-content;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
  }

  .scroll-slide {
    flex: 0 0 80vw;
    height: auto;
    margin-right: 16px;
    scroll-snap-align: start;
  }

  .scroll-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .scroll-slide p {
    font-size: 14px;
    bottom: 10px;
    left: 10px;
  }

  .pin-spacer{
    height: 200px !important;
    padding: 0px !important;
  }
}
