/* African Savanna Theme Styles */
:root {
  --sunset-gold: #D4A574; /* Gold-brown tone */
  --sandy-beige: #E1C699; /* Sandy color */
  --terracotta: #C68642; /* Earthy terracotta */
  --burnt-umber: #8C5E5E; /* Deep earth tone */
  --desert-tan: #D2B48C; /* Desert color */
  --lion-gold: #E6B85C; /* Golden-brown for lions */
  --dark-sienna: #7A5C46; /* Dark brown */
  --sage-green: #9E9E7C; /* Dry grass color */
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f5f0;
}

/* Header Styles */
.top-header {
  background-color: rgba(210, 180, 140, 0.95);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-sienna);
  padding: 0.5rem;
  z-index: 1001;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(210, 180, 140, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 1rem 0;
}

.mobile-menu ul li {
  margin: 0.5rem 2rem;
}

.mobile-menu ul li a {
  color: var(--dark-sienna);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1rem;
  display: block;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--terracotta);
}

.brand-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--dark-sienna);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 2.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.top-nav ul {
  display: flex;
  list-style: none;
}

.top-nav ul li {
  margin-left: 2rem;
}

.top-nav ul li a {
  color: var(--dark-sienna);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.top-nav ul li a:hover {
  color: var(--terracotta);
}

/* Hero Section */
.main-banner {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/hero-lion-img.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.main-banner h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-banner p {
  font-size: 1.5rem;
  max-width: 800px;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Section Styling */
section {
  padding: 5rem 2rem;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--burnt-umber);
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--terracotta);
  margin: 10px auto;
}

/* About Section */
.info-section {
  background-color: #f0e6d2;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.info-text {
  flex: 1;
  text-align: center;
}

.info-text h3 {
  font-size: 2rem;
  color: var(--burnt-umber);
  margin-bottom: 1.5rem;
}

.info-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Game Section */
.game-area {
  background-color: #e8ddcb;
}

.game-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.game-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.play-button {
  display: inline-block;
  background-color: var(--terracotta);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.play-button:hover {
  background-color: var(--burnt-umber);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.questions-section {
  background-color: #f9f5f0;
}

.question-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--sandy-beige);
  border-radius: 8px;
  overflow: hidden;
}

.question-header {
  background-color: var(--desert-tan);
  padding: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question-answer {
  padding: 1.5rem;
  background-color: white;
  display: none;
}

.question-answer.active {
  display: block;
}

/* Reviews Section */
.testimonials-section {
  background-color: #e8ddcb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-card h4 {
  color: var(--burnt-umber);
  margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.contact-details {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  text-align: center;
}

.contact-details h3 {
  color: var(--burnt-umber);
  margin-bottom: 1rem;
}

.contact-details p {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.contact-details p strong {
  color: var(--terracotta);
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-sienna);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--sandy-beige);
  border-radius: 5px;
  font-size: 1rem;
}

.form-field textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--terracotta);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--burnt-umber);
}

/* Game Page Styles */
.game-display {
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-iframe {
  width: 100%;
  max-width: 900px;
  height: 700px;
  border: none;
}

/* Policy Pages */
.policy-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
  color: var(--burnt-umber);
  margin-bottom: 1.5rem;
  font-size: 25px;
}

.policy-content h2 {
  color: var(--terracotta);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--dark-sienna);
  color: white;
  padding: 3rem 0 1rem;
}

.legal-notice {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2rem;
  background-color: rgba(122, 92, 70, 0.15); /* Light background to make it more noticeable */
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.legal-notice p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffcc00; /* More noticeable color */
}

.legal-notice p strong {
  color: #ffffff;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.3rem;
}

.legal-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.legal-icons img {
  height: 30px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-navigation a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-navigation a:hover {
  color: var(--sunset-gold);
}

.contact-info {
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  font-size: 0.9rem;
  color: #aaa;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-popup-header h3 {
  color: var(--burnt-umber);
  margin: 0;
  font-size: 1.3rem;
}

.cookie-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close:hover {
  color: #666;
}

.cookie-content {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background-color: var(--terracotta);
  color: white;
}

.cookie-btn.accept:hover {
  background-color: var(--burnt-umber);
}

.cookie-btn.decline {
  background-color: #e0e0e0;
  color: #333;
}

.cookie-btn.decline:hover {
  background-color: #d0d0d0;
}

.cookie-btn.details {
  background-color: #f0f0f0;
  color: #333;
  text-decoration: underline;
}

.cookie-btn.details:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .top-nav {
    display: none;
  }
  
  .header-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .brand-logo {
    order: 1;
  }
  
  .mobile-toggle {
    order: 2;
    margin-left: auto;
  }
  
  .top-nav ul {
    margin-top: 1rem;
    justify-content: center;
  }
  
  .top-nav ul li {
    margin: 0 1rem;
  }
  
  .main-banner h1 {
    font-size: 2.2rem;
  }
  
  .main-banner p {
    font-size: 1.2rem;
  }
  
  .info-content {
    flex-direction: column;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .footer-navigation {
    flex-direction: column;
    align-items: center;
  }
  
  .legal-icons {
    flex-wrap: wrap;
  }
  
  /* Mobile cookie popup */
  .cookie-popup {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}