/*
Theme Name: DAZE1 Portfolio
Theme URI: https://daze1.com
Author: DAZE1ARTS
Description: Lightweight, editable portfolio theme for showcasing artwork with protected contact forms and no WooCommerce dependency.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: daze1-portfolio
*/

:root {
  --d1-bg: #0b0b0b;
  --d1-surface: #161616;
  --d1-text: #f5f5f2;
  --d1-muted: #a7a7a0;
  --d1-accent: #ffd400;
  --d1-danger: #ff4d2e;
  --d1-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--d1-bg);
  color: var(--d1-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.site-shell { width: min(100% - 32px, var(--d1-max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,11,.94); backdrop-filter: blur(12px); border-bottom: 1px solid #292929; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.custom-logo { max-height: 48px; width: auto; }
.site-title { font-size: 1.2rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.primary-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { text-decoration: none; font-weight: 700; }
.primary-menu a:hover { color: var(--d1-accent); }
.menu-toggle { display:none; background:none; border:1px solid #3a3a3a; color:var(--d1-text); padding:10px 12px; }
.hero { padding: 96px 0 72px; }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items:center; }
.eyebrow { color: var(--d1-accent); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1,h2,h3 { line-height: 1.05; margin-top: 0; }
h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
.hero-copy p { max-width: 680px; font-size: 1.15rem; color: var(--d1-muted); }
.button, button, input[type=submit] { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border:0; background:var(--d1-accent); color:#111; font-weight:900; text-decoration:none; cursor:pointer; }
.button:hover, button:hover, input[type=submit]:hover { filter: brightness(.92); }
.section { padding: 72px 0; }
.section-head { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:32px; }
.art-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.art-card { background: var(--d1-surface); overflow:hidden; border:1px solid #292929; }
.art-card img { aspect-ratio: 4/5; object-fit: cover; width:100%; transition: transform .3s ease; }
.art-card:hover img { transform: scale(1.02); }
.art-card-body { padding: 18px; }
.art-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.art-card a { text-decoration:none; }
.meta { color: var(--d1-muted); font-size: .92rem; }
.content-wrap { width:min(100% - 32px, 850px); margin: 64px auto; }
.entry-content > * { max-width:100%; }
.entry-content p { font-size:1.08rem; }
.entry-content .wp-block-gallery, .entry-content .wp-block-image { margin-block: 28px; }
.site-footer { border-top:1px solid #292929; padding:36px 0; color:var(--d1-muted); }
.footer-inner { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.contact-panel { background:var(--d1-surface); border:1px solid #292929; padding:28px; }
.d1-field { margin-bottom:18px; }
.d1-field label { display:block; font-weight:800; margin-bottom:6px; }
.d1-field input, .d1-field textarea { width:100%; background:#0d0d0d; color:var(--d1-text); border:1px solid #3a3a3a; padding:13px; font:inherit; }
.d1-field textarea { min-height:160px; resize:vertical; }
.d1-notice { padding:14px 16px; margin-bottom:18px; border-left:4px solid var(--d1-accent); background:#1a1a1a; }
.d1-notice.error { border-color:var(--d1-danger); }
.d1-hp { position:absolute !important; left:-9999px !important; opacity:0 !important; pointer-events:none !important; }
.pagination { margin-top:32px; display:flex; gap:10px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns:1fr; }
  .art-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .menu-toggle { display:block; }
  .primary-navigation { display:none; position:absolute; top:76px; left:0; right:0; background:#111; border-bottom:1px solid #292929; padding:20px 16px; }
  .primary-navigation.open { display:block; }
  .primary-menu { flex-direction:column; gap:14px; }
}
@media (max-width: 560px) {
  .art-grid { grid-template-columns:1fr; }
  .hero { padding-top:64px; }
}
