/* ============================================================
   TokoKota — Modern Minimalist Redesign
   Dipakai oleh: layanan, berita, resep, mitratoko
   ============================================================ */

:root{
  --tk-primary: #F82F4F;
  --tk-primary-dark: #d91f3e;
  --tk-ink: #1f2933;
  --tk-gray: #6b7280;
  --tk-line: #eceef1;
  --tk-bg: #f8f9fb;
  --tk-radius: 18px;
  --tk-shadow: 0 6px 24px rgba(31,41,51,.07);
  --tk-shadow-hover: 0 14px 34px rgba(31,41,51,.13);
}

/* ---------- Section wrapper & heading ---------- */
.tk-section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  font-family: 'Open Sans', sans-serif;
  color: var(--tk-ink);
}
.tk-head{ text-align: center; margin-bottom: 48px; }
.tk-eyebrow{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tk-primary);
  background: rgba(248,47,79,.08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tk-title{
  font-family: 'Roboto', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--tk-ink);
}
.tk-sub{
  font-size: 16px;
  color: var(--tk-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.tk-sub b{ color: var(--tk-ink); }

/* ---------- Layanan: service cards ---------- */
.tk-svc-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.tk-svc-card{
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  overflow: hidden;
  box-shadow: var(--tk-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.tk-svc-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--tk-shadow-hover);
}
.tk-svc-img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.tk-svc-body{
  padding: 26px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tk-svc-body h3{
  margin: 0 0 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.tk-svc-body p{
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--tk-gray);
  flex: 1;
}
.tk-btn{
  display: inline-block;
  background: var(--tk-primary);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 34px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
  align-self: center;
  border: none;
  cursor: pointer;
}
.tk-btn:hover{ background: var(--tk-primary-dark); transform: translateY(-2px); }
.tk-btn-ghost{
  background: transparent;
  color: var(--tk-primary);
  border: 1.5px solid var(--tk-primary);
}
.tk-btn-ghost:hover{ background: rgba(248,47,79,.06); }

/* ---------- Berita & Resep: card grid ---------- */
.tk-news-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.tk-news-card{
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  overflow: hidden;
  box-shadow: var(--tk-shadow);
  text-decoration: none;
  color: var(--tk-ink);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tk-news-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--tk-shadow-hover);
}
.tk-news-img{
  width: 100%;
  height: 190px;
  background-size: cover !important;
  background-position: center !important;
}
.tk-news-body{
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tk-news-body h3{
  margin: 0 0 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  flex: 1;
}
.tk-news-more{
  font-size: 13px;
  font-weight: 700;
  color: var(--tk-primary);
}

/* ---------- Mitra Toko: form ---------- */
.tk-map-wrap{
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 24px;
}
.tk-map-wrap #map{
  width: 100%;
  height: 320px;
  border-radius: var(--tk-radius);
  border: 1px solid var(--tk-line);
}
.tk-form-card{
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow);
  padding: 40px 36px;
  max-width: 720px;
  margin: 0 auto;
}
.tk-field{ margin-bottom: 20px; }
.tk-field label{
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--tk-ink);
  margin-bottom: 7px;
}
.tk-field .tk-hint{
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--tk-gray);
  margin-top: 3px;
}
.tk-field input,
.tk-field select,
.tk-field textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: var(--tk-ink);
  background: var(--tk-bg);
  border: 1.5px solid var(--tk-line);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.tk-field textarea{ min-height: 96px; resize: vertical; }
.tk-field input:focus,
.tk-field select:focus,
.tk-field textarea:focus{
  border-color: var(--tk-primary);
  background: #fff;
}
.tk-field select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.tk-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tk-geo{
  display: flex;
  align-items: center;
  gap: 16px;
}
.tk-geo .tk-geo-inputs{ flex: 1; display: grid; gap: 10px; }
.tk-geo img{ cursor: pointer; }
.tk-form-divider{
  border: none;
  border-top: 1px solid var(--tk-line);
  margin: 30px 0 24px;
}
.tk-form-section-title{
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--tk-ink);
}
.tk-submit{
  width: 100%;
  padding: 16px;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 12px;
  margin-top: 8px;
}

/* finish notice */
.tk-finish{
  max-width: 620px;
  margin: 32px auto;
  background: #fff;
  border: 1px solid var(--tk-line);
  border-top: 5px solid var(--tk-primary);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow);
  padding: 46px 32px;
  text-align: center;
}
.tk-finish .h1{
  font-family: 'Roboto', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--tk-ink);
  margin: 0 0 12px;
  display: block;
  text-decoration: none;
}
.tk-finish p{
  margin: 0;
  color: var(--tk-gray);
  line-height: 1.7;
  font-size: 14px;
}
.tk-finish a.h1{ color: var(--tk-primary); margin-top: 18px; font-size: 14px; }

/* ---------- Navbar (override styles.css / responsive.css) ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  padding: 0 24px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tk-line);
}
.nav .nav-center{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.nav .logo{ margin-top: 0; display: block; }
.nav .nav-ul{
  float: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav .nav-ul li{
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 14px;
}
.nav .nav-ul li a{
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--tk-ink);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.nav .nav-ul li a:hover{
  color: var(--tk-primary);
  background: rgba(248,47,79,.06);
}
.nav .nav-ul li.nav-cta{ margin-left: 10px; }
.nav .nav-ul li.nav-cta a{
  background: var(--tk-primary);
  color: #fff;
  border-radius: 999px;
  padding: 9px 24px;
}
.nav .nav-ul li.nav-cta a:hover{ background: var(--tk-primary-dark); }
.nav .nav-btn-menu{ float: none; }

@media screen and (max-width: 768px){
  .nav .nav-btn-menu{ display: block; }
  .nav .nav-ul{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    background: #fff;
    padding: 10px 18px 18px;
    box-shadow: 0 16px 28px rgba(31,41,51,.12);
    border-bottom: 1px solid var(--tk-line);
  }
  .nav .nav-ul li{
    display: block;
    font-size: 15px;
    border: none !important;
  }
  .nav .nav-ul li a{
    color: var(--tk-ink);
    padding: 13px 10px;
    border-radius: 10px;
  }
  .nav .nav-ul li.nav-cta{ margin: 10px 0 0; }
  .nav .nav-ul li.nav-cta a{
    text-align: center;
    border-radius: 12px;
    color: #fff;
  }
}

/* ---------- Home: hero ---------- */
.tk-hero{
  position: relative;
  min-height: calc(100vh - 64px);
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tk-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,26,.6) 0%, rgba(15,20,26,.68) 55%, rgba(15,20,26,.78) 100%);
}
.tk-hero-inner{
  position: relative;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 24px;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tk-hero-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(248,47,79,.85);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.tk-hero h1{
  font-family: 'Roboto', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 18px;
  max-width: 640px;
}
.tk-hero p{
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin: 0 0 30px;
  max-width: 540px;
}
.tk-hero-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tk-hero-stores{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.tk-hero-stores span{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-right: 4px;
}
.tk-hero-stores img{
  height: 48px;
  display: block;
  border-radius: 8px;
  transition: transform .2s ease;
}
.tk-hero-stores a:hover img{ transform: translateY(-3px); }

/* ---------- Home: welcome / about ---------- */
.tk-about{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.tk-about-text .tk-eyebrow{ margin-bottom: 16px; }
.tk-about-text h2{
  font-family: 'Roboto', sans-serif;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--tk-ink);
}
.tk-about-text p{
  font-size: 15px;
  line-height: 1.8;
  color: var(--tk-gray);
  margin: 0 0 14px;
}
.tk-about-sign{
  font-family: 'Pacifico', cursive;
  font-size: 17px;
  color: var(--tk-primary);
  margin-top: 8px;
  display: inline-block;
}
.tk-about-img{ text-align: center; }
.tk-about-img img{
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

/* ---------- Home: produk unggulan ---------- */
.tk-produk{
  background: var(--tk-bg);
  border-radius: var(--tk-radius);
  padding: 56px 32px;
  text-align: center;
}
.tk-produk img{
  max-width: 100%;
  height: auto;
  margin-top: 28px;
}
.tk-produk .tk-produk-mobile{ display: none; }

/* ---------- Home: CTA strip ---------- */
.tk-cta{
  background: linear-gradient(115deg, var(--tk-primary) 0%, #c2173a 100%);
  border-radius: var(--tk-radius);
  padding: 52px 36px;
  text-align: center;
  color: #fff;
}
.tk-cta h2{
  font-family: 'Roboto', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin: 0 0 10px;
}
.tk-cta p{
  margin: 0 0 26px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.tk-cta-stores{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tk-cta-stores img{
  height: 50px;
  display: block;
  border-radius: 8px;
  transition: transform .2s ease;
}
.tk-cta-stores a:hover img{ transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .tk-about{ grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .tk-about-text .tk-eyebrow{ margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px){
  .tk-section{ padding: 40px 18px 16px; }
  .tk-head{ margin-bottom: 32px; }
  .tk-row{ grid-template-columns: 1fr; }
  .tk-form-card{ padding: 28px 20px; }
  .tk-geo{ flex-direction: row; }
  .tk-hero{ min-height: calc(100vh - 64px); }
  .tk-produk{ padding: 40px 18px; }
  .tk-produk .tk-produk-desktop{ display: none; }
  .tk-produk .tk-produk-mobile{ display: inline-block; }
}
