/*
Theme Name: Arbat Bilbao
Theme URI: https://arbatbilbao.com
Author: Umamixe Gastronomia S.L.
Description: Tema personalizado para Arbat Bilbao — espacio para eventos
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: arbat
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #F7F6F3;
  color: #1C1C1A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --gold: #C9A84C;
  --gold-dark: #A8882E;
  --black: #1C1C1A;
  --black-deep: #111110;
  --white: #F7F6F3;
  --gray-light: #ECEAE4;
  --gray-mid: #6B6A65;
  --gray-border: #E8E5E0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { line-height: 1.75; }

.sec-tag {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 28px;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}
.btn:hover { opacity: 0.88; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); opacity: 1; }
.btn-outline-white { border: 1px solid rgba(247,246,243,0.4); color: var(--white); }
.btn-outline-white:hover { border-color: rgba(247,246,243,0.7); }
.btn-tour { border: 1px solid rgba(201,168,76,0.5); color: var(--gold); }
.btn-tour:hover { border-color: var(--gold); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #E8E5E0; }

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28,28,26,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
}
.site-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(247,246,243,0.5);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-tour { color: var(--gold); }
.nav-links .nav-tour:hover { color: var(--gold-dark); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--gold-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 72px;
  width: 100%;
}

.hero-tag {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #FFE066;
  display: block;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,1);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 560px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,1);
  font-size: clamp(32px, 4.5vw, 48px);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 20px;
  max-width: 480px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,1);
  font-weight: 500;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--sans);
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,224,102,0.5);
  padding: 8px 16px 8px 12px;
  letter-spacing: 0.3px;
}

.trust-bullet {
  width: 5px;
  height: 5px;
  background: #FFE066;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-strip-item { text-align: center; }

.trust-strip-num {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.trust-strip-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8B8A85;
  font-family: var(--sans);
}

/* ===== SECTIONS (shared) ===== */
.section {
  padding: 72px 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { margin-bottom: 40px; }

.section-header h2 { margin-bottom: 12px; }

.section-lead {
  font-size: 15px;
  color: var(--gray-mid);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== SERVICES GRID ===== */
.services-wrap { background: #F7F6F3; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  background: #fff;
  border: 0.5px solid var(--gray-border);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-light);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }

.service-card-body { padding: 20px; }

.service-card-name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--black);
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-card-link {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  transition: color 0.2s;
}
.service-card-link:hover { color: var(--gold-dark); }

/* ===== TOUR VIRTUAL ===== */
.tour-section {
  background: var(--black);
  padding: 72px 0;
}

.tour-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.tour-content .sec-tag { color: var(--gold); }
.tour-content h2 { color: var(--white); margin-bottom: 14px; }
.tour-content p { color: rgba(247,246,243,0.55); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }

.tour-preview {
  position: relative;
  aspect-ratio: 16/10;
  background: #141412;
  border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
  cursor: pointer;
}

.tour-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.tour-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(10,10,8,0.55);
  transition: background 0.3s;
}
.tour-preview:hover .tour-play-overlay { background: rgba(10,10,8,0.35); }

.tour-play-btn {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.tour-preview:hover .tour-play-btn { transform: scale(1.08); }

.tour-play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid var(--gold);
  margin-left: 4px;
}

.tour-play-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(247,246,243,0.5);
  font-family: var(--sans);
}

/* ===== EMPRESAS ===== */
.emp-section { background: #fff; }

.emp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.emp-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 32px;
}

.emp-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #4B4A46;
  line-height: 1.5;
}

.feat-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.emp-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-light);
}
.emp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== GALLERY ===== */
.gallery-section { background: #F7F6F3; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin-top: 32px;
}

.gallery-item {
  overflow: hidden;
  background: var(--gray-light);
  cursor: pointer;
}
.gallery-item.big { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--black);
  padding: 80px 0;
}

.cta-final-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}

.cta-final h2 { color: var(--white); margin-bottom: 14px; }

.cta-final-sub {
  font-size: 15px;
  color: rgba(247,246,243,0.5);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-aside {
  border-left: 1px solid rgba(247,246,243,0.08);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-aside-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(247,246,243,0.4);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--black-deep); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 36px 32px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand span { color: var(--gold); }

.footer-desc {
  font-size: 13px;
  color: rgba(247,246,243,0.35);
  line-height: 1.75;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(201,168,76,0.55);
  font-style: italic;
}

.footer-title {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  font-family: var(--sans);
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(247,246,243,0.4);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(247,246,243,0.75); }
.footer-col a.gold-link { color: rgba(201,168,76,0.65); }
.footer-col a.gold-link:hover { color: var(--gold); }

.footer-copy {
  background: #0A0A09;
  padding: 14px 36px;
}

.footer-copy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(247,246,243,0.2);
  font-family: var(--sans);
}

.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(247,246,243,0.2); font-size: 11px; }
.footer-legal a:hover { color: rgba(247,246,243,0.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-inner { grid-template-columns: 1fr; }
  .emp-inner { grid-template-columns: 1fr; }
  .cta-final-inner { grid-template-columns: 1fr; }
  .cta-aside { border-left: none; padding-left: 0; border-top: 1px solid rgba(247,246,243,0.08); padding-top: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: rgba(28,28,26,0.98); padding: 20px; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.big { grid-row: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content { padding: 0 24px 48px; }
  .section { padding: 48px 24px; }
  .trust-strip-inner { padding: 20px 24px; }
}
