/*
Theme Name: Roedhouse Studios
Theme URI: https://yourwebsite.com
Author: Roedhouse Studios
Author URI: https://yourwebsite.com
Description: A custom WordPress theme for Roedhouse Studios - Sound Engineering and Web Development Portfolio
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roedhouse
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, portfolio, one-page
*/

/* Design tokens */
:root {
  --bg: #0e0f12;
  --surface: #15171c;
  --text: #e8e9ee;
  --muted: #b8bac5;
  --accent: #78f2cc;
  --accent-2: #8aa3ff;
  --border: #262938;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 14px;
  --space: 1rem;
  --maxw: 1100px;
}

/* Base */
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }

.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--surface); color: var(--text); padding: .5rem .75rem; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: rgba(14,15,18,0.75); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 1rem; max-width: var(--maxw); margin: 0 auto; padding: .75rem 1.25rem; }
.logo { font-weight: 700; color: var(--text); border: 1px solid var(--border); padding: .4rem .6rem; border-radius: 8px; }
.nav-toggle { display: none; }
.menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.menu a { color: var(--muted); }
.menu a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; padding: 5rem 1.25rem; max-width: var(--maxw); margin: 1rem auto 0; }
.hero-content h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: .75rem; }
.hero-content p { color: var(--muted); max-width: 55ch; }
.hero picture { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Buttons */
.button { display: inline-block; background: var(--surface); color: var(--text); border: 1px solid var(--border); padding: .7rem 1rem; border-radius: 10px; box-shadow: var(--shadow); }
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b0d13; font-weight: 700; }
.button + .button { margin-left: .75rem; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-body { padding: 1rem; }
.card h3 { margin: 0 0 .25rem; }
.card p { margin: 0 0 .75rem; color: var(--muted); }

/* Player */
.player { display: grid; grid-template-columns: auto 60px 1fr auto; align-items: center; gap: .75rem; background: #424447; border: 1px solid var(--border); padding: .6rem; border-radius: 10px; }
.player .play, .player .mute { background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: .4rem .6rem; }
.player .seek { width: 100%; }
.player .time { color: var(--muted); }

/* Lists */
.credits-list, .gear-list { list-style: none; padding: 0; margin: 0; }
.credits-list li, .gear-list li { padding: .5rem 0; border-bottom: 1px dashed var(--border); }
.credits-list li:last-child, .gear-list li:last-child { border-bottom: 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.services-container { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.services > div { background: #424447; border: 1px solid var(--border); border-radius: 10px; padding: 1rem; }
.services h3 { margin-top: 0; font-size: 1rem; }

/* Contact */
.contact-wrapper { display: flex; flex-direction: column; align-items: flex-end; }
.contact-form { display: grid; gap: .75rem; max-width: 500px; width: 500px; }
.contact-form label { display: grid; gap: .35rem; color: var(--muted); }
.contact-form input, .contact-form textarea { background: #101217; color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; color: var(--muted); text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .menu { display: none; }
  .menu.open { display: flex; flex-direction: column; gap: .5rem; padding-top: .5rem; }
  .contact-wrapper { align-items: stretch; }
  .contact-form { width: 100%; max-width: 100%; }
}
