/* ============================================
   URBANPLAY PADEL — STYLESHEET
   styles.css
   ============================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --black:   #080808;
  --dark:    #111111;
  --card:    #161616;
  --border:  rgba(255,255,255,0.07);
  --muted:   #666660;
  --light:   #c8c4bc;
  --white:   #f0ede8;
  --acid:    #d4f040;
  --acid-dk: #aac930;
  --display: 'Barlow Condensed', sans-serif;
  --body:    'Barlow', sans-serif;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── UTILITY ── */
.tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-solid {
  background: var(--acid);
  color: var(--black);
}
.btn-solid:hover { background: var(--acid-dk); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo span { color: var(--acid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--acid);
  color: var(--black);
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--acid-dk); transform: translateY(-1px); color: var(--black); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.2s; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: 68px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(212,240,64,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 80% 80%, rgba(212,240,64,0.04) 0%, transparent 60%);
}

.hero-court {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-court svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 3rem 5rem 6rem;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--acid);
}
.hero-eyebrow span {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acid);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(4.5rem, 11vw, 11rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
  display: block;
}
.hero-title .solid  { display: block; color: var(--white); }
.hero-title .accent { display: block; color: var(--acid); }

.hero-body {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--light);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.hero-stats {
  position: absolute;
  right: 6rem;
  bottom: 5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: right;
}
.hero-stat-num {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--acid);
}
.hero-stat-label {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}
.hero-scroll span {
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollline 1.8s ease-in-out infinite;
}
@keyframes scrollline {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(0.5); opacity: 0.15; }
}

/* ── MARQUEE ── */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
  overflow: hidden;
  padding: 0.85rem 0;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-inner span {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 2rem;
}
.marquee-inner span.accent { color: var(--acid); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ── */
#about {
  padding: 9rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
#about::before {
  content: 'PLAY';
  position: absolute;
  font-family: var(--display);
  font-size: 22vw;
  font-weight: 800;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.about-heading {
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.about-heading .outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
  display: block;
}

.about-text p {
  font-weight: 300;
  color: var(--light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-text p strong {
  color: var(--white);
  font-weight: 500;
}
.about-text .btn { margin-top: 0.75rem; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.pillar {
  background: var(--card);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
  cursor: default;
}
.pillar:hover { background: #1c1c1c; }

.pillar-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.pillar-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

/* ── COURTS ── */
#courts {
  padding: 9rem 6rem;
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.section-heading {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
}
.section-heading .outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

.courts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.court-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.court-card:hover { background: #1a1a1a; }
.court-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.court-card:hover::after { transform: scaleX(1); }

.court-number {
  font-family: var(--display);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(212,240,64,0.12);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 0.25s;
}
.court-card:hover .court-number { color: rgba(212,240,64,0.2); }

.court-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.court-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FEATURES ── */
#features {
  padding: 9rem 6rem;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#features::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,240,64,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 7rem;
  align-items: center;
}
.features-left .section-heading { margin-bottom: 1.5rem; }
.features-left p {
  font-weight: 300;
  color: var(--light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,240,64,0.1);
  border: 1px solid rgba(212,240,64,0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 1.5rem;
}
.coming-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acid);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-item {
  background: var(--card);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.2s;
}
.feature-item:hover { background: #1c1c1c; }

.feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(212,240,64,0.08);
  border: 1px solid rgba(212,240,64,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 16px; height: 16px; stroke: var(--acid); fill: none; stroke-width: 1.5; }

.feature-text-title {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.feature-text-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* ── NOTIFY ── */
#notify {
  padding: 6rem;
  background: var(--acid);
  position: relative;
  overflow: hidden;
  text-align: center;
}
#notify::before {
  content: 'URBANPLAY';
  position: absolute;
  font-family: var(--display);
  font-size: 18vw;
  font-weight: 800;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(0,0,0,0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.notify-tag {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 1rem;
  display: block;
}
.notify-heading {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 1.2rem;
}
.notify-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(0,0,0,0.6);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.notify-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.notify-form input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  background: rgba(0,0,0,0.08);
  border: none;
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
}
.notify-form input::placeholder { color: rgba(0,0,0,0.35); }
.notify-form button {
  background: var(--black);
  color: var(--acid);
  border: none;
  padding: 0.95rem 1.5rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.notify-form button:hover { opacity: 0.85; }

.notify-success {
  display: none;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  padding: 1rem;
}

/* ── CONTACT ── */
#contact {
  padding: 9rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  border-bottom: 1px solid var(--border);
}
.contact-left .section-heading { margin-bottom: 1.5rem; }
.contact-left p {
  font-weight: 300;
  color: var(--light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.contact-item-icon svg { width: 16px; height: 16px; stroke: var(--acid); fill: none; stroke-width: 1.5; }

.contact-item-label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-item-value { font-size: 0.95rem; color: var(--white); }
.contact-item-value a { color: var(--white); transition: color 0.2s; }
.contact-item-value a:hover { color: var(--acid); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input,
.form-textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus { border-color: rgba(212,240,64,0.35); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); font-weight: 300; }
.form-textarea { resize: vertical; min-height: 130px; }

/* ── FOOTER ── */
footer {
  padding: 3.5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.footer-logo span { color: var(--acid); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}
.footer-socials { display: flex; gap: 1rem; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: var(--acid); background: rgba(212,240,64,0.06); }
.social-link svg { width: 15px; height: 15px; stroke: var(--light); fill: none; stroke-width: 1.5; transition: stroke 0.2s; }
.social-link:hover svg { stroke: var(--acid); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 400;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--acid); }

/* ── PAGE LOAD ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.7s ease both; }
.hero-title   { animation: fadeUp 0.7s 0.1s ease both; }
.hero-body    { animation: fadeUp 0.7s 0.2s ease both; }
.hero-actions { animation: fadeUp 0.7s 0.3s ease both; }
.hero-stats   { animation: fadeUp 0.7s 0.35s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  #about, #contact { grid-template-columns: 1fr; gap: 4rem; }
  #about    { padding: 6rem 3rem; }
  #contact  { padding: 6rem 3rem; }
  #courts   { padding: 6rem 3rem; }
  #features { padding: 6rem 3rem; }
  #notify   { padding: 5rem 3rem; }
  .features-inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero-stats { display: none; }
  nav { padding: 0 1.5rem; }
  .hero-content { padding: 3rem 1.5rem 5rem; }
  footer { padding: 2.5rem 2rem; }
  #about::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .courts-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .about-pillars { grid-template-columns: 1fr; }
}
