/* ==========================================================
   KWK Designz — static site styles
   Colors and type match the original Hostinger Horizon build
   ========================================================== */

:root {
  --navy: #0F1729;        /* primary text / logo */
  --gold: #FBBD23;        /* accent / buttons */
  --slate: #65758B;       /* muted body text */
  --footer-bg: #1F2937;   /* footer background */
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------------- Facebook group banner ---------------- */

.fb-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  text-align: center;
  transition: filter 0.2s;
}

.fb-banner:hover { filter: brightness(1.06); }

.fb-banner .fb-icon { flex-shrink: 0; }

.fb-banner-arrow {
  font-weight: 700;
  transition: transform 0.2s;
}

.fb-banner:hover .fb-banner-arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .fb-banner { font-size: 0.8125rem; padding: 0.55rem 0.75rem; }
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--navy);
  cursor: pointer;
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile dropdown menu */
@media (max-width: 767px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 20px rgba(15, 23, 41, 0.08);
  }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-color: #000;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  animation: heroFade 1s ease-out both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 189, 35, 0.35);
}

/* ---------------- Products ---------------- */

.products-section {
  padding: 6rem 0;
  background: var(--white);
}

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.section-intro h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-intro p {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.65;
}

.product-rows {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .product-row { grid-template-columns: 1fr 1fr; }
  /* Alternate layout: image on the right */
  .product-row.reverse .product-image { order: 2; }
  .product-row.reverse .product-text { order: 1; }
}

.product-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: block;
}

.product-text h3 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-text p {
  font-size: 1.125rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--footer-bg);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.learn-more:hover { color: var(--gold); gap: 0.75rem; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand { font-size: 1.5rem !important; }

.site-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 24rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-social-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-text:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}

.footer-legal { display: flex; gap: 2rem; }

/* ---------------- Scroll animations ---------------- */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* If JavaScript is disabled, keep everything visible */
@media (scripting: none) {
  .fade-in { opacity: 1; transform: none; }
}
