/* Final style.css — dropdown accordion system */
:root{
  --blue-900:#073b4c;
  --blue-800:#0b5566;
  --blue-600:#1177aa;
  --blue-500:#0ea5e9;
  --blue-400:#6fb7ff;
  --blue-300:#dff3ff;
  --blue-200:#eef9ff;
  --muted:#6b7280;
  --surface:#ffffff;
  --radius:12px;
  --shadow: 0 10px 28px rgba(11,57,84,0.08);
  --max-width:1200px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* reset */
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:linear-gradient(180deg,#f6fbff 0%, #f2f8ff 100%);color:var(--blue-900);-webkit-font-smoothing:antialiased}

/* container */
.container{max-width:var(--max-width);margin:0 auto;padding:1rem}

/* header */
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,0.95);backdrop-filter: blur(4px);border-bottom:1px solid rgba(11,57,84,0.06)}
.header-inner{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:.8rem 0}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit}
.logo-img{width:56px;height:56px;border-radius:8px;object-fit:cover;box-shadow:0 6px 18px rgba(11,57,84,0.06)}
.brand-text h1{margin:0;font-size:1.05rem}
.brand-text small{display:block;color:var(--muted);font-size:.85rem}

/* top nav */
.top-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1rem;align-items:center}
.top-nav a{text-decoration:none;color:var(--blue-800);font-weight:700;padding:.45rem .6rem;border-radius:8px}
.top-nav a:hover{background:linear-gradient(90deg,var(--blue-400),rgba(17,119,170,0.12));color:var(--blue-900)}

/* mobile nav toggle */
.nav-toggle{display:none;background:none;border:0;font-size:22px}

/* hero - MODIFIED: full height */
.hero{position:relative;height:100vh;min-height:500px;overflow:hidden}
.hero-slider{position:absolute;inset:0}
.hero-slider .slide{position:absolute;inset:0;opacity:0;transform:scale(1.02);transition:opacity .7s ease, transform .7s ease}
.hero-slider .slide.active{opacity:1;transform:scale(1)}
.hero-slider .slide img{width:100%;height:100%;object-fit:cover;display:block}
.hero-overlay{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  max-width:980px;padding:2rem;background:linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.85));
  border-radius:16px;box-shadow:var(--shadow);text-align:left;
}
.hero-overlay h2{margin:0 0 .6rem;font-size:2rem;color:var(--blue-900)}
.lead{margin:0 0 1rem;color:var(--muted)}
.btn{background:linear-gradient(90deg,var(--blue-800),var(--blue-600));color:white;padding:.6rem 1rem;border-radius:10px;text-decoration:none;font-weight:700;border:none;cursor:pointer;transition:all 0.3s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(11,85,102,0.3)}
.btn-sm{padding: 0.5rem 1rem; font-size: 0.9rem}
.btn-buy{background: linear-gradient(90deg, #059669, #10b981)}
.btn-buy:hover{box-shadow:0 8px 20px rgba(5, 150, 105, 0.3)}

/* slider controls */
.slider-nav{position:absolute;right:24px;bottom:18px;display:flex;align-items:center;gap:.5rem}
.slider-nav button{border:0;background:rgba(255,255,255,0.92);padding:.35rem .6rem;border-radius:8px;font-size:18px;cursor:pointer;box-shadow:0 6px 16px rgba(11,57,84,0.06);transition:all 0.3s ease}
.slider-nav button:hover{background:white;transform:scale(1.1)}
.dots{display:flex;gap:6px;padding:0 6px}
.dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,0.6);cursor:pointer;transition:all 0.3s ease}
.dots button.active{background:var(--blue-600)}
.dots button:hover{transform:scale(1.2)}

/* sections */
.section-profile, .section-gallery, .section-contact, .section-umkm{padding:3rem 1rem}
.section-profile h2, .section-gallery h2, .section-contact h2, .section-umkm h2{margin-top:0;font-size:1.6rem}
.muted{color:var(--muted)}

/* tabs */
.tabs{display:flex;gap:8px;border-bottom:1px solid rgba(11,57,84,0.06);padding-bottom:.6rem;margin-top:1rem;flex-wrap:wrap}
.tab-btn{background:transparent;border:0;padding:.6rem .9rem;border-radius:8px;font-weight:700;color:var(--blue-800);cursor:pointer;transition:all 0.3s ease}
.tab-btn.active{background:linear-gradient(90deg,var(--blue-400),rgba(17,119,170,0.12));box-shadow:0 6px 18px rgba(50,130,184,0.06);color:var(--blue-900)}
.tab-btn:hover{background:rgba(17,119,170,0.08)}

/* tab panels */
.tab-content{margin-top:1rem}
.tab-panel{display:block}
.tab-panel[hidden]{display:none}
.fade-in{animation:fadeIn .36s ease}

/* grid & cards */
.grid{display:grid;gap:1rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--surface);padding:1.1rem;border-radius:12px;box-shadow:var(--shadow)}
.info-table{width:100%;border-collapse:collapse}
.info-table th{width:40%;text-align:left;color:var(--muted);padding:.4rem 0}
.info-table td{padding:.4rem 0}

/* Spacing Utilities */
.mt-2 {
  margin-top: 2rem;
}

/* DROPDOWN ACCORDION SYSTEM */
.dropdown-accordion {
  margin-top: 1rem;
}

.dropdown-item {
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11,57,84,0.1);
  background: var(--surface);
}

.dropdown-header {
  width: 100%;
  text-align: left;
  background: var(--blue-300);
  border: 0;
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue-900);
  transition: all 0.3s ease;
}

.dropdown-header:hover {
  background: var(--blue-400);
}

.dropdown-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 14px;
  color: var(--blue-600);
}

.dropdown-header.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  padding: 0;
  background: var(--blue-200);
  display: none;
}

.dropdown-content.active {
  display: block;
}

/* Nested Dropdown */
.nested-dropdown {
  border-bottom: 1px solid rgba(11,57,84,0.05);
}

.nested-dropdown:last-child {
  border-bottom: none;
}

.nested-header {
  width: 100%;
  text-align: left;
  background: var(--blue-200);
  border: 0;
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue-800);
  transition: all 0.3s ease;
}

.nested-header:hover {
  background: var(--blue-300);
}

.nested-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--blue-600);
}

.nested-header.active .nested-arrow {
  transform: rotate(180deg);
}

.nested-content {
  padding: 0;
  background: var(--surface);
  display: none;
}

.nested-content.active {
  display: block;
}

/* Question Items */
.question-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(11,57,84,0.05);
  transition: background 0.2s ease;
}

.question-item:hover {
  background: rgba(11,57,84,0.02);
}

.question-item:last-child {
  border-bottom: none;
}

.question {
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.answer {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* UMKM Section - IMPROVED */
.umkm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.umkm-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(11,57,84,0.08);
}

.umkm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(11,57,84,0.15);
}

.umkm-image {
  height: 250px; /* Increased height */
  overflow: hidden;
  position: relative;
}

.umkm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.umkm-card:hover .umkm-image img {
  transform: scale(1.08);
}

.umkm-content {
  padding: 1.5rem;
}

.umkm-content h3 {
  margin: 0 0 0.75rem;
  color: var(--blue-900);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.umkm-price {
  font-weight: 700;
  color: var(--blue-600);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  background: linear-gradient(90deg, var(--blue-600), #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.umkm-desc {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.btn-buy {
  background: linear-gradient(90deg, #059669, #10b981);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 1rem;
}

.gallery-item {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  z-index: 999;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: white;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lb-close:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

/* video & map sections */
.video-section, .map-section-full {
  padding: 2rem 0;
  text-align: center;
}

.video-section h3, .map-section-full h3 {
  margin-bottom: 1rem;
  color: var(--blue-900);
}

.embed-container {
  position: relative;
  width: 95%;
  max-width: 900px;
  margin: 1.5rem auto;
  padding-bottom: 50%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Full width map */
.map-section-full {
  margin: 3rem 0;
}

.map-container-full {
  width: 100%;
  height: 450px;
}

.map-container-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* contact */
.contact-form label {
  display: block;
  margin-top: .6rem;
  font-weight: 700;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .6rem;
  border-radius: 8px;
  border: 1px solid rgba(11,57,84,0.08);
  margin-top: .25rem;
}

/* footer */
.site-footer {
  padding: 1.1rem 0;
  background: linear-gradient(180deg, var(--blue-800), var(--blue-900));
  color: white;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* MODAL STYLES - IMPROVED: Larger product images */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 600px; /* Increased width */
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: linear-gradient(90deg, var(--blue-200), var(--blue-300));
}

.modal-header h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: var(--blue-700);
}

.modal-close:hover {
  background: rgba(0,0,0,0.1);
  transform: scale(1.1);
}

.modal-body {
  padding: 2rem;
}

.checkout-product {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  align-items: center;
}

/* LARGER product image in checkout */
.checkout-product img {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.checkout-product > div {
  flex: 1;
}

.checkout-product h4 {
  margin: 0 0 0.75rem;
  color: var(--blue-900);
  font-size: 1.4rem;
  font-weight: 700;
}

.checkout-product p {
  margin: 0;
  font-weight: 700;
  color: var(--blue-600);
  font-size: 1.3rem;
}

/* IMPROVED: Product images gallery in modal */
.product-images {
  margin: 1.5rem 0;
}

.product-gallery-title {
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.product-images-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-400) transparent;
}

.product-images-scroll::-webkit-scrollbar {
  height: 6px;
}

.product-images-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.product-images-scroll::-webkit-scrollbar-thumb {
  background: var(--blue-400);
  border-radius: 3px;
}

.product-image {
  width: 120px; /* Larger thumbnails */
  height: 120px; /* Larger thumbnails */
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.product-image.active {
  border-color: var(--blue-600);
  transform: scale(1.05);
}

.product-image:hover {
  transform: scale(1.08);
  border-color: var(--blue-400);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--blue-800);
  font-size: 1rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--blue-200);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(58, 155, 217, 0.1);
}

.checkout-total {
  border-top: 2px solid rgba(0,0,0,0.1);
  padding-top: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  background: var(--blue-200);
  padding: 1.5rem;
  border-radius: 12px;
}

.checkout-total p {
  margin: 0;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--blue-900);
}

.btn-checkout {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.2rem;
  margin-top: 1rem;
  background: linear-gradient(90deg, #059669, #10b981);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
}

/* animations */
@keyframes fadeIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

/* responsive */
@media (max-width:1000px){
  .hero-overlay{padding:1.4rem;border-radius:12px}
  .grid-2{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .umkm-grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width:768px){
  .top-nav{display:none}
  .nav-toggle{display:block}
  .hero-overlay h2{font-size:1.4rem}
  .slider-nav{right:10px;bottom:10px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .umkm-grid{grid-template-columns: 1fr}
  .footer-inner{flex-direction: column; text-align: center; gap: 0.5rem}
  .embed-container{width: 100%; padding-bottom: 56.25%}
  
  /* Mobile improvements for modal */
  .modal-content {
    max-width: 95%;
    margin: 1rem;
  }
  
  .checkout-product {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .checkout-product img {
    width: 180px;
    height: 180px;
  }
  
  .product-image {
    width: 100px;
    height: 100px;
  }
}

@media (max-width:480px){
  .umkm-content {
    padding: 1.25rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .checkout-product img {
    width: 140px;
    height: 140px;
  }
  
  .product-image {
    width: 80px;
    height: 80px;
  }
  
  .section-profile, .section-gallery, .section-contact, .section-umkm {
    padding: 2rem 1rem;
  }
}

/* Tambahkan ini di akhir file style.css */

/* Text center utility */
.text-center {
  text-align: center;
}

/* Additional button styles for gallery */
.btn[href*="gallery.html"] {
  background: linear-gradient(90deg, #059669, #10b981);
  color: white;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn[href*="gallery.html"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}
