/* ============================================
   SKATE LOVE BCN - LANDING PAGE STYLES
   ============================================ */

/* ---- Reset & base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0a0a0a;
  --color-bg-elev: #111;
  --color-text: #ffffff;
  --color-text-dim: rgba(255, 255, 255, 0.7);
  --color-accent: #ff3b6b;      /* festival pink/red — adjust to your brand */
  --color-accent-hover: #ff5c84;
  --color-border: rgba(255, 255, 255, 0.15);
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Raleway', system-ui, -apple-system, sans-serif;
  --header-h: 90px;
  --max-w: 1400px;
}

html, body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo { width: 50px; height: auto; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

/* ---- Navigation ---- */
.main-nav { flex: 1; }

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--color-accent); }

.has-submenu { position: relative; }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  min-width: 200px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
}

.has-submenu:hover .submenu,
.has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.submenu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all 0.15s ease;
}

.submenu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-accent);
}

/* ---- Tickets button ---- */
.btn-tickets {
  background: var(--color-accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-tickets:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* ---- Mobile toggle ---- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 50, 150, 0.38);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 240px;
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 35px;
  letter-spacing: normal;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 59, 107, 0.35);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-bg);
}

.btn-full { width: 100%; }

/* ---- Social rail (horizontal row, below subtitle) ---- */
.social-rail {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 1.5rem auto 0;
  padding: 0;
  z-index: 6;
}

.social-rail a {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0.9;
}

.social-rail a:hover {
  opacity: 1;
  transform: scale(1.15);
}

.social-rail img { width: 28px; height: 28px; }

/* ---- Photo credit ---- */
.photo-credit {
  position: absolute;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  z-index: 6;
  transition: color 0.2s ease;
}

.photo-credit:hover { color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--color-border);
  padding: 4rem 2rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-logo img { width: 100px; height: auto; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--color-text-dim);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  color: var(--color-accent);
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: #fff; }

/* ---- Footer social row ---- */
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-row img { width: 26px; height: 26px; }

.social-row a {
  transition: transform 0.2s ease;
  display: inline-block;
}

.social-row a:hover { transform: translateY(-3px); }

.hashtag {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* ---- Newsletter ---- */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.newsletter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--color-text-dim);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox input { margin-top: 3px; accent-color: var(--color-accent); }

.checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---- Footer bottom ---- */
.footer-bottom {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.footer-bottom a {
  color: var(--color-text-dim);
  transition: color 0.2s ease;
}

.footer-bottom a:hover { color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .mobile-toggle { display: flex; margin-left: auto; }
  .btn-tickets { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
    text-align: left;
  }

  .submenu {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
    pointer-events: auto;
  }

  .has-submenu.is-open .submenu {
    max-height: 600px;
    padding: 0.5rem 0;
  }

  .submenu li a { padding-left: 3rem; }

  .social-rail {
    gap: 0.4rem;
    margin-top: 2rem;
  }

  .social-rail a {
    width: 48px;
    height: 48px;
  }

  .social-rail img {
    width: 30px;
    height: 30px;
  }

  .photo-credit {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 1rem; }
  .hero { padding: var(--header-h) 1.75rem 6rem; }
  .hero-logo { width: 190px; margin-bottom: 1.5rem; }
  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 17px; margin-bottom: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { padding: 3rem 1rem 1.5rem; }
}

/* ============================================
   LANDING MODE — hide chrome until 2027
   ============================================ */
.site-header,
.site-footer {
  display: none !important;
}

.hero {
  padding: 4rem 2rem;
}

.social-rail {
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .hero { padding: 4rem 1.75rem; }
}
