/*
Theme Name: Valid World Hall v1.0.14
Theme URI: https://validworldhall.com/
Author: Valid World Hall
Description: One-page multilingual website for Valid World Hall gallery and event space in Barcelona.
Version: 1.0.14
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.6
License: GPL-2.0-or-later
Text Domain: valid-world-hall
*/

:root {
  --ink: #111111;
  --muted: #111111;
  --paper: #f4efe8;
  --card: #f4efe8;
  --surface: #fffaf5;
  --line: #e0d4c7;
  --warm-line: #d2c2b3;
  --strong-line: #111111;
  --blue: #111111;
  --red: #a84336;
  --red-dark: #7d2f28;
  --gold: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(244, 239, 232, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 156px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
}

.nav a,
.language-switcher button,
.primary-link,
.secondary-link,
.instagram-link,
.contact-actions a {
  color: var(--ink);
  font: inherit;
  text-decoration: none;
}

.nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--blue);
}

.language-switcher {
  display: flex;
  border: 1px solid var(--strong-line);
  background: var(--surface);
}

.language-switcher button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-right: 1px solid var(--strong-line);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher button:last-child {
  border-right: 0;
}

.language-switcher button.active {
  color: var(--surface);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: calc(100vh - 84px);
  padding: clamp(42px, 7vw, 104px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(244, 239, 232, 0.86) 0%, rgba(244, 239, 232, 0.58) 46%, rgba(244, 239, 232, 0.16) 100%),
    url("assets/valid/space-01.jpg") center / cover no-repeat;
}

.hero-copy {
  max-width: 1060px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: none;
  font-size: clamp(58px, 8.4vw, 138px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  white-space: nowrap;
}

h2 {
  max-width: 820px;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

h3 {
  font-size: 24px;
  line-height: 1.1;
}

p {
  color: var(--muted);
  font-size: 18px;
}

.lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.35;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.secondary-link,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--strong-line);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-link {
  color: var(--surface);
  background: var(--red);
  border-color: var(--red);
}

.contact-actions a.quote-link {
  color: var(--surface);
  background: var(--red);
  border-color: var(--red);
}

.secondary-link,
.contact-actions a {
  background: var(--surface);
}

.primary-link:hover,
.contact-actions a.quote-link:hover {
  color: var(--surface);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.secondary-link:hover,
.instagram-link:hover,
.contact-actions a:hover {
  color: var(--surface);
  background: var(--blue);
  border-color: var(--blue);
}

.hero-media {
  display: none;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.section {
  padding: clamp(50px, 7vw, 100px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

.split > div > p:not(.eyebrow),
.section-heading + p {
  max-width: 680px;
  margin-top: 20px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  background: transparent;
  border: 0;
}

.facts div {
  min-height: 172px;
  padding: 26px;
  border: 1px solid var(--warm-line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.055);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.facts div:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.45);
  box-shadow: 0 20px 58px rgba(17, 17, 17, 0.09);
}

dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 12px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.14;
}

.services {
  background: var(--paper);
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
}

.service-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--warm-line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.055);
}

.service-grid p {
  margin-top: 16px;
}

.instagram-section {
  background: var(--paper);
}

.instagram-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto 18px;
  padding: 32px;
  border: 1px solid var(--warm-line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.055);
}

.instagram-card p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 20px;
}

.instagram-link {
  display: grid;
  gap: 4px;
  min-width: 230px;
  padding: 20px 22px;
  border: 1px solid var(--strong-line);
  border-radius: 18px;
  color: var(--surface);
  background: var(--ink);
}

.instagram-link span {
  font-size: 24px;
  line-height: 1;
}

.instagram-link small {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.instagram-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
}

.instagram-preview img,
.instagram-reel-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.1);
  overflow: hidden;
}

.instagram-preview img {
  object-fit: cover;
}

.instagram-reel-card {
  position: relative;
  display: block;
  color: #fff;
  background: #111;
  text-decoration: none;
}

.instagram-reel-card img {
  height: 100%;
  filter: saturate(0.95) contrast(0.92) brightness(0.74);
  transform: scale(1.01);
  transition: transform 180ms ease, filter 180ms ease;
}

.instagram-reel-card:hover img {
  filter: saturate(1) contrast(0.96) brightness(0.66);
  transform: scale(1.035);
}

.reel-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.reel-play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-left: 19px solid #111;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.reel-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.reel-meta strong,
.reel-meta small {
  display: block;
  color: #fff;
}

.reel-meta strong {
  font-size: 15px;
  font-weight: 900;
}

.reel-meta small {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reel-credit {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 46px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.photos {
  background: var(--paper);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.1);
  object-fit: cover;
}

.photo-grid img:first-child {
  grid-row: span 2;
  height: 100%;
}

.photo-grid .photo-plan {
  grid-column: 1 / -1;
  height: auto;
  object-fit: contain;
  background: var(--card);
}

.capacity {
  align-items: center;
}

.capacity-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.capacity-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--warm-line);
  color: var(--ink);
  font-size: 17px;
}

.capacity img {
  width: 100%;
  border: 1px solid var(--warm-line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.055);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  max-width: calc(100% - clamp(36px, 8vw, 112px));
  margin: clamp(50px, 7vw, 100px) auto;
  border: 1px solid var(--warm-line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.055);
}

.contact .eyebrow {
  color: var(--ink);
}

.contact h2 {
  color: var(--ink);
}

.contact p {
  max-width: 760px;
  margin-top: 20px;
  color: var(--ink);
}

.contact-actions {
  margin-top: 0;
}

.contact-actions a {
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand img {
    width: 140px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .language-switcher {
    width: max-content;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(42px, 12vw, 76px);
    white-space: normal;
  }

  .facts,
  .service-grid,
  .instagram-card,
  .instagram-preview,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img:first-child {
    grid-row: auto;
  }

  .photo-grid .photo-plan {
    grid-column: auto;
  }

  .service-grid article {
    min-height: 220px;
  }

  .instagram-card {
    padding: 24px;
  }

  .instagram-link {
    min-width: 0;
  }

  .contact-actions {
    margin-top: 4px;
  }

  footer {
    flex-direction: column;
  }
}
