/* Import fonts for headings and body text */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Open+Sans&display=swap');

/* Root variables for consistent color scheme */
:root {
  --gold: #c5a880;
  --black: #000;
  --white: #fff;
}

/* Global reset: remove default margin/padding and use border-box sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base HTML/body styles */
html, body {
  height: 100%;
  font-family: 'playfair display', serif;
  color: #ffffff;
}

body {
  background-color: black;
}

/* Background slides container: fixed and behind all content */
.bg-slides {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* Individual slides: full-size and fade transition */
.bg-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Active slide: visible and layered correctly */
.bg-slide.active {
  opacity: 1;
  z-index: 0;
}

/* Top Header: fixed navigation bar overlaying slides */
.top-header {
  position: fixed;          /* overlay instead of pushing down content */
  top: 3%;
  left: 0;
  width: 100%;
  height: 70px;             /* fixed height */
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;            /* stays above all other content */
}

/* Logo container: horizontal alignment */
.logo-container {
  display: flex;
  align-items: center;
}

/* Logo image styling with hover effect */
.logo-container a img {
  max-width: 220px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.logo-container a img:hover {
  transform: scale(1.05);
}

/* Navigation links container */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  align-items: center;
}

/* Navigation buttons styling */
.nav-links a {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  border: 2px solid white;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  display: inline-block;
  text-align: center;
}

/* Navigation hover effect: invert colors */
.nav-links a:hover {
  background-color: white;
  color: black;
  border-color: white;
}

/* Hero Section */
.hero {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay Layer */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 90%;
}

/* Hero Title */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Hero Paragraph */
.hero p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* Navbar Container */
.navbar {
  padding: 1rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* Buttons inside Navbar */
.nav-button,
.dropbtn {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  border: 2px solid white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  display: inline-block;
  text-align: center;
}

/* Button Hover Effect */
.nav-button:hover,
.dropbtn:hover {
  background-color: white;
  color: black;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button Styling */
.dropbtn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: white;
  border: 2px solid white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  width: 160px;
  text-align: center;
  display: inline-block;
}

/* Dropdown Menu (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Position below button */
  left: 0;
  width: 100%; /* Match button width */
  border: 2px solid white;
  overflow: hidden;
  z-index: 999;
}

/* Links inside Dropdown */
.dropdown-content a {
  font-family: 'Cormorant Garamond', serif;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
  text-align: center;
  border-bottom: 1px solid #ffffff;
  transition: all 0.1s;
  font-size: 1.2rem;
}

/* Remove border for last link */
.dropdown-content a:last-child {
  border-bottom: none;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
  background-color: white;
  color: black;
}

/* Show dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Base Shape Styling */
.shape {
  position: absolute;
  z-index: 1;
  pointer-events: none; /* Shapes are decorative only */
}

/* Circular Shape */
.shape-circle {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 20%;
  left: -50px;
  transform: rotate(15deg);
}

/* Vertical/Diagonal Line Shape */
.shape-line {
  width: 3px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  top: 40%;
  right: -20px;
  transform: rotate(-25deg);
}

/* Details Box Styling */
details {
  padding: 2rem;
  background-color: #222;
  color: #fff;
  border-radius: 8px;
  margin: 1rem 0;
  cursor: pointer;
  direction: ltr; /* ensure left-to-right text flow */
}

/* Responsive Adjustments for screens ≤ 768px */
@media (max-width: 768px) {

  /* Top Header adjustments */
  .top-header {
    height: 60px;
    padding: 0 1rem;
  }

  .logo-container a img {
    max-width: 180px; /* smaller logo on mobile */
  }

  .nav-links {
    gap: 1rem;
    padding-right: 1rem;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
  }

  /* Hero Section adjustments */
  .hero-content {
    padding: 1rem;
    max-width: 95%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  /* Navbar Buttons / Dropdown adjustments */
  .nav-button,
  .dropbtn {
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
  }

  .dropdown-content a {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
  }

  /* Decorative Shapes adjustments */
  .shape-circle {
    width: 100px;
    height: 100px;
    top: 15%;
    left: -30px;
  }

  .shape-line {
    width: 2px;
    height: 200px;
    top: 35%;
    right: -15px;
  }
}

/* Main How It Works Section */
.how-it-works-split {
  display: flex;
  gap: 5rem;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  color: #fff;
  max-width: 1900px;
  margin: 0 auto;
  align-items: flex-start;
  position: relative; /* for abstract shapes positioning */
  overflow: hidden;
}

.how-left, .how-right {
  flex: 1; /* split section equally */
}

/* Titles for left and right sections */
.how-left h2, .how-right h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--white);
}

/* Mindmap container holding multiple boxes */
.mindmap-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Individual Mindmap Box */
.mind-box {
  flex: 1 1 220px;
  min-width: 220px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border: 2px solid var(--gold);
  padding: 2rem;
  text-align: center;
  color: var(--white);
  opacity: 0;                  /* initial hidden state for animation */
  transform: translateY(40px); /* initial slide-up position */
  transition: all 0.8s ease-out;
  box-shadow: 0 10px 25px rgba(240, 167, 19, 0.5); /* subtle glow */
}

/* Mind Box visible state */
.mind-box.visible {
  opacity: 1;
  transform: translateY(0); /* slide into view */
}

/* Mind Box text styling */
.mind-box h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.mind-box p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Arrows between mindmap elements */
.arrow {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0;                  /* hidden initially for animation */
  transition: all 0.8s ease-out;
}

/* Arrow visible state */
.arrow.visible { 
  opacity: 1; 
}

/* Specific arrow positions */
.arrow1 { align-self: center; margin: 0 1rem; }
.arrow2 { flex-basis: 100%; text-align: center; margin: 1rem 0; }
.arrow3 { align-self: center; margin: 0 1rem; }

/* Agent Cards container */
.agent {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;                  /* initial hidden for animation */
  transform: translateY(30px); /* slide-up effect */
  transition: all 0.8s ease-out;
}

/* Agent Card visible state */
.agent.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Agent Image Styling */
.agent-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* Agent Info Styling */
.agent-info { 
  position: relative; 
}

.agent-info h3 { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.4rem; 
  margin-bottom: 0.3rem; 
  color: var(--gold); 
}

.agent-info p { 
  color: #fff; 
  font-size: 1rem; 
  margin-bottom: 0.5rem; 
}

/* Connector lines inside agent cards */
.agent-lines .line-horizontal {
  position: absolute;
  top: 50%;
  left: -20px;
  width: 15px;
  height: 2px;
  background: rgba(240, 167, 19, 0.5);
}

.agent-lines .line-vertical {
  position: absolute;
  top: -10px;
  left: 0;
  width: 2px;
  height: 20px;
  background: rgba(240, 167, 19, 0.5);
}

/* Contact Section Box */
.contact-box {
  background: linear-gradient(135deg, #111111 0%, #000000 100%);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--gold);
  margin-top: 2rem;
}

/* Text inside Contact Box */
.contact-box p { 
  color: #fff; 
  margin-bottom: 1rem; 
}

/* Contact Button Styling */
.contact-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--white);
  color: var(--black);
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

/* Hover effect for contact button */
.contact-button:hover {
  background-color: #000000;
  color: var(--white);
}

/* Decorative abstract shapes */
.abstract-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 1024px) {
  .how-it-works-split { 
    flex-direction: column; 
    gap: 3rem; 
  }
  .mindmap-container { 
    justify-content: center; 
  }
  .how-left h2, .how-right h2 {
    font-size: 2rem;
  }
}

/* Featured Holidays Section */
.featured-holidays {
  padding: 4rem 2rem;
  background: #000000;
  color: #fff;
  text-align: center;
}

/* Section Title */
.featured-holidays h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #f5f5f5;
  letter-spacing: 1px;
}

/* Holidays Rotator Container */
.holidays-rotator {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

/* Individual Holiday Card */
.holiday-card {
  min-width: 300px;
  background: linear-gradient(145deg, #111, #1a1a1a);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Hover effect for holiday card */
.holiday-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

/* Holiday Card Image */
.holiday-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Image hover effect */
.holiday-card:hover img {
  transform: scale(1.05);
}

/* Holiday Info Container */
.holiday-info {
  padding: 1rem 1.2rem;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* Holiday Info Title */
.holiday-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Map Link inside Holiday Info */
.holiday-info .map-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #c5a880;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Map Link Hover Effect */
.holiday-info .map-link:hover {
  color: #ffffff;
}

/* Responsive adjustments for featured holidays */
@media (max-width: 768px) {
  .featured-holidays h2 {
    font-size: 2.5rem;
  }
}

/* Hero Biomes Section */
.hero-biomes {
  position: relative;
  background: url('explore-image/overlay.webp') center/cover no-repeat;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Overlay for Hero Biomes */
.hero-overlay {
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.4); /* subtle overlay for readability */
  padding: 2rem;
  position: relative; /* allows top positioning */
  top: 12%;
}

/* Hero Overlay Heading */
.hero-overlay h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

/* Hero Overlay Paragraph */
.hero-overlay p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Biome Buttons Container */
.biome-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Individual Biome Button */
.biome-btn {
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  background: #ffffff; /* gold base */
  color: #111; /* dark text */
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Hover Effect for Biome Buttons */
.biome-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 1rem 1.5rem; /* smaller padding */
    top: 8%; /* slightly lower than desktop */
    border-radius: 12px; /* slightly smaller corners */
  }

  .hero-overlay h2 {
    font-size: 2rem; /* smaller heading */
  }

  .hero-overlay p {
    font-size: 1rem; /* smaller paragraph */
  }

  .biome-buttons {
    gap: 0.5rem; /* smaller gap between buttons */
    margin-top: 1rem;
  }

  .biome-btn {
    padding: 0.5rem 1rem; /* smaller buttons */
    font-size: 0.9rem;
  }
}

/* Full Gold Event Section */
.gold-event-full {
  width: 100%;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  background: #000000;
  position: relative;
}

/* Individual Gold Card */
.gold-card {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Image for Gold Card */
.gold-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('front-page-image/image-five.webp') center/cover no-repeat;
  filter: blur(4px) brightness(0.5);
  z-index: 0;
}

/* Content inside Gold Card */
.gold-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 2rem;
}

/* Headings inside Gold Card */
.gold-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #c5a880;
  margin-bottom: 1rem;
}

/* Paragraphs inside Gold Card */
.gold-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Button inside Gold Card */
.gold-content button {
  padding: 1rem 2rem;
  border: none;
  background: #ffffff;
  color: #111;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Button Hover Effect */
.gold-content button:hover {
  background: #000000;
  color: #ffffff;
}

/* Abstract Shapes for Gold Section */
.abstract-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* Gold Radial Shape 1 */
.gold-shape1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #c5a880 0%, transparent 70%);
  top: 50px;
  left: -100px;
}

/* Gold Radial Shape 2 */
.gold-shape2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #c5a880 0%, transparent 70%);
  bottom: -100px;
  right: -150px;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .gold-card {
    height: 400px;
  }
  .gold-content h2 {
    font-size: 2.2rem;
  }
  .gold-content p {
    font-size: 1.1rem;
  }
}

/* Footer Base: main styling for the footer container */
.site-footer {
  background: linear-gradient(180deg, #000 0%, #000000 100%);
  color: #eee;
  padding: 50px 20px 20px;
  font-family: 'playfair display', serif;
  font-size: 14px;
  position: relative;
  overflow: hidden; /* ensures decorative shapes stay inside footer */
}

/* Abstract shapes: decorative elements inside footer */
.footer-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none; /* shapes don't interfere with interaction */
}

/* Layering: ensures all main footer content sits above shapes */
.footer-container,
.footer-sponsors,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* Layout: grid structure for footer columns */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: left;
}
/* Logo & Tagline: styles for footer branding */
.footer-logo img {
  max-width: 160px;
  margin-bottom: 15px;
}
.footer-tagline {
  font-style: italic;
  color: #ccc;
  line-height: 1.6;
}

/* Links: styles for footer navigation links */
.footer-column h4 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
}

/* Newsletter: input field and subscribe button styling */
.footer-newsletter {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}
.footer-newsletter input {
  padding: 10px 15px;
  border-radius: 25px;
  border: none;
  flex: 1;
  outline: none;
}
.footer-newsletter button {
  background: var(--gold);
  border: none;
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.footer-newsletter button:hover {
  background: var(--gold);
}

/* Social links: styling for footer social media icons/links */
.footer-social {
  margin-top: 10px;
}
.footer-social a {
  color: var(--gold);
  margin-right: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}
.footer-social a:hover {
  opacity: 0.7;
}

/* Sponsors: text and logos of footer sponsors */
.footer-sponsors {
  text-align: center;
  margin-bottom: 20px;
}
.footer-sponsors p {
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
}
.sponsor-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.sponsor-logos img {
  max-height: 50px;
  transition: filter 0.3s;
}

/* Bottom credits: copyright and small footer info */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  font-size: 15px;
  color: #888;
}

/* Scroll Down Arrow */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: #ffffff;
  cursor: pointer;
  animation: bounce 1.5s infinite;
  z-index: 10; /* keep arrow above all */
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 15px); }
  60% { transform: translate(-50%, 8px); }
}

/* Info Section Fade-In */
#info-section {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

#info-section.visible {
  opacity: 1;
}

/* Body Scroll Lock (used for modals or menu) */
body.lock-scroll {
  overflow: hidden;
}

