/* Shared styles for client demo sites (hosted on Gatot Kaca Host) */
:root {
  --brand: #1565c0;
  --brand-dark: #0d47a1;
  --brand-light: #e3f2fd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hosted badge */
.hosted-badge {
  background: #1e1e1e;
  color: #aaa;
  font-size: 11px;
  text-align: center;
  padding: 6px;
  border-bottom: 2px solid #f0c020;
}

.hosted-badge a {
  color: #f0c020;
  font-weight: 700;
  text-decoration: none;
}

.hosted-badge a:hover { text-decoration: underline; }

/* Header */
.cs-header {
  background: var(--brand);
  color: #fff;
  padding: 0;
}

.cs-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.cs-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.cs-logo:hover { text-decoration: none; color: #fff; }

.cs-logo-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.cs-logo h1 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cs-logo span {
  font-size: 11px;
  opacity: 0.85;
}

.cs-nav {
  display: flex;
  gap: 0;
  list-style: none;
}

.cs-nav a {
  color: #fff;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-radius: 4px;
}

.cs-nav a:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

.cs-contact-header {
  font-size: 12px;
  text-align: right;
}

.cs-contact-header i { margin-right: 4px; }

/* Hero */
.cs-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.cs-hero h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cs-hero p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cs-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cs-btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.cs-btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

.cs-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cs-btn-primary:hover, .cs-btn-outline:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* Sections */
.cs-section {
  padding: 50px 0;
}

.cs-section-alt { background: #f8f9fa; }

.cs-section-title {
  text-align: center;
  margin-bottom: 35px;
}

.cs-section-title h2 {
  font-size: 24px;
  font-weight: 800;
  color: #222;
}

.cs-section-title p {
  color: #666;
  font-size: 14px;
  margin-top: 6px;
}

/* Features grid */
.cs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.cs-feature {
  text-align: center;
  padding: 25px 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cs-section-alt .cs-feature { border: 1px solid #eee; }

.cs-feature i {
  font-size: 36px;
  color: var(--brand);
  margin-bottom: 12px;
}

.cs-feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cs-feature p {
  font-size: 13px;
  color: #666;
}

/* About split */
.cs-about {
  display: flex;
  gap: 40px;
  align-items: center;
}

.cs-about-img {
  flex: 1;
  height: 280px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--brand);
  overflow: hidden;
}

.cs-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-about-text { flex: 1; }

.cs-about-text h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.cs-about-text p { margin-bottom: 10px; color: #555; }

/* Products / menu grid */
.cs-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cs-product {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.cs-product:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.cs-product-img {
  height: 160px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--brand);
}

.cs-product-body { padding: 15px; }

.cs-product-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }

.cs-product-body p { font-size: 12px; color: #666; }

.cs-product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  margin-top: 8px;
}

/* Contact */
.cs-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cs-contact-info h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
}

.cs-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.cs-contact-item i {
  font-size: 20px;
  color: var(--brand);
  width: 24px;
  margin-top: 2px;
}

.cs-form-group { margin-bottom: 12px; }

.cs-form-group label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 4px;
}

.cs-form-group input,
.cs-form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
}

.cs-form-group textarea { min-height: 100px; resize: vertical; }

/* Footer */
.cs-footer {
  background: #222;
  color: #aaa;
  padding: 30px 0 15px;
  font-size: 12px;
}

.cs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.cs-footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.cs-footer ul { list-style: none; }

.cs-footer ul li { padding: 3px 0; }

.cs-footer ul li a { color: #aaa; }

.cs-footer-bottom {
  border-top: 1px solid #444;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-footer-host {
  font-size: 11px;
  color: #666;
}

.cs-footer-host a { color: #f0c020; font-weight: 700; }

/* Stats bar */
.cs-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 30px 0;
  background: var(--brand-dark);
  color: #fff;
}

.cs-stat { text-align: center; }

.cs-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
}

.cs-stat span { font-size: 12px; opacity: 0.85; }

@media (max-width: 768px) {
  .cs-header-inner { flex-direction: column; gap: 12px; }
  .cs-nav { flex-wrap: wrap; justify-content: center; }
  .cs-hero h2 { font-size: 24px; }
  .cs-features, .cs-products { grid-template-columns: 1fr; }
  .cs-about { flex-direction: column; }
  .cs-contact { grid-template-columns: 1fr; }
  .cs-footer-grid { grid-template-columns: 1fr; }
  .cs-stats { flex-direction: column; gap: 20px; }
}
