/*
Theme Name: Zone One
Theme URI: https://zoneone.pc24.bg
Author: PC24
Description: Custom premium landing page for Zone One Padel & Tennis Complex.
Version: 1.0.0
Text Domain: zoneone
*/

:root {
  --ink: #10231c;
  --deep: #17372c;
  --green: #285744;
  --lime: #d9f36a;
  --cream: #f4f0e6;
  --paper: #fbf8f0;
  --muted: #70786f;
  --line: rgba(16, 35, 28, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.wrap { width: min(1420px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: .45fr 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.section-head h2 { margin: 0; font-size: clamp(3.3rem, 6.8vw, 7rem); line-height: .85; }
.section-head p { max-width: 690px; margin: 10px 0 0; font-size: 1.08rem; line-height: 1.8; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: white; transition: .35s; }
.site-header.scrolled { color: var(--ink); background: rgba(244,240,230,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 210px; height: auto; }
.site-header.scrolled .brand img { filter: invert(1); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a:not(.button) { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.main-nav > .button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid currentColor; font-size: .68rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; transition: .25s; }
.button:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: translateY(-2px); }
.button-solid { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.header-inner > .button { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.site-header.scrolled .header-inner > .button { opacity: 1; pointer-events: auto; transform: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 12px 8px; }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: currentColor; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: end; overflow: hidden; color: white; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); animation: hero-in 1.8s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,18,.8) 0%, rgba(8,24,18,.3) 55%, rgba(8,24,18,.15)), linear-gradient(0deg, rgba(8,24,18,.65), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding: 180px 0 70px; width: 100%; }
.hero-kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; color: var(--lime); }
.hero-kicker::before { content: ""; width: 46px; height: 1px; background: currentColor; }
.hero h1 { max-width: 1050px; margin: 0; font-size: clamp(4.2rem, 10vw, 9.5rem); line-height: .75; }
.hero h1 span { display: block; margin-left: 12%; font-style: italic; color: var(--lime); }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 52px; }
.hero-copy { max-width: 550px; margin: 0; font-size: 1.08rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; }
.scroll-cue { position: absolute; z-index: 3; right: 30px; bottom: 50%; writing-mode: vertical-rl; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }

.ticker { overflow: hidden; background: var(--lime); padding: 17px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 25s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ticker-track span::after { content: "✦"; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; }
.intro-media { position: relative; }
.intro-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.image-note { position: absolute; right: -40px; bottom: 35px; width: 190px; padding: 28px; background: var(--lime); }
.image-note strong { display: block; font-family: var(--serif); font-size: 3rem; line-height: .75; }
.image-note span { display: block; margin-top: 14px; font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.intro-copy h2 { margin: 0 0 32px; font-size: clamp(3.5rem, 6vw, 6.4rem); line-height: .88; }
.intro-copy h2 em { color: var(--green); font-weight: 400; }
.intro-copy p { margin: 0 0 24px; color: #536058; font-size: 1.06rem; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--paper); padding: 28px; }
.stat b { display: block; font-family: var(--serif); font-size: 4.5rem; font-weight: 500; line-height: .8; color: var(--green); }
.stat span { display: block; margin-top: 12px; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.club { background: var(--deep); color: var(--cream); }
.club .section-head p { color: rgba(244,240,230,.68); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { position: relative; min-height: 520px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.2); }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,25,18,.9), transparent 65%); }
.feature:hover img { transform: scale(1.05); }
.feature-content { position: absolute; z-index: 2; inset: auto 28px 30px; }
.feature-index { color: var(--lime); }
.feature h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.feature p { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.6; }

.sports { background: var(--paper); }
.sport-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.sport-row + .sport-row { margin-top: 1px; }
.sport-row.reverse .sport-media { order: 2; }
.sport-media { position: relative; min-height: 540px; overflow: hidden; }
.sport-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.sport-row:hover .sport-media img { transform: scale(1.035); }
.sport-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 110px); background: var(--cream); }
.sport-copy h2 { margin: 18px 0 28px; font-size: clamp(4rem, 7vw, 7.5rem); line-height: .75; }
.sport-copy p { margin: 0 0 22px; font-size: 1.03rem; line-height: 1.8; color: #536058; }
.sport-list { margin: 8px 0 38px; padding: 0; list-style: none; }
.sport-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.manifesto { position: relative; overflow: hidden; padding: 160px 0; color: white; text-align: center; }
.manifesto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manifesto::after { content: ""; position: absolute; inset: 0; background: rgba(7,29,21,.74); }
.manifesto-inner { position: relative; z-index: 2; }
.manifesto h2 { max-width: 1100px; margin: 24px auto 34px; font-size: clamp(3.8rem, 8vw, 8rem); line-height: .82; }
.manifesto h2 em { color: var(--lime); font-weight: 400; }
.manifesto p { max-width: 720px; margin: 0 auto; font-size: 1.08rem; line-height: 1.8; color: rgba(255,255,255,.76); }

.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; grid-template-rows: 300px 300px; gap: 12px; }
.gallery-grid figure { position: relative; overflow: hidden; margin: 0; }
.gallery-grid figure:first-child { grid-row: 1 / 3; }
.gallery-grid figure:last-child { grid-column: 2 / 4; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery-grid figure:hover img { transform: scale(1.04); }

.contact { background: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: end; }
.contact h2 { margin: 18px 0 0; font-size: clamp(4.5rem, 9vw, 9rem); line-height: .72; }
.contact-card { padding: 44px; background: var(--ink); color: var(--cream); }
.contact-line { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-line small { display: block; margin-bottom: 8px; color: var(--lime); font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.contact-line a, .contact-line span { font-family: var(--serif); font-size: 1.65rem; }
.contact-card .button { width: 100%; margin-top: 28px; color: var(--lime); }

.site-footer { padding: 48px 0; background: var(--ink); color: var(--cream); }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.footer-brand img { width: 230px; }
.footer-brand p { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes hero-in { to { transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1020px) {
  .main-nav a:not(.button) { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; background: var(--deep); color: white; transform: translateY(-100%); transition: .45s; }
  .main-nav.open { transform: none; }
  .main-nav.open a:not(.button) { display: block; font-family: var(--serif); font-size: 3rem; letter-spacing: 0; text-transform: none; }
  .main-nav > .button { display: inline-flex; margin-top: 20px; }
  .menu-toggle { position: relative; z-index: 3; order: -1; }
  .brand { position: relative; z-index: 3; }
  .section-head { grid-template-columns: 1fr; }
  .intro-grid { gap: 70px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { min-height: 460px; }
  .sport-row { min-height: 620px; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 1420px); }
  .section { padding: 82px 0; }
  .header-inner { height: 74px; }
  .brand img { width: 145px; }
  .header-inner > .button { display: none; }
  .hero-content { padding: 130px 0 42px; }
  .hero h1 { font-size: clamp(3.65rem, 20vw, 6.5rem); }
  .hero h1 span { margin-left: 0; }
  .hero-bottom { display: block; margin-top: 36px; }
  .hero-copy { font-size: .96rem; }
  .hero-actions { margin-top: 28px; flex-wrap: wrap; }
  .scroll-cue { display: none; }
  .intro-grid, .sport-row, .contact-grid { grid-template-columns: 1fr; }
  .intro-media { margin-right: 22px; }
  .image-note { right: -22px; bottom: 20px; width: 150px; padding: 20px; }
  .image-note strong { font-size: 2.4rem; }
  .stats { margin-top: 32px; }
  .stat { padding: 20px; }
  .stat b { font-size: 3.3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 420px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .sport-row { display: flex; flex-direction: column; min-height: auto; }
  .sport-row.reverse .sport-media { order: 0; }
  .sport-media { min-height: 430px; }
  .sport-copy { padding: 60px 24px; }
  .manifesto { padding: 110px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 220px 220px; }
  .gallery-grid figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .gallery-grid figure:last-child { grid-column: 1 / 3; }
  .contact-card { padding: 30px 24px; }
  .contact-line a, .contact-line span { font-size: 1.35rem; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 35px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
