/* Global Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #1e1e1e;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

  /* Loading Screen Styles */
  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d5f00;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
  }
  
  .loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
  }
  
  .loading-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .loaded .loading-screen {
    opacity: 0;
    pointer-events: none;
  }

h1, h2 {
  color: #0d5f00;
  text-align: center;
}

p {
  text-align: center;
  font-size: 1rem;
}

/* Header */
.header {
  background-color: #0d5f00;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.logo img {
  height: 40px;
  border-radius: 45%;
}

.register .btn {
  background-color: #ff0000;
  padding: 0.5rem 1rem;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Top Section with iframe */
.top {
  display: flex;
  justify-content: center;
  width: 100%;
}

.top iframe {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  border: 2px;
}

/* Hero Wrapper */
.hero-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.hero-wrapper h1 {
  font-size: 2rem;
  text-align: center;
  color: #0d5f00;
  margin-bottom: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

/* Left Column: Text */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.hero-left h2 {
  font-size: 1.6rem;
  color: #0d5f00;
  margin-bottom: 1rem;
}

.hero-left p {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #333;
  line-height: 1.6;
}

.hero-left p strong {
  color: #ff0000;
  font-weight: 600;
}

.cta-button {
  background-color: #ff0000;
  color: white;
  border: none;
  width: 100%; 
  max-width: 300px; 
  margin: 1.5rem auto; 
  padding: 16px 30px; 
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #000000;
}

/* Right Column: Image Grid */
.hero-right {
  padding: 1rem;
}

.image-grid {
  display: grid;
  grid-template-areas:
    "top"
    "middle"
    "bottom";
  gap: 1rem;
  width: 100%;
}

.top-row,
.middle-row,
.bottom-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.image-grid img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.03);
}

.ticket-info {
  padding: 1rem;
  background-color: #f8f9fa;
  border-left: 5px solid #0d5f00;
  border-radius: 8px;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 1rem auto;
}

.ticket-info p {
  margin-bottom: 1rem;
}

.ticket-info .ticket-price strong {
  color: #b30000;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

@media (max-width: 768px) {
    .image-grid img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  }
  
  .top-row img,
  .middle-row img,
  .bottom-row img {
    width: 100%;
    height: auto;
  }

  .hero-left, .hero-right {
    padding: 0;
  }

  .hero-wrapper h1 {
    font-size: 1.5rem;
  }

  .hero-left h2 {
    font-size: 1.3rem;
  }

}


/* Global Section Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === ABOUT SECTION === */
.about {
  padding: 3rem 0;
  margin: 2rem 0;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 70%;
  margin: 0 auto;
}

.about-left {
  position: relative;
  width: 100%;
}

.about-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto;
  display: block;
  transform: perspective(1000px) rotateY(-10deg);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-right {
  padding: 1rem;
}

.about-right h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.about-right p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* Desktop view for About Section */
@media (min-width: 992px) {
  .about-container {
    flex-direction: row;
    gap: 20px; /* Reduced gap */
    padding: 4rem; /* Increased padding */
  }

  .about-left, .about-right {
    flex: 1;
  }

  .about-right h2 {
    font-size: 2.5rem;
  }

  .about-right p {
    font-size: 1.1rem;
  }
}

/* Shared Section Styles */
.games-section,
.attractions-section {
  padding: 3rem 0;
  margin: 2rem 0;
  border-radius: 12px;
}

.games-section {
  background: #f1f1f1;
}

.games-section li {
  color: #f5f3ef;
}

.attractions-section {
  background: #ffffff; 
}

/* Grid Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}

/* Image Grid with Offset Layout */
.image-grid2  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 12px;
}

.image-grid2 img:first-child {
  align-self: start;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-grid2 img:nth-child(2) {
  align-self: end;
  margin-top: 3.5rem;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Text Styling */
.text-content {
  padding: 1rem;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #0d5f00;;
}

.attractions-section h2 {
  color: #0d5f00;;
}

.text-content ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.text-content li {
  background: rgb(255, 255, 255);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.text-content li:hover {
  transform: translateY(-3px);
}

.games-section li {
  background: #000000;
}

.attractions-section li {
  background: #fffaf1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .reverse {
    direction: ltr;
  }

  .image-grid2 {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .image-grid2 img:first-child,
  .image-grid2 img:nth-child(2) {
    margin-top: 0;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .text-content ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Video Section Styles */
.video-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #ffffff, #f5f3f39a);
  text-align: center;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-heading {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #0d5f00;;
  font-weight: bold;
}

.promo-video {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Larger height on large screens */
@media (min-width: 1024px) {
  .promo-video {
    max-height: 650px;
  }
}

.mute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.mute-button:hover {
  background-color: rgba(0,0,0,0.8);
}


/* Food Section */
.food {
  margin: 1rem 0;
  padding: 0 1rem;
}

.food-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Desktop-only layout improvements */
@media (min-width: 992px) {
  .food-container {
    flex-direction: row;
    align-items: center;
    gap: 20px;              
    width: 70%;             
    margin: 0 auto;        
  }
}

.food-left {
  flex: 1;
}

.food-left .p {
  font-size: 25x;
}

.food-right {
  flex: 2;
}

/* Food grid styling */
.food-grid .food-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.food-grid img {
  width: calc(33.333% - 0.8rem);
  max-width: 140px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.food-grid img:hover {
  transform: scale(1.1);
  z-index: 10;
}

/* Larger images on desktop */
@media (min-width: 992px) {
  .food-grid img {
    width: calc(25% - 1rem);
    max-width: 200px;
    height: 180px;
  }
}

.cta-button2 {
  display: block;
  width: 100%; 
  max-width: 300px; 
  margin: 1.5rem auto; 
  padding: 16px 30px; 
  background-color: #ff0000;
  color: white;
  border: none;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  text-align: center; 
  transition: all 0.3s ease;
  line-height: 1.5; 
}

.cta-button2:hover {
  background-color: #d40000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sponsors */
.sponsors {
  padding: 3rem;
  background: #ffffff;
  text-align: center;
  margin: 70px;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.sponsor-logos img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

/* Footer */
.main-footer {
  background-color: #1e1e1e;
  color: #fff;
  padding: 3rem 0 1rem;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  max-width: 180px;
  height: auto;
  border-radius: 45%;
}

.footer-contact h3, 
.footer-social h3 {
  color: #0d5f00;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  color: #1e1e1e;
  background-color: white;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


.contact-list i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #0d5f00;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #fff;
  background-color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #0d5f00;
  transform: translateY(-3px);
}

.footer-credit {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

.footer-credit strong {
  color: #0d5f00;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .contact-list {
    align-items: center;
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Desktop Styles */
@media (min-width: 768px) {
  .header {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #0d5f00, #0a3d00);
  }
  
  .logo img {
    height: 60px;
    transition: transform 0.3s ease;
  }
  
  .logo img:hover {
    transform: rotate(-5deg);
  }
  
  .register .btn {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .register .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }
  
  .top {
    background: #f0f8ff;
  }
  
  .top iframe {
    height: 700px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  
  .top iframe:hover {
    transform: scale(1.02);
  }

  
}