* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: medium 500;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #f5f5dc;
  color: #8b4513;
  line-height: 1.6;
}

li,
a,
button {
  font-weight: 500;
  font-size: 16px;
  color: #b8860b;
  text-decoration: none;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.logo a {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav__links li a {
  color: #fff8dc;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav__links li a:hover {
  color: #b8860b;
}

.nav__links li a::after {
    content: " ";
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid #8b4513;
    transform: scaleX(0);
    transition: 0.2s linear;
}

.nav__links li a:hover::after {
    transform: scaleX(0.5);
}

.nav__links .navbar-extra ul a {
  color: #fff8dc;
  margin: 0 0.5rem;
}

.nav__links .navbar-extra ul a:hover {
  color: #b8860b;
}

#hamburger {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: 0.3s;
}

.container-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100%;
}

.slider {
  display: flex;
  width: 100%;
  height: 100vh;
  max-height: 700px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider img {
  flex: 1 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  object-fit: cover;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

.slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.slider-nav a {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.slider-nav a:hover,
.slider-nav a.active {
  background-color: #fff;
  transform: scale(1.2);
}

.container-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  gap: 20px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #8b4513;
  white-space: nowrap;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(to right, #8b4513, transparent);
}

.text-about {
  text-align: center;
  margin: 60px auto;
  max-width: 800px;
}

.text-about p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #8b4513;
  font-style: italic;
}

.batik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.batik-card,
.produk-card {
  background: #fff8dc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.batik-card:hover,
.produk-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 69, 19, 0.25);
  border-color: #b8860b;
}

.batik-image,
.produk-image {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.produk-image {
  height: 300px;
}

.batik-image img,
.produk-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.batik-card:hover .batik-image img,
.produk-card:hover .produk-image img {
  transform: scale(1.05);
}

.batik-content,
.produk-content {
  padding: 25px;
}

.batik-name,
.produk-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 10px;
}

.batik-origin,
.produk-origin {
  color: #b8860b;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
}

.batik-description,
.produk-description {
  color: #a0522d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.statement-card {
  position: relative;
  padding: 40px 30px;
  background: rgba(255, 248, 220, 0.3);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.statement-card:hover {
  background: rgba(255, 248, 220, 0.6);
  transform: translateY(-5px);
}

.statement-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  right: -20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #b8860b, transparent);
}

.statement-content .statement-name:first-child {
  font-size: 3rem;
  font-weight: 300;
  color: #b8860b;
  opacity: 0.3;
  margin-bottom: 10px;
}

.statement-content .statement-name:nth-child(2) {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 20px;
}

.statement-description {
  color: #a0522d;
  line-height: 1.6;
  text-align: left;
}

.footer {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  padding: 70px 0 30px;
  margin-top: 80px;
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: #fff8dc;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 50px;
  background: linear-gradient(to right, #fff8dc, transparent);
}

.footer-about p {
  color: #f5f5dc;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #f5f5dc;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 10px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  color: #f5f5dc;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #fff;
  padding-left: 10px;
}

@media (min-width: 1440px) {
  .container-body {
    max-width: 1600px;
    padding: 100px 60px 60px;
  }

  .batik-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .produk-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .container-body {
    max-width: 1200px;
    padding: 80px 40px 40px;
  }

  header {
    padding: 20px 40px;
  }

  .batik-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .produk-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  header {
    padding: 15px 30px;
  }

  .logo a {
    font-size: 20px;
  }

  .nav__links {
    gap: 20px;
  }

  .nav__links li a {
    font-size: 14px;
  }

  .container-body {
    padding: 60px 30px 30px;
  }

  .slider {
    height: 60vh;
    max-height: 500px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .batik-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .produk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .statement-card:not(:last-child)::after {
    display: none;
  }

  .text-about {
    margin: 40px auto;
    padding: 0 20px;
  }

  .text-about p {
    font-size: 1.1rem;
  }

  .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  header {
    padding: 15px 20px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.95);
    flex-direction: column;
    padding: 20px;
    backdrop-filter: blur(10px);
  }

  .nav__links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

  .slider {
    height: 50vh;
    max-height: 400px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title::after {
    width: 100%;
    height: 2px;
  }

  .batik-grid,
  .produk-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .statement-card {
    padding: 30px 20px;
  }

  .text-about {
    margin: 30px auto;
    padding: 0 10px;
  }

  .text-about p {
    font-size: 1rem;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .container-footer {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo a {
    font-size: 18px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.95);
    flex-direction: column;
    padding: 15px;
    backdrop-filter: blur(10px);
  }

  .nav__links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .container-body {
    padding: 30px 15px 15px;
  }

  .slider {
    height: 40vh;
    max-height: 300px;
  }

  .slider-nav {
    bottom: 1rem;
  }

  .slider-nav a {
    width: 8px;
    height: 8px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .batik-grid,
  .produk-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .batik-image,
  .produk-image {
    height: 200px;
  }

  .batik-content,
  .produk-content {
    padding: 20px;
  }

  .batik-name,
  .produk-name {
    font-size: 1.2rem;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .statement-card {
    padding: 25px 15px;
  }

  .statement-content .statement-name:first-child {
    font-size: 2rem;
  }

  .statement-content .statement-name:nth-child(2) {
    font-size: 1.3rem;
  }

  .text-about {
    margin: 25px auto;
    padding: 0 5px;
  }

  .text-about p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer {
    padding: 50px 0 20px;
  }

  .container-footer {
    padding: 0 15px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 319px) {
  .container-body {
    padding: 20px 10px 10px;
  }

  .slider {
    height: 35vh;
    max-height: 250px;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .batik-image,
  .produk-image {
    height: 180px;
  }

  .batik-content,
  .produk-content {
    padding: 15px;
  }

  .statement-card {
    padding: 20px 10px;
  }

  .text-about p {
    font-size: 0.85rem;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

