/*
 * Daud Tenda — halaman publik (beranda & katalog).
 * Dimuat sesudah daud-tenda.css lewat @push('late-styles').
 * Biru tua = identitas, emas = ajakan pesan, putih = konten.
 */

.dtp {
  --p-navy: #0f2547;
  --p-navy-2: #17396d;
  --p-gold: #f0b43c;
  --p-gold-hover: #e0a224;
  --p-ink: #14233b;
  --p-text: #4a5668;
  --p-muted: #6b7889;
  --p-line: #e6eaf0;
  --p-soft: #f3f6fb;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--p-text);
  background: #fff;
}
.dtp h1, .dtp h2, .dtp h3, .dtp .dtp-display { font-family: "Poppins", "Inter", system-ui, sans-serif; color: var(--p-ink); letter-spacing: -.01em; }
.dtp section[id] { scroll-margin-top: 84px; }
.dtp a { text-decoration: none; }

/* ---------- Tombol */
.dtp .dtp-btn-gold { background: var(--p-gold); border: 1px solid var(--p-gold); color: #1d1604; font-weight: 600; border-radius: .55rem; padding: .62rem 1.15rem; box-shadow: 0 6px 16px rgba(240, 180, 60, .28); }
.dtp .dtp-btn-gold:hover, .dtp .dtp-btn-gold:focus { background: var(--p-gold-hover); border-color: var(--p-gold-hover); color: #1d1604; }
.dtp .dtp-btn-ghost { border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; font-weight: 600; border-radius: .55rem; padding: .62rem 1.15rem; background: transparent; }
.dtp .dtp-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dtp .dtp-btn-outline-gold { border: 1.5px solid var(--p-gold); color: #9a6a00; font-weight: 600; border-radius: 99px; padding: .4rem 1.1rem; background: #fff; font-size: .86rem; }
.dtp .dtp-btn-outline-gold:hover { background: var(--p-gold); color: #1d1604; }
.dtp .btn-lg.dtp-btn-gold, .dtp .btn-lg.dtp-btn-ghost { padding: .85rem 1.5rem; font-size: 1rem; }

/* ---------- Navigasi */
.dtp-nav { background: #fff; border-bottom: 1px solid var(--p-line); padding: .6rem 0; }
.dtp-nav .navbar-collapse { visibility: visible !important; } /* app.css (Tailwind) .collapse bentrok */
.dtp-brand { display: inline-flex; align-items: center; gap: .6rem; }
.dtp-brand img { height: 42px; width: auto; }
.dtp-brand b { display: block; font-family: "Poppins", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--p-navy); line-height: 1.1; }
.dtp-brand small { display: block; font-size: .7rem; color: var(--p-muted); font-weight: 500; }
.dtp-brand-light img { background: #fff; border-radius: 8px; padding: 2px; }
.dtp-brand-light b { color: #fff; }
.dtp-brand-light small { color: rgba(255, 255, 255, .6); }
.dtp-nav .nav-link { color: #2b3a50; font-weight: 600; font-size: .9rem; padding: .45rem .85rem !important; border-radius: .45rem; }
.dtp-nav .nav-link:hover { color: var(--p-navy); background: var(--p-soft); }
.dtp-nav .nav-link.active { background: #eef1f6; color: var(--p-navy); }
.dtp-nav .navbar-toggler { border: 1px solid var(--p-line); font-size: 1.5rem; padding: .25rem .5rem; color: var(--p-navy); }
.dtp-nav-right { display: flex; align-items: center; gap: 1rem; }
.dtp-phone { color: var(--p-ink); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.dtp-phone i { color: #25a35a; font-size: 1.25rem; }
.dtp-login { color: var(--p-navy); font-weight: 600; font-size: .9rem; }
.dtp-login:hover { text-decoration: underline; }

/* ---------- Hero */
.dtp-hero { position: relative; background: linear-gradient(100deg, #0d2142 0%, #12305e 55%, #183f7a 100%); color: #fff; overflow: hidden; }
.dtp-hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  background-size: cover; background-position: center;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.dtp-hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 33, 66, .55) 0%, rgba(13, 33, 66, 0) 40%); }
.dtp-hero .container { position: relative; z-index: 1; }
.dtp-hero-text { padding: 4.25rem 0 6.25rem; max-width: 520px; }
.dtp-eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.dtp-eyebrow::after { content: ""; width: 32px; height: 2px; background: var(--p-gold); }
.dtp-hero h1 { color: #fff; font-size: 3rem; font-weight: 800; line-height: 1.12; margin: 1rem 0 1.1rem; }
.dtp-hero h1 em { font-style: normal; color: var(--p-gold); }
.dtp-hero p { color: rgba(255, 255, 255, .86); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.75rem; }

/* ---------- Strip keunggulan (menumpuk di bawah hero) */
.dtp-features { position: relative; z-index: 2; margin-top: -3.25rem; }
.dtp-features-card { background: #fff; border-radius: 1rem; box-shadow: 0 14px 40px rgba(15, 37, 71, .12); display: flex; flex-wrap: wrap; }
.dtp-feature { flex: 1 1 25%; display: flex; gap: .9rem; align-items: center; padding: 1.25rem 1.5rem; }
.dtp-feature + .dtp-feature { border-left: 1px solid var(--p-line); }
.dtp-feature i, .dtp-feature .dt-ico { font-size: 1.9rem; color: var(--p-navy); flex: 0 0 auto; }
.dtp-feature b { display: block; color: var(--p-ink); font-size: .92rem; }
.dtp-feature span { display: block; font-size: .8rem; color: var(--p-muted); line-height: 1.4; }

/* ---------- Judul bagian */
.dtp-section { padding: 3.25rem 0; }
.dtp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.dtp-title { font-size: 1.75rem; font-weight: 700; margin: 0; display: inline-flex; align-items: center; gap: .85rem; }
.dtp-title::after { content: ""; width: 36px; height: 3px; border-radius: 3px; background: var(--p-gold); }
.dtp-sub { color: var(--p-muted); margin: .35rem 0 0; }
.dtp-more { color: #1f5bc0; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .25rem; }
.dtp-more:hover { color: #194da6; text-decoration: underline; }

/* ---------- Ikon garis kategori (resources/views/public/partials/category-icon) */
.dt-ico { display: inline-block; vertical-align: -.125em; flex-shrink: 0; }

/* ---------- Ubin kategori */
.dtp-cat { display: flex; flex-direction: column; align-items: center; background: var(--p-soft); border: 1px solid #edf0f5; border-radius: .85rem; text-align: center; padding: 1.25rem .75rem 1.1rem; height: 100%; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dtp-cat:hover { border-color: #cdd8ea; box-shadow: 0 8px 22px rgba(15, 37, 71, .08); transform: translateY(-2px); }
.dtp-cat-icon { width: 76px; height: 76px; flex: 0 0 auto; border-radius: 50%; background: #fff; border: 1px solid #e1e7f0; display: flex; align-items: center; justify-content: center; margin-bottom: .8rem; color: var(--p-navy); font-size: 2.3rem; transition: background-color .15s, border-color .15s, color .15s; }
.dtp-cat:hover .dtp-cat-icon { background: var(--p-navy); border-color: var(--p-navy); color: #fff; }
.dtp-cat b { display: block; color: var(--p-ink); font-size: .92rem; }
.dtp-cat small { color: var(--p-muted); font-size: .76rem; }
@media (max-width: 575.98px) { .dtp-cat { padding: 1rem .5rem .9rem; } .dtp-cat-icon { width: 62px; height: 62px; font-size: 1.95rem; margin-bottom: .65rem; } }

/* ---------- Kartu paket (horizontal) */
.dtp-pkg { display: flex; background: #fff; border: 1px solid var(--p-line); border-radius: .9rem; overflow: hidden; height: 100%; box-shadow: 0 4px 14px rgba(15, 37, 71, .05); }
.dtp-pkg-photo { flex: 0 0 40%; min-height: 190px; background: #dde3ec center / cover no-repeat; margin: .55rem; border-radius: .6rem; }
.dtp-pkg-body { flex: 1; padding: 1rem 1.1rem 1rem .5rem; display: flex; flex-direction: column; min-width: 0; }
.dtp-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; background: var(--p-navy); color: #fff; margin-bottom: .5rem; }
.dtp-badge.is-gold { background: var(--p-gold); color: #1d1604; }
.dtp-pkg h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .45rem; }
.dtp-pkg-items { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; grid-template-columns: 1fr; gap: .3rem; font-size: .8rem; color: var(--p-text); }
.dtp-pkg-items li { display: flex; gap: .35rem; align-items: flex-start; min-width: 0; }
.dtp-pkg-items i, .dtp-pkg-items .dt-ico { color: var(--p-navy); font-size: .95rem; flex: 0 0 auto; margin-top: 1px; }
.dtp-price { font-family: "Poppins", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--p-ink); }
.dtp-price small { font-family: "Inter", sans-serif; font-size: .76rem; font-weight: 500; color: var(--p-muted); }
.dtp-stock { font-size: .78rem; font-weight: 600; }
.dtp-stock.ok { color: #1a8a4f; }
.dtp-stock.empty { color: #c0392b; }

/* ---------- Mengapa memilih */
.dtp-why { background: var(--p-soft); position: relative; overflow: hidden; }
.dtp-why-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 24%; background: center / cover no-repeat; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.dtp-why-body { padding: 2.75rem 0; }
.dtp-why-item { display: flex; gap: .85rem; }
.dtp-why-item i, .dtp-why-item .dt-ico { font-size: 2rem; color: #d89a1c; flex: 0 0 auto; }
.dtp-why-item b { display: block; color: var(--p-ink); font-size: .95rem; margin-bottom: .2rem; }
.dtp-why-item span { font-size: .84rem; color: var(--p-muted); line-height: 1.5; }

/* ---------- Cara sewa */
.dtp-steps { display: flex; align-items: stretch; gap: .5rem; }
.dtp-step { flex: 1; background: #fff; border: 1px solid var(--p-line); border-radius: .85rem; padding: 1.1rem 1rem 1rem; box-shadow: 0 4px 14px rgba(15, 37, 71, .05); position: relative; }
.dtp-step-top { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.dtp-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--p-gold); color: #1d1604; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.dtp-step-top i { font-size: 1.6rem; color: var(--p-navy); }
.dtp-step b { display: block; color: var(--p-ink); font-size: .92rem; margin-bottom: .25rem; }
.dtp-step span { font-size: .82rem; color: var(--p-muted); line-height: 1.5; }
.dtp-step-arrow { display: flex; align-items: center; color: #9aa6b6; font-size: 1.5rem; }

.dtp-help { background: #fff; border: 1px solid var(--p-line); border-radius: .9rem; padding: 1.35rem; height: 100%; box-shadow: 0 4px 14px rgba(15, 37, 71, .05); }
.dtp-help h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .35rem; }
.dtp-help ul { list-style: none; padding: 0; margin: 1rem 0 1.25rem; font-size: .88rem; }
.dtp-help li { display: flex; gap: .6rem; padding: .35rem 0; }
.dtp-help li i { color: var(--p-navy); font-size: 1.1rem; margin-top: 1px; }

/* ---------- Tentang */
.dtp-about dl { display: grid; grid-template-columns: 120px 1fr; gap: .5rem 1rem; margin: 1.25rem 0; font-size: .92rem; }
.dtp-about dt { color: var(--p-muted); font-weight: 500; }
.dtp-about dd { margin: 0; color: var(--p-ink); }

/* ---------- Katalog */
.dtp-pagehead { background: linear-gradient(100deg, #0d2142 0%, #17396d 100%); color: #fff; padding: 2.25rem 0 4.5rem; }
.dtp-pagehead h1 { color: #fff; font-size: 2rem; font-weight: 700; margin: .35rem 0 .35rem; }
.dtp-pagehead p { color: rgba(255, 255, 255, .8); margin: 0; }
.dtp-crumbs { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.dtp-crumbs a { color: #fff; }
.dtp-filter { margin-top: -3rem; position: relative; z-index: 2; background: #fff; border-radius: 1rem; box-shadow: 0 14px 40px rgba(15, 37, 71, .12); padding: 1.25rem 1.5rem; }
.dtp-filter.is-inline { margin-top: 1.5rem; box-shadow: 0 4px 14px rgba(15, 37, 71, .06); border: 1px solid var(--p-line); }
.dtp-filter-title { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--p-ink); font-size: 1.05rem; }
.dtp-filter label { font-size: .8rem; font-weight: 600; color: var(--p-ink); margin-bottom: .3rem; }
.dtp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.dtp-chip { border: 1px solid var(--p-line); background: #fff; color: var(--p-ink); border-radius: 99px; padding: .4rem .95rem; font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.dtp-chip:hover { border-color: #c3cfe0; color: var(--p-navy); }
.dtp-chip.active { background: var(--p-navy); border-color: var(--p-navy); color: #fff; }
.dtp-item { background: #fff; border: 1px solid var(--p-line); border-radius: .9rem; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(15, 37, 71, .04); }
.dtp-item-media { aspect-ratio: 4 / 3; background: var(--p-soft); display: flex; align-items: center; justify-content: center; }
.dtp-item-media img { width: 100%; height: 100%; object-fit: cover; }
.dtp-item-media.is-placeholder { aspect-ratio: auto; height: 112px; }
.dtp-filter .form-control, .dtp-filter .form-select, .dtp-filter .btn { min-height: 44px; }
.dtp-item-media i, .dtp-item-media .dt-ico { font-size: 3.4rem; color: #8ea0bb; }
.dtp-item-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.dtp-item-cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--p-muted); }
.dtp-item h3 { font-family: "Inter", sans-serif; font-size: .98rem; font-weight: 700; margin: .2rem 0 .5rem; }
.dtp-item .dtp-price { font-size: 1.05rem; }

/* ---------- Footer */
.dtp-footer { background: #0d2142; color: rgba(255, 255, 255, .72); padding: 3rem 0 1.25rem; font-size: .9rem; }
.dtp-footer h3 { color: #fff; font-family: "Poppins", sans-serif; font-size: .98rem; font-weight: 600; margin-bottom: .9rem; }
.dtp-footer ul { list-style: none; padding: 0; margin: 0; }
.dtp-footer li { padding: .2rem 0; }
.dtp-footer a { color: rgba(255, 255, 255, .82); }
.dtp-footer a:hover { color: #fff; text-decoration: underline; }
.dtp-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.dtp-contact i { font-size: 1.15rem; color: var(--p-gold); margin-top: 1px; }
.dtp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding-top: 1.1rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ---------- Responsif */
@media (max-width: 1199.98px) {
  .dtp-hero h1 { font-size: 2.6rem; }
  .dtp-feature { flex-basis: 50%; }
  .dtp-feature:nth-child(3) { border-left: 0; }
  .dtp-feature:nth-child(n+3) { border-top: 1px solid var(--p-line); }
  .dtp-why-photo { display: none; }
}
@media (max-width: 991.98px) {
  .dtp-nav-right { flex-wrap: wrap; padding: .75rem 0 .5rem; }
  .dtp-hero-photo { width: 100%; clip-path: none; opacity: .32; }
  .dtp-hero-photo::before { display: none; }
  .dtp-hero-text { padding: 3rem 0 5.5rem; }
  .dtp-steps { flex-direction: column; }
  .dtp-step-arrow { display: none; }
}
@media (max-width: 575.98px) {
  .dtp-hero h1 { font-size: 2.05rem; }
  .dtp-hero p { font-size: .98rem; }
  .dtp-feature { flex-basis: 100%; padding: .95rem 1.1rem; }
  .dtp-feature + .dtp-feature { border-left: 0; border-top: 1px solid var(--p-line); }
  .dtp-title { font-size: 1.4rem; }
  .dtp-pkg { flex-direction: column; }
  .dtp-pkg-photo { flex-basis: auto; min-height: 170px; }
  .dtp-pkg-body { padding: .25rem 1rem 1rem; }
  .dtp-brand b { font-size: 1.05rem; }
  .dtp-brand small { display: none; }
  .dtp-about dl { grid-template-columns: 96px 1fr; }
  .dtp-pagehead h1 { font-size: 1.5rem; }
}
