/* =========================
   THEME VARIABLES
========================= */

:root {
  --bg-main: #f4f7fb;
  --bg-card: #ffffff;
  --bg-soft: #eef2f7;

  --text-main: #1a1a1a;
  --text-muted: #5f6c7b;

  --accent: #5b5cf6;
  --border-soft: rgba(0, 0, 0, 0.08);

  --gradient-main: linear-gradient(135deg, #667eea, #764ba2);
}

[data-theme="dark"] {
  --bg-main: #0b1220;
  --bg-card: #141c2f;
  --bg-soft: #1b2440;

  --text-main: #ffffff;
  --text-muted: #b6c0d1;

  --accent: #7c83ff;
  --border-soft: rgba(255, 255, 255, 0.12);

  --gradient-main: linear-gradient(135deg, #1f2933, #111827);
}

/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

/* =========================
   LAYOUT
========================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

main {
  min-height: 70vh;
}

/* =========================
   LOGO
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* =========================
   HEADER
========================= */

.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-nav a {
  text-decoration: none;
  margin-left: 1.5rem;
  color: var(--text-muted);
}

.desktop-nav a:hover {
  color: var(--text-main);
}

/* Login button */
.nav-login {
  background: var(--gradient-main);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* =========================
   HEADER NAV BEHAVIOR
========================= */

.desktop-nav {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* =========================
   MOBILE NAV
========================= */

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  padding: 1rem;
}

.mobile-nav a {
  padding: 0.8rem 0;
  text-decoration: none;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav.open {
  display: flex;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* =========================
   THEME BUTTON
========================= */

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 1.1rem;
}

/* .theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-toggle:hover {
  background: var(--border-soft);
} */


/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact button */
.btn-secondary {
  background: var(--gradient-main);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* =========================
   WHATSAPP FLOAT
========================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  z-index: 999;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
}
