/*
Theme Name: SilentHome WordPress Theme
Theme URI: https://silenthome.id
Author: SilentHome Team
Author URI: https://silenthome.id
Description: Tema resmi WordPress SilentHome untuk artikel.silenthome.id & portofolio.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: silenthome
*/

:root {
  --sh-blue-dark: #0D2B55;
  --sh-blue-mid: #15457C;
  --sh-blue-light: #1E88E5;
  --sh-teal: #00A896;
  --sh-teal-hover: #028072;
  --sh-bg-light: #F8FAFC;
  --sh-bg-surface: #F9F7F2;
  --sh-text-primary: #1E293B;
  --sh-text-secondary: #475569;
  --sh-border: #E2E8F0;
  --sh-radius: 12px;
  --sh-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sh-font-body);
  color: var(--sh-text-primary);
  background-color: #FFFFFF;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sh-font-heading);
  color: var(--sh-blue-dark);
  font-weight: 800;
  line-height: 1.25;
}

a {
  color: var(--sh-blue-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sh-teal);
}

.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Navbar */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--sh-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sh-text-primary);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--sh-teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-teal {
  background-color: var(--sh-teal);
  color: #FFFFFF !important;
}

.btn-teal:hover {
  background-color: var(--sh-teal-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF !important;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-teal {
  background: rgba(126, 206, 201, 0.25);
  color: #7ECEC9;
}

/* Entry Content Styles */
.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2, .entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.entry-content th, .entry-content td {
  padding: 0.75rem;
  border: 1px solid var(--sh-border);
}

.entry-content th {
  background: var(--sh-blue-dark);
  color: white;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0B2243 0%, #0D2B55 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-grid h3 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-grid a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
}

.footer-grid a:hover {
  color: var(--sh-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
