/* ===== FUNZONE MALAYSIA — MAIN STYLESHEET ===== */
/* Font: Nunito + Syne | Color: Orange/Red premium */

:root {
  --primary: #FF5722;
  --primary-dark: #E64A19;
  --primary-light: #FF8A65;
  --accent: #FF3D00;
  --gold: #FFB300;
  --dark: #1A1A2E;
  --dark-2: #2D2D44;
  --text: #333344;
  --text-light: #6B6B80;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --border: #F0F0F5;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(255,87,34,0.10);
  --shadow-lg: 0 16px 48px rgba(255,87,34,0.16);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,87,34,0.4);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}
.btn-secondary {
  background: var(--dark);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  background: rgba(255,87,34,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 0;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.logo-icon { font-size: 1.8rem; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.logo-text strong { color: var(--primary); }
.logo-text em { color: var(--gold); font-style: normal; font-size: 0.85em; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(255,87,34,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 40px;
  margin-top: 70px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--primary-light);
  position: relative;
}
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  z-index: 2;
  animation: float 2s ease-in-out infinite;
}
.scroll-arrow { font-size: 1.4rem; margin-top: 4px; }
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== STATS RIBBON ===== */
.stats-ribbon {
  background: var(--dark);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  color: var(--primary-light);
}
.stat-item span {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== PANORAMA ===== */
.panorama-section {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.panorama-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panorama-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 40px;
  background: linear-gradient(transparent, rgba(26,26,46,0.9));
  color: var(--white);
  text-align: center;
}
.panorama-caption h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.panorama-caption p { color: rgba(255,255,255,0.75); }

/* ===== ACTIVITIES ===== */
.activities-section {
  padding: 100px 0;
  background: var(--bg);
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.activity-card.featured {
  grid-column: span 2;
}
.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.activity-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.activity-card.featured img { height: 300px; }
.activity-card:hover img { transform: scale(1.05); }

.activity-info { padding: 24px; }
.activity-tag {
  display: inline-block;
  background: rgba(255,87,34,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.activity-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.activity-info p { color: var(--text-light); font-size: 0.95rem; }

/* ===== BIRTHDAY PROMO ===== */
.birthday-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.birthday-img { overflow: hidden; }
.birthday-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.birthday-img:hover img { transform: scale(1.03); }
.birthday-content {
  background: var(--dark);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.birthday-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.birthday-content p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.birthday-list { margin-bottom: 32px; }
.birthday-list li {
  padding: 8px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===== LOUNGE ===== */
.lounge-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #FFF3E0 0%, #FBE9E7 100%);
}
.lounge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lounge-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 20px;
}
.lounge-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.lounge-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lounge-img img { width: 100%; height: 420px; object-fit: cover; }

/* ===== GALLERY ===== */
.gallery-section {
  padding: 100px 0;
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-tall img { height: 100%; min-height: 456px; }
.gallery-item.g-wide { grid-column: span 2; }

/* ===== RECEPTION ===== */
.reception-section {
  padding: 100px 0;
  background: var(--bg);
}
.reception-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.reception-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.reception-img img { width: 100%; height: 420px; object-fit: cover; }
.reception-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 20px;
}
.reception-content > p { color: var(--text-light); margin-bottom: 32px; }
.info-boxes { display: flex; flex-direction: column; gap: 16px; }
.info-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}
.info-box strong {
  display: block;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 4px;
}
.info-box span {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--dark);
}
.testimonials .section-head h2 { color: var(--white); }
.testimonials .section-head .tag { background: rgba(255,179,0,0.15); color: var(--gold); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; }
.testimonial-card p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }
.testimonial-card strong { color: var(--primary-light); font-size: 0.9rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-icon { font-size: 2rem; display: inline-block; margin-bottom: 8px; }
.footer-brand strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-contact p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.footer-contact a:hover { color: var(--primary-light); }
.footer-bottom {
  text-align: center;
  padding: 20px;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-card.featured { grid-column: span 2; }
  .birthday-promo { grid-template-columns: 1fr; }
  .birthday-img { height: 340px; }
  .birthday-img img { height: 340px; }
  .birthday-content { padding: 60px 40px; }
  .lounge-inner { grid-template-columns: 1fr; gap: 40px; }
  .reception-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
  }
  .nav-links.active { display: flex; }
  .burger { display: flex; }
  .hero-content { padding: 0 20px; }
  .hero h1 { font-size: 2.2rem; }
  .stat-item { padding: 24px 20px; }
  .activities-grid { grid-template-columns: 1fr; }
  .activity-card.featured { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.g-wide { grid-column: span 1; }
  .gallery-item.g-tall { grid-row: span 1; }
  .gallery-item.g-tall img { min-height: 220px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .birthday-content { padding: 40px 24px; }
  .cta-banner h2 { font-size: 2rem; }
  .panorama-section { height: 300px; }
  .stat-item strong { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; gap: 12px; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .section-head h2 { font-size: 1.6rem; }
  .stats-ribbon { flex-direction: column; align-items: center; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; text-align: center; }
}

/* ===== RIPPLE ANIMATION ===== */
@keyframes ripple {
  to { transform: scale(3); opacity: 0; }
}

/* ===== ЯРКИЕ ЦВЕТА — УСИЛЕНИЕ ===== */
:root {
  --primary: #FF4500;
  --primary-dark: #E03D00;
  --primary-light: #FF7043;
  --accent: #FF1744;
  --gold: #FFD600;
}

/* Усиление кнопок */
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 18px rgba(255,69,0,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,69,0,0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 800;
}
.btn-white:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,214,0,0.5);
}

/* Текст section-head — усиление контраста */
.section-head p { color: #4A4A6A; }
.text-light-override { color: #4A4A6A !important; }
