/* ── Variables ── */
:root {
  --blue:    #00B0F0;
  --yellow:  #D4A000;
  --pink:    #FF0066;
  --green:   #25D366;
  --bg:      #1b1b1b;
  --surface: #262626;
  --text:    #f2f2f2;
  --muted:   #a8a8a8;
  --border:  #383838;
  --radius:  12px;
  --ease:    0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.rtl {
  font-family: 'Heebo', Arial, sans-serif;
  direction: rtl;
}

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

section { padding: 80px 20px; }
section.divider { border-top: 1px solid var(--border); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

/* ── Accent colors ── */
.r { color: var(--blue);   text-shadow: 0 0 20px rgba(0,176,240,0.5); }
.k { color: var(--yellow); text-shadow: 0 0 20px rgba(212,160,0,0.6); }
.d { color: var(--pink);   text-shadow: 0 0 20px rgba(255,0,102,0.5); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-green  { background: var(--green); color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.btn-green:hover { box-shadow: 0 6px 28px rgba(37,211,102,0.55); color: #fff; }
.btn-pink   { background: var(--pink);  color: #fff; box-shadow: 0 4px 20px rgba(255,0,102,0.3); }
.btn-pink:hover  { box-shadow: 0 6px 28px rgba(255,0,102,0.5);  color: #fff; }
.btn-blue   { background: var(--blue);  color: #fff; box-shadow: 0 4px 20px rgba(0,176,240,0.3); }
.btn-blue:hover  { box-shadow: 0 6px 28px rgba(0,176,240,0.5);  color: #fff; }

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27,27,27,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links li { flex-shrink: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: all var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #fff !important; background: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: box-shadow var(--ease), transform var(--ease);
}
.nav-icon svg { width: 18px; height: 18px; fill: #fff; }
.nav-icon:hover { transform: translateY(-1px); }

.nav-wa-icon { background: var(--green); }
.nav-wa-icon:hover { box-shadow: 0 4px 16px rgba(37,211,102,0.45); }

.nav-ig-icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.nav-ig-icon:hover { box-shadow: 0 4px 16px rgba(220,39,67,0.45); }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }

/* ── Hero ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('../images/hero.jpeg') center/cover no-repeat;
  background-color: var(--bg);  /* fallback when image not yet uploaded */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.4) 55%, rgba(10,10,10,0.8) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px 20px 36px;
}
.hero-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.hero-tagline {
  font-family: 'Jost', 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: var(--text);
  line-height: 1.5;
  font-weight: 700;
}
body.rtl .hero-tagline { font-family: 'Heebo', Arial, sans-serif; }

/* ── About ── */
.about-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img, .group-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.about-img img, .group-photo img { width: 100%; height: 100%; object-fit: cover; }
.group-photo img { object-position: top; }
.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 3rem;
}
.about-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.about-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.about-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Pricing ── */
.pricing-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.pricing-card.border-pink { border-color: var(--pink); }
.pricing-card.border-blue { border-color: var(--blue); }
.pricing-price {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.pricing-desc { color: var(--muted); font-size: 0.95rem; }

/* ── Gallery ── */
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── Instagram ── */
#instagram { text-align: center; }
.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.2rem;
  padding: 18px 38px;
  border-radius: 50px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 24px rgba(220,39,67,0.3);
  transition: transform var(--ease), box-shadow var(--ease);
}
.ig-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(220,39,67,0.5); color: #fff; }
.ig-btn svg { width: 26px; height: 26px; }

/* ── Footer ── */
footer {
  background: #121212;
  padding: 40px 20px 28px;
  color: #ccc;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 4px;
}
.footer-info { color: #aaa; font-size: 0.85rem; line-height: 1.7; }
.footer-info a { color: var(--blue); }
.footer-info a:hover { text-decoration: underline; }
.footer-copy { width: 100%; text-align: center; color: #666; font-size: 0.78rem; margin-top: 10px; }

/* ── Birthday page ── */
.bday-hero {
  background: var(--bg);
  padding: 90px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.bday-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,0,102,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.bday-hero-inner { position: relative; z-index: 1; }
.bday-hero-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 0.8rem;
}
.bday-hero-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

.bday-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.bday-hero-photos {
  display: flex;
  gap: 16px;
}
.img-slot {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.bday-hero-photos .img-slot { max-width: none; flex: 1; aspect-ratio: 3/4; margin: 0; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
}
.img-placeholder .icon { font-size: 2.5rem; }

.bday-section { padding: 60px 20px; }
.bday-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bday-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.bday-card.border-blue { border: 2px solid var(--blue); }
.bday-card.border-pink { border: 2px solid var(--pink); }

.bday-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid currentColor;
  margin-bottom: 22px;
}
.bday-card-label.blue { color: var(--blue); }
.bday-card-label.pink { color: var(--pink); }

.bday-details-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bday-detail-key {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}
.bday-cost-pill { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; }
.bday-cost-main { font-size: 1.05rem; font-weight: 700; }
.bday-cost-sub  { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

.check-list-w { display: flex; flex-direction: column; gap: 12px; }
.check-list-w li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.chk { color: var(--pink); font-weight: 800; flex-shrink: 0; }

.notes-list-w { display: flex; flex-direction: column; gap: 0; }
.notes-list-w li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; line-height: 1.65; padding: 9px 0; border-bottom: 1px solid var(--border); }
.notes-list-w li:last-child { border-bottom: none; color: var(--pink); font-weight: 700; }
.dot { color: var(--blue); flex-shrink: 0; }

.bday-cta { text-align: center; padding: 70px 20px; border-top: 1px solid var(--border); }
.bday-cta h2 { margin-bottom: 0.6rem; }
.bday-cta p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }

/* ── Tournament page ── */
.tourney-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.tourney-card.border-pink { border-color: var(--pink); }
.tourney-card.border-blue { border-color: var(--blue); }
.tourney-card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.tourney-card-date { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }

/* ── Air hockey page ── */
.ah-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('../images/air-hockey.jpg') center/cover no-repeat;
  background-color: var(--bg);
}
.ah-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  pointer-events: none;
}
.ah-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 60px 20px; }
.ah-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.ah-title {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.ah-tagline { color: var(--text); font-size: 1.05rem; opacity: 0.9; }

.ah-details-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.ah-detail-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ah-detail-row:last-child { border-bottom: none; }
.ah-detail-label {
  min-width: 90px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.ah-detail-value { font-weight: 700; font-size: 1.05rem; }

/* ── Inline expanding form ── */
.inline-form {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
  max-width: 420px;
  margin: 0 auto;
}
.inline-form.open { grid-template-rows: 1fr; }
.inline-form-inner { overflow: hidden; }
.inline-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 20px;
  text-align: left;
}
body.rtl .inline-form-box { text-align: right; }
.inline-form-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.inline-form-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }

.form-field { margin-bottom: 16px; text-align: left; }
body.rtl .form-field { text-align: right; }
.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field select:focus { outline: none; border-color: var(--blue); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.form-field .checkbox-group .checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--ease);
}
.checkbox-option:hover { border-color: var(--blue); }
.checkbox-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-msg { font-size: 0.85rem; margin-top: 14px; min-height: 1.2em; }
.form-msg.success { color: var(--green); }
.form-msg.error { color: var(--pink); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .bday-details-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .bday-hero-grid { grid-template-columns: 1fr; }
  .bday-hero-photos { margin-top: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 320px; }
  .btn { justify-content: center; }
  nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { order: 3; width: 100%; justify-content: center; overflow-x: visible; }
  .nav-links a { padding: 7px 13px; font-size: 0.82rem; }
}
