/*
Theme Name: DPL Showcase
Theme URI: https://example.com/dpl-showcase
Author: OpenAI
Author URI: https://openai.com
Description: Clean showcase theme for direct photo licensing with optional header menu toggle and editable footer areas.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: dpl-showcase
*/

:root {
  --dpl-text: #0f172a;
  --dpl-muted: #64748b;
  --dpl-border: #e2e8f0;
  --dpl-bg: #ffffff;
  --dpl-soft: #f8fafc;
  --dpl-accent: #111827;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  margin: 0;
  color: var(--dpl-text);
  background: var(--dpl-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.site-header {
  border-bottom: 1px solid var(--dpl-border);
  background: rgba(255,255,255,.92);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.branding {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.site-title {
  font-weight: 700;
  font-size: 1.125rem;
}
.site-description {
  color: var(--dpl-muted);
  font-size: .95rem;
}
.header-menu-wrap nav ul, .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-main { min-height: 60vh; }
.content-wrap { padding: 2rem 0; }
.site-footer {
  border-top: 1px solid var(--dpl-border);
  margin-top: 3rem;
  background: var(--dpl-soft);
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem;
  padding: 2rem 0 1rem;
}
.footer-widget {
  background: #fff;
  border: 1px solid var(--dpl-border);
  border-radius: 18px;
  padding: 1rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  color: var(--dpl-muted);
  font-size: .95rem;
}
.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--dpl-border);
  border-radius: 12px;
  padding: .6rem .9rem;
}
.screen-reader-text {
  position: absolute;
  left: -10000px;
}
.widget-title { margin-top: 0; font-size: 1.1rem; }
.wp-block-group, .entry-content > * { margin-bottom: 1rem; }
@media (max-width: 800px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .site-description { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-menu-wrap { display: none; width: 100%; }
  .header-menu-wrap.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .header-menu-wrap nav ul { flex-direction: column; gap: .75rem; padding-bottom: .5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
