/*
Theme Name: Columns Landing
Theme URI:
Author: Root Domain LLC
Author URI:
Description: Four-column landing page theme with full Customizer control over colors, content, layout, and footer.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: columns-landing
*/

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Fallback values — overridden by wp_head output */
:root {
  --accent: #e94560;
  --bg: #0d0d1a;
  --header-bg: #0d0d1a;
  --text: #e0e0e0;
  --text-muted: #a0a0b0;
  --footer-bg: #0d0d1a;
  --footer-text: #a0a0b0;
  --col-1: #1a1a2e;
  --col-2: #16213e;
  --col-3: #0f3460;
  --col-4: #1a1a2e;
  --col-hover: 233,69,96;
  --col-count: 4;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── HEADER ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: #fff;
}
.site-logo a { text-decoration: none; color: inherit; }
.site-logo img { max-height: 48px; width: auto; }

.primary-menu { display: flex; gap: 2rem; }
.primary-menu li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.primary-menu li a:hover { color: var(--accent); }

/* ── COLUMNS GRID ── */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(var(--col-count), 1fr);
  min-height: calc(100vh - 62px);
}

.col-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.5rem;
  text-align: center;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}
.col-block:nth-child(1) { background: var(--col-1); }
.col-block:nth-child(2) { background: var(--col-2); }
.col-block:nth-child(3) { background: var(--col-3); }
.col-block:nth-child(4) { background: var(--col-4); }

.col-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.col-block:hover::after { transform: scaleX(1); }
.col-block:hover { background: rgba(var(--col-hover), 0.06); }

.col-icon {
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.3s;
}
.col-block:hover .col-icon { transform: scale(1.1); }
.col-icon img { width: 32px; height: 32px; object-fit: contain; }
.col-icon svg {
  width: 32px; height: 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.col-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.col-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 260px;
  font-weight: 300;
}

.col-cta {
  margin-top: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.col-block:hover .col-cta { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.site-footer {
  padding: 2rem 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--footer-text);
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-contact {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text);
}
.footer-contact a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.footer-contact a:hover { opacity: 0.8; }

/* ── DEFAULT PAGE/POST ── */
.site-content {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  line-height: 1.8;
}
.site-content h1, .site-content h2, .site-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1rem;
}
.site-content p { margin-bottom: 1.25rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .columns-grid { grid-template-columns: 1fr 1fr; }
  .col-block { min-height: 50vh; }
}
@media (max-width: 520px) {
  .columns-grid { grid-template-columns: 1fr; }
  .site-header { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
  .primary-menu { gap: 1rem; }
  .primary-menu li a { font-size: 0.75rem; }
}
