/* Weaver Music Co. — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* Theme: black + gold, per request (white background felt too plain) */
:root {
  --bg: #0C0C0D;
  --surface: #18181A;
  --text: #F6F4EE;
  --muted: #B9B4A6;
  --accent: #D4AF37;
  --accent-dark: #171507;
  --accent-light: #2A2412;
  --on-accent: #16130A;
  --border: #302F2A;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 780px;
  margin: 0 auto 0.5em;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2em;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  padding: 14px 32px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn:hover { background: #E8C55A; text-decoration: none; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 13px 31px;
  border-radius: 3px;
  font-weight: 600;
}

.btn-outline:hover { background: var(--accent-light); text-decoration: none; }

/* Sections */
section { padding: 72px 24px; }

.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.section-head h2 { font-size: 2rem; }

.section-head p { color: var(--muted); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}

.card h3 { font-size: 1.2rem; color: var(--accent); }

.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: 0.5em; }

/* Page intro (About / Services) */
.page-intro {
  padding: 72px 24px 40px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.page-intro h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.page-intro p.lede { color: var(--muted); font-size: 1.1rem; }

.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.prose p { font-size: 1.05rem; }

/* Contact */
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.contact-box label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 16px 0 6px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-box textarea { min-height: 120px; resize: vertical; }

.contact-emails {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
}

.contact-emails a { font-weight: 600; }

/* ---- Image integration (added) ---- */

/* Hero with photo background: overlays hero image with a dark gradient
   so the existing hero copy stays readable; only used on pages that
   opt in via the .hero--photo modifier class. */
.hero--photo {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.45), rgba(6, 6, 7, 0.82)),
    url('images/hero-trumpet-moody.jpg');
  background-size: cover;
  background-position: center 40%;
  color: #fff;
}

.hero--photo h1 { color: #fff; }
.hero--photo p.lede { color: rgba(255, 255, 255, 0.88); }

/* Photo gallery grid — reuses .grid-3 for layout, adds cropped,
   consistent-aspect image cards with a subtle hover zoom. */
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-card:hover img { transform: scale(1.06); }

/* About page: text + supporting image, two columns on desktop,
   stacked on mobile. Reuses the same spacing rhythm as .prose. */
.prose-with-image {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
  align-items: start;
}

.about-media img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: block;
  transition: transform 0.4s ease;
}

.about-media:hover img { transform: scale(1.02); }

@media (max-width: 800px) {
  .prose-with-image { grid-template-columns: 1fr; }
}

/* Services page: decorative banner photo above the service cards */
.section-photo {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.section-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.4s ease;
}

.section-photo:hover img { transform: scale(1.03); }

@media (max-width: 700px) {
  .section-photo img { height: 260px; }
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
