/*
Theme Name: WhiteHatHelp
Author: WhiteHatHelp
Description: Educational white-hat scam awareness and referral theme.
Version: 1.2
*/

/* =====================
   GLOBAL STYLES
===================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.75;
  margin: 0;
}

header,
footer {
  background: #020617;
  color: #ffffff;
}

/* =====================
   HEADER & BRANDING
===================== */

.site-header {
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;

  display: flex;                 /* REQUIRED FOR HORIZONTAL MENU */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
}

.site-description {
  font-size: 14px;
  opacity: 0.8;
  margin: 4px 0 0 0;
}

/* =====================
   HORIZONTAL NAVIGATION
===================== */

.primary-navigation {
  display: flex;
  align-items: center;
}

.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;                 /* FORCE HORIZONTAL */
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.primary-navigation li {
  display: block;
  position: relative;            /* submenu safety */
}

.primary-navigation a {
  display: block;
  padding: 8px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-page-ancestor > a {
  background-color: #1e293b;
  color: #ffffff;
}

/* =====================
   MAIN CONTENT
===================== */

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* =====================
   CONTENT BLOCKS
===================== */

.disclaimer {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px;
  margin-bottom: 36px;
  font-size: 14px;
}

.question {
  background: #ffffff;
  border-left: 4px solid #2563eb;
  padding: 22px;
  margin: 28px 0;
  font-size: 16px;
}

/* =====================
   FOOTER
===================== */

footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

/* =====================
   FLOATING CONTACT BUTTONS
===================== */

.floating-button {
  position: fixed;
  bottom: 40px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
}

.floating-telegram {
  left: 20px;
  background-color: #0088cc;
}

.floating-whatsapp {
  right: 20px;
  background-color: #25d366;
}

.floating-button img {
  width: 32px;
  height: 32px;
}

/* =====================
   BASIC RESPONSIVE SAFETY
   (does NOT change layout)
===================== */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .primary-navigation ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
