/* Base Styles */
:root {
  --primary-green: #689e6e;
  --bg-color: #fcf6e8;
  --text-dark: #333333;
  --text-green: #528257;
  --footer-bg: #151515;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
}

/* Navigation Header */
header {
  background-color: var(--primary-green);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
}

/* Page Container */
.page {
  display: none;
  padding: 50px;
  min-height: 60vh;
  text-align: center;
}

.page.active {
  display: block;
}

h1,
h2,
h3 {
  color: var(--text-green);
}

/* Home Page Styles */
.hero-section {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16 / 9;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
}

.hero-overlay h1 {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-top: 10px;
}

.welcome-box {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  margin-top: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
}

/* About Page Styles */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
  background: #fff9eb;
  border: 2px dashed #d1c5a5;
  padding: 40px;
  border-radius: 30px;
}

.values-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.value-item {
  max-width: 150px;
}

/* Legal / content pages */
.content-page {
  padding: 50px;
  min-height: 60vh;
  text-align: center;
}

.content-body {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 40px 50px;
  font-size: 12px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.social-icons img:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-bottom: 1px solid #333;
  border-top: 1px solid #333;
  padding: 20px 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Image Placeholders (Replace with your actual assets) */
img {
  max-width: 100%;
  height: auto;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* iPad (768px - 1024px) */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  .page,
  .content-page {
    padding: 30px;
  }

  footer {
    padding: 30px;
  }

  .about-container {
    padding: 30px;
    gap: 30px;
  }

  .values-grid {
    flex-wrap: wrap;
    gap: 30px;
  }

  nav ul {
    gap: 20px;
  }
}

/* iPhone / Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }

  header {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.open {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding-top: 10px;
  }

  nav ul li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .page,
  .content-page {
    padding: 20px 15px;
  }

  .hero-overlay img {
    width: 80px;
  }

  .welcome-box {
    padding: 10px 18px;
    font-size: 12px;
    margin-top: 10px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .about-text h1 {
    font-size: 28px !important;
  }

  .about-text p br {
    display: none;
  }

  .values-grid {
    flex-wrap: wrap;
    gap: 25px;
  }

  .value-item {
    max-width: 120px;
  }

  #games > div {
    text-align: center !important;
    padding-left: 0 !important;
  }

  footer {
    padding: 25px 15px;
  }

  .social-icons {
    gap: 15px;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom > div {
    text-align: center !important;
  }
}
