/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
/* Font Awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

:root {
  --text-color: #1a1a1a;
  --main-color: #7cbd0d;
  --bg-color: #f7f7f7;
}

body {
  background: var(--bg-color);
}

section {
  padding: clamp(40px, 8vw, 80px) 5%;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  background: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
  height: clamp(40px, 8vw, 55px);
  width: auto;
}

.navbar {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar a {
  font-size: clamp(0.9rem, 2vw, 1rem);
  padding: 10px 15px;
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.3s;
  letter-spacing: 1px;
}

.navbar a:hover {
  color: var(--main-color);
}

#menu-icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  color: var(--text-color);
}

/* ===== HOME HERO ===== */
.home {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url(img/home11.jpg) center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.home-text {
  text-align: center;
  max-width: 700px;
}

.home-text h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.home-text span {
  color: #ffffff;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: #2a2a2a;
  color: #fff;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== KATALOG ===== */
.katalog {
  padding: clamp(60px, 10vw, 100px) 5%;
  background: var(--bg-color);
}

.katalog-header {
  text-align: center;
  margin-bottom: 60px;
}

.katalog-header span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 15px;
}

.katalog-header p {
  font-size: clamp(0.75rem, 2vw, 1.2rem);
  color: #1f1f1f;
  font-weight: 200;
  margin-top: 10px;
  letter-spacing: 1px;
}

.katalog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.katalog-card {
  background: #ffffff;
  border: 1px solid  #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.katalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #2a2a2a;
}

.katalog-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  font-size: clamp(4rem, 10vw, 5rem);
  color: #d0d0d0;
  transition: all 0.4s;
}

.katalog-card:hover .katalog-img {
  color: #2a2a2a;
}

.katalog-content {
  padding: 30px;
}

.katalog-content h3 {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.katalog-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}


.btn-katalog {
  display: inline-block;
  background: #2a2a2a;
  color: #fff;
  padding: 10px 24px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-katalog:hover {
  background: var(--main-color);
  transform: scale(1.05);
}

/* LUXURY MINIMAL GALLERY - LANDSCAPE VERSION */
.gallery-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 5%;
    background: #fff;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 15px;
}

.gallery-header p {
  font-size: clamp(0.75rem, 2vw, 1.2rem);
  color: #1f1f1f;
  font-weight: 200;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* Slider Container */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    gap: 20px;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    aspect-ratio: 16/10; /* LANDSCAPE RATIO */
    background: #f5f5f5;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan ter-crop sedikit di tepi untuk fit container */
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ALTERNATIVE: Jika ingin gambar TIDAK terpotong sama sekali */
.gallery-item.no-crop img {
    object-fit: contain; /* Gambar utuh, mungkin ada whitespace */
    background: #fff;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 10;
    opacity: 0;
}

.slider-wrapper:hover .nav-btn {
    opacity: 1;
}

.nav-btn:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
    transform: translateY(-50%) scale(1.1);
}

.nav-btn i {
    font-size: 20px;
    color: #2a2a2a;
    transition: color 0.3s ease;
}

.nav-btn:hover i {
    color: #fff;
}

.nav-btn.prev {
    left: 20px;
}

.nav-btn.next {
    right: 20px;
}

/* Progress Bar */
.progress-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.progress-bar {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #2a2a2a;
    width: 0;
    transition: width 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #2a2a2a;
    border-radius: 50%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain; /* Di lightbox, gambar ditampilkan utuh */
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.lightbox-close i {
    font-size: 24px;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-item {
        flex: 0 0 calc(50% - 10px);
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 5%;
    }
    
    .gallery-header {
        margin-bottom: 40px;
    }
    
    .gallery-item {
        flex: 0 0 100%;
        aspect-ratio: 16/9; /* Lebih landscape di mobile */
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    
    .nav-btn.prev {
        left: 10px;
    }
    
    .nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        aspect-ratio: 4/3; /* Sedikit lebih square di mobile kecil */
    }
}


/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 50px;
  align-items: start;
  background: var(--bg-secondary);
}

.about-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.vm-grid {
  display: grid;
  gap: 20px;
}

.vm-item {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.vm-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--accent-color);
}

.vm-item h4 {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.vm-item p {
  color: var(--secondary-text);
  line-height: 1.8;
  font-size: 0.9rem;
  text-align: justify;
}

/* ===== BRANDS ===== */
.brands {
  border-top: 1px solid #ddd;
  background: #fff;
}

.heading {
  text-align: center;
  margin-bottom: 40px;
}

.heading span {
  font-size: clamp(1.2rem, 3vw, 0.75rem);
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.brands-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 150px));
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
}

.brands-container img {
  width: 100%;
  max-width: 120px;
  transition: all 0.3s;
}

.brands-container img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg-color);
  border-top: 1px solid #ddd;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

.faq-subtitle {
  font-size: clamp(0.75rem, 2vw, 1.2rem);
  color: #1f1f1f;
  font-weight: 200;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: clamp(15px, 3vw, 20px);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  color: #3a3a3a;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-question:hover {
  background: #f8f8f8;
}

.arrow {
  font-size: 1.5rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  padding: 0 clamp(15px, 3vw, 20px) clamp(15px, 3vw, 20px);
  color: #555;
  line-height: 1.7;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.faq-answer ul {
  margin-top: 10px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .arrow {
  transform: rotate(45deg);
}

/* ===== KONTAK ===== */
#kontak {
  background: #fff;
}

#kontak .container {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(25px, 5vw, 40px);
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#kontak h2 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

#kontak p {
  text-align: center;
  color: #1f1f1f;
  margin-bottom: 30px;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--main-color);
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  background: var(--main-color);
  color: white;
  padding: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all 0.3s;
}

form button:hover {
  background: #96e60e;
  transform: translateY(-2px);
}


/* ===== FOOTER ===== */
.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(25px, 4vw, 35px);
  background: #191919;
  color: #fff;
}

.footer-box h2 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-box h2 span {
  color: var(--main-color);
}

.footer-box h3 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-box li {
  margin-top: 10px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-box li a {
  color: #ddd;
  transition: color 0.3s;
}

.footer-box li a:hover {
  color: var(--main-color);
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social a {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  color: #fff;
  transition: color 0.3s;
}

.social a:hover {
  color: var(--main-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info i {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.contact-info span {
  color: #ddd;
}

.copyright {
  padding: 20px;
  text-align: center;
  background: #191919;
  color: #c3cfe2;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  border-top: 1px solid #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .home {
    justify-content: center;
  }
  
  .home-text {
    margin-right: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    transition: left 0.4s ease;
    z-index: 999;
  }

  .navbar.active {
    left: 0;
  }

  .navbar a {
    padding: 15px;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }

  .navbar a:hover {
    color: #fff;
    background: var(--main-color);
  }

  .home {
    background-attachment: scroll;
  }

  .slider-container {
    padding: 0 40px;
  }

  .gallery-item {
    min-width: 250px;
    height: 350px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 10px;
  }

  .about {
    text-align: center;
  }

  .about-img {
    order: 2;
  }

  .about-text {
    order: 1;
    text-align: left;
  }

  .footer {
    text-align: center;
  }

  .social {
    justify-content: center;
  }

  .contact-info i {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .slider-container {
    padding: 0 30px;
  }

  .gallery-item {
    min-width: 200px;
    height: 280px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .prev {
    left: 5px;
  }

  .next {
    right: 5px;
  }

  .lightbox .close {
    top: 15px;
    right: 20px;
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .katalog-container {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-width: 180px;
    height: 250px;
  }
}