/* ---------------------------------------------
   West Wales PA & Sound — stylesheet
--------------------------------------------- */

:root {
  --ink: #14161f;
  --ink-soft: #1d2130;
  --paper: #faf8f4;
  --paper-2: #f1ede4;
  --line: #e5e0d4;
  --text: #21232b;
  --text-muted: #62636d;
  --text-on-dark: #eceaf0;
  --text-on-dark-muted: #a7a8b8;
  --accent: #c9993f;
  --accent-strong: #a87b2b;
  --accent-soft: #f2e2c2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 45px -25px rgba(20, 22, 31, 0.35);
  --shadow-sm: 0 10px 25px -15px rgba(20, 22, 31, 0.3);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #1a1408;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-ghost {
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 22, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  color: var(--accent);
}
.brand-text strong { color: var(--accent); font-weight: 600; }

.main-nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--text-on-dark); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-cta .btn-ghost { padding: 9px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/hero_bg.jpg") center 30% / cover no-repeat;
  filter: saturate(0.85) brightness(0.92);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15, 16, 23, 0.86) 0%, rgba(15, 16, 23, 0.6) 42%, rgba(15, 16, 23, 0.3) 75%, rgba(15, 16, 23, 0.35) 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 82% 20%, rgba(201, 153, 63, 0.22), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(201, 153, 63, 0.12), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 760px;
  text-align: left;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.hero-trust li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(201, 153, 63, 0.16);
  border: 1.5px solid var(--accent);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }

.section-eyebrow {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow-light { color: var(--accent); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  max-width: 30ch;
  margin-bottom: 18px;
}
.section-title-light { color: var(--text-on-dark); }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 48px;
}
.section-lead-light { color: var(--text-on-dark-muted); }

.grid { display: grid; gap: 24px; }

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Services ---------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------- Why us ---------- */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-item {
  padding: 8px 0;
  border-top: 2px solid var(--line);
  padding-top: 22px;
}
.why-num {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.why-item h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.why-item p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; }

/* ---------- Packages ---------- */
.packages-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.package {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
}
.package h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.package-desc { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 22px; }
.package-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
  flex: 1;
}
.package-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--text);
}
.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.package-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: scale(1.02);
}
.package-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #1a1408;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: repeat(2, minmax(200px, 1fr));
  grid-auto-flow: row;
}
.gallery-item-tall { grid-row: span 2; }

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 240px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--ink);
  color: var(--text-on-dark);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.contact-area {
  margin-top: 6px;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}
.contact-area strong { color: var(--text-on-dark); }

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.contact-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}
.contact-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 153, 63, 0.16);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  font-weight: 500;
  margin-bottom: 3px;
}
.contact-value {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-soft);
  color: var(--text-on-dark-muted);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 32px;
  margin-bottom: 22px;
}
.footer-brand .brand-text {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--text-on-dark);
}
.footer-brand p {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 0.9rem;
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; transition: color 0.15s ease; }
.footer-nav a:hover { color: var(--text-on-dark); }
.footer-legal { font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .package-featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ink);
    padding: 18px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .header-cta .btn-ghost.mobile-visible { display: inline-flex; }

  .hero { padding: 64px 0 72px; text-align: left; }
  .section { padding: 68px 0; }

  .services-grid, .why-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item, .gallery-item-tall {
    grid-row: auto;
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn, .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
