/*
Theme Name: MoonEdits
Theme URI: https://moonedits.com
Author: Ayodele
Author URI: https://moonedits.com
Description: A professional dark video editor portfolio WordPress theme with cinematic aesthetics, custom post types for portfolio, services, and testimonials.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moonedits
Tags: portfolio, dark, video, one-column, custom-menu, featured-images, custom-colors, full-width-template
*/

/* ─── CSS VARIABLES ─── */
:root {
  --bg: #060810;
  --bg2: #0c0f1a;
  --bg3: #111525;
  --accent: #b8f33c;
  --accent2: #7eefff;
  --text: #e8eaf2;
  --muted: #6b7194;
  --border: rgba(255,255,255,0.07);
  --card: rgba(255,255,255,0.04);
  --glow: rgba(184,243,60,0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ─── CUSTOM CURSOR ─── */
body { cursor: none; }
.cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transition: transform 0.35s ease;
  transform: translate(-50%,-50%);
  opacity: 0.5;
}

/* ─── NAV ─── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  background: rgba(6,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
#site-header.scrolled { padding: 14px 60px; }
.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.site-logo span { color: var(--accent); }
#primary-navigation ul {
  display: flex; gap: 36px;
}
#primary-navigation a {
  color: var(--muted);
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #060810;
  padding: 10px 24px; border-radius: 2px;
  font-family: var(--font-display); font-size: 0.82rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  display: block;
}

/* ─── HERO ─── */
.hero-section {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.orb1 { width: 500px; height: 500px; background: rgba(184,243,60,0.08); top: -100px; right: 100px; }
.orb2 { width: 300px; height: 300px; background: rgba(126,239,255,0.06); bottom: 0; left: 200px; }

.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(184,243,60,0.08); border: 1px solid rgba(184,243,60,0.2);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}
.hero-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  margin-top: 24px; max-width: 420px;
  color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.7;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero-tag {
  border: 1px solid var(--border); border-radius: 100px;
  padding: 6px 16px; font-size: 0.82rem; color: var(--muted);
}
.hero-btns {
  display: flex; gap: 16px; margin-top: 44px;
  animation: fadeUp 0.8s 0.5s ease both;
}
.btn-primary {
  background: var(--accent); color: #060810;
  padding: 14px 32px; border-radius: 2px;
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text);
  padding: 14px 32px; border-radius: 2px;
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-img-wrap { position: relative; width: 420px; height: 520px; }
.hero-img-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  border-radius: 4px; border: 1px solid var(--border);
}
.hero-img-inner {
  position: absolute; inset: 20px;
  background: var(--bg3); border-radius: 3px;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
.hero-img-inner img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-img-placeholder {
  text-align: center; padding: 20px;
}
.hero-img-placeholder .ph-icon { font-size: 4rem; margin-bottom: 12px; }
.hero-img-placeholder .ph-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.hero-img-placeholder .ph-role { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

.hero-stat-card {
  position: absolute;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 4px; padding: 16px 20px;
}
.stat-card1 { bottom: 60px; left: -60px; }
.stat-card2 { top: 60px; right: -50px; }
.stat-num {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 800; color: var(--accent); line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.software-badges {
  position: absolute; bottom: -20px; right: 0;
  display: flex; gap: 8px;
}
.sw-badge {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 4px; padding: 8px 12px;
  font-size: 0.72rem; color: var(--muted); font-weight: 500;
}

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

/* ─── MARQUEE ─── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden; background: var(--bg2);
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap; display: flex; align-items: center; gap: 20px;
}
.marquee-item::after { content: '✦'; color: var(--accent); font-size: 0.6rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── SECTION COMMONS ─── */
.section-wrap { padding: 100px 60px; position: relative; }
.section-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 600px;
}
.section-desc {
  color: var(--muted); font-size: 1rem;
  line-height: 1.75; max-width: 480px; margin-top: 16px;
}
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px;
}

/* ─── SKILLS ─── */
.skills-section { background: var(--bg2); }
.skills-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; margin-top: 60px;
}
.skill-card {
  background: var(--card); border: 1px solid var(--border);
  padding: 40px 32px; transition: background 0.3s, border-color 0.3s;
  position: relative; overflow: hidden;
}
.skill-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.skill-card:hover::before { transform: scaleX(1); }
.skill-card:hover { background: rgba(184,243,60,0.04); border-color: rgba(184,243,60,0.15); }
.skill-icon { font-size: 2rem; margin-bottom: 20px; }
.skill-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.skill-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.skill-bar-wrap { margin-top: 20px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width 1.2s ease; }

/* ─── SERVICES ─── */
.services-section { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  padding: 36px 28px; transition: all 0.3s;
}
.service-card:hover {
  background: var(--bg3); border-color: rgba(184,243,60,0.2);
  transform: translateY(-4px);
}
.service-num {
  font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 20px; opacity: 0.7;
}
.service-icon { font-size: 1.8rem; margin-bottom: 14px; }
.service-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.service-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }

/* ─── ABOUT ─── */
.about-section {
  background: var(--bg2);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 48px; }
.about-stat { background: var(--card); border: 1px solid var(--border); padding: 28px; }
.about-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.about-stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.about-visual { position: relative; height: 500px; }
.about-img-main {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--bg3), var(--bg));
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 40px; text-align: center;
  background: linear-gradient(145deg, rgba(17,21,37,0.7), rgba(6,8,16,0.9));
}
.about-big-icon { font-size: 5rem; margin-bottom: 16px; }
.about-img-tag {
  position: absolute; top: 24px; right: 24px;
  background: var(--accent); color: #060810;
  font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px;
}
.about-tools { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.tool-chip {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 14px; font-size: 0.74rem; color: var(--muted);
}
.about-checklist { margin-top: 28px; }
.about-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: var(--muted);
}
.about-checklist li::before { content: '→'; color: var(--accent); flex-shrink: 0; }

/* ─── PORTFOLIO ─── */
.portfolio-section { background: var(--bg); }
.portfolio-filter { display: flex; gap: 6px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  background: none; border: 1px solid var(--border);
  color: var(--muted); padding: 8px 18px; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.82rem;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent); color: #060810;
  border-color: var(--accent); font-weight: 600;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.portfolio-card {
  position: relative; overflow: hidden;
  border-radius: 4px; border: 1px solid var(--border);
  aspect-ratio: 4/3; background: var(--bg3);
  cursor: pointer; transition: transform 0.3s, border-color 0.3s;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(184,243,60,0.3); }
.portfolio-thumb {
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; opacity: 0.2;
}
.portfolio-card:hover .portfolio-thumb { transform: scale(1.05); }
.portfolio-overlay-always {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(6,8,16,0.9) 0%, transparent 100%);
  padding: 24px;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,8,16,0.95) 0%, rgba(6,8,16,0) 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  font-size: 0.72rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 4px;
}
.portfolio-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
.portfolio-view { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.8rem; font-weight: 600; margin-top: 10px; }

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--bg2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 56px; }
.testi-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 4px; padding: 36px; transition: border-color 0.3s;
}
.testi-card:hover { border-color: rgba(184,243,60,0.2); }
.testi-stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 20px; }
.testi-text { font-size: 0.92rem; color: var(--muted); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(184,243,60,0.1); border: 1px solid rgba(184,243,60,0.2);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--muted); }

/* ─── BLOG ─── */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 56px; }
.blog-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.blog-card:hover { border-color: rgba(184,243,60,0.2); transform: translateY(-4px); }
.blog-thumb {
  height: 200px; overflow: hidden;
  background: var(--bg2); position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb-placeholder {
  height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.blog-body { padding: 28px; }
.blog-cat { font-size: 0.72rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.blog-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.4; margin-bottom: 12px; }
.blog-meta { font-size: 0.78rem; color: var(--muted); }

/* ─── CONTACT ─── */
.contact-section {
  background: var(--bg2);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-item { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(184,243,60,0.08); border: 1px solid rgba(184,243,60,0.15);
  border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-label { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-value { font-weight: 500; margin-top: 2px; font-size: 0.95rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 3px; padding: 14px 18px;
  color: var(--text); font-family: var(--font-body); font-size: 0.92rem;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--accent); color: #060810;
  border: none; padding: 16px 36px;
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s; align-self: flex-start;
}
.form-submit:hover { opacity: 0.85; transform: translateY(-2px); }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-nav ul { display: flex; gap: 32px; }
.footer-nav a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SINGLE POST / PAGE ─── */
.entry-content { max-width: 800px; margin: 140px auto 80px; padding: 0 40px; }
.entry-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 24px; }
.entry-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.entry-content p { color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.entry-content h2, .entry-content h3 { margin: 40px 0 16px; }
.entry-content a { color: var(--accent); }

/* ─── WIDGETS ─── */
.widget-area { background: var(--bg2); padding: 60px; }
.widget { margin-bottom: 40px; }
.widget-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .skills-grid, .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  #site-header { padding: 18px 24px; }
  #primary-navigation { display: none; }
  #primary-navigation.open {
    display: block; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(6,8,16,0.97);
    padding: 24px; border-bottom: 1px solid var(--border);
  }
  #primary-navigation.open ul { flex-direction: column; gap: 20px; }
  .hamburger { display: flex; }
  .hero-section { grid-template-columns: 1fr; padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .section-wrap { padding: 70px 24px; }
  .about-section, .contact-section { grid-template-columns: 1fr; padding: 70px 24px; }
  .portfolio-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  #site-footer { flex-direction: column; text-align: center; padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .portfolio-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .skills-grid, .services-grid { grid-template-columns: 1fr; }
}
