/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #ffe47a, #f6c552);
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  padding: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem; 
}

/* === NAVBAR === */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: 40px;
}

.logo span {
  font-weight: bold;
  font-size: 1.2rem;
  color: #444;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #f8b500;
}

.nav-links .disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* === HEADER === */
header {
  padding-top: 7rem;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tagline {
  font-style: italic;
  color: #555;
}

.company-banner {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  display: block;
}

/* Hide hamburger by default */
.hamburger {
  display: none;
}

/* === MAIN SECTIONS === */
section {
  margin: 2rem 0;
  padding: 0 1rem;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

ul li {
  margin-bottom: 0.5rem;
}

.extra {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.cta {
  text-align: center;
  margin-top: 2rem;
}

.cta button {
  background-color: #ff8c00;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
  cursor: not-allowed;
  opacity: 0.6;
}

#phrase-container {
  background-color: #fff;
  color: #333;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

#phrase-container:hover {
  transform: scale(1.02);
}

#bambara {
  font-weight: bold;
  font-size: 2rem;
  color: #d97706; /* golden orange */
}

#english {
  font-style: italic;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #4b5563; /* slate gray */
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#phrase-container {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#phrase-container:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-section {
  background-image: url('beach-placeholder.jpg');
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}


.hero-text {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 1rem;
  color: #fff;
  max-width: 80%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-text .tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: #ffe47a;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  color: #fff;
  max-width: 80%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-overlay .tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: #ffe47a;
}

.features {
  background-color: #2b2b2b;
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem auto;
  box-shadow: 0 0 12px rgba(255, 228, 122, 0.1);
  color: #ffe47a;
  max-width: 800px;
}

.features h2 {
  color: #ffe47a;
}

.features ul {
  list-style: none;
  padding-left: 0;
}

.features li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #fffcd2; 
  position: relative;
  padding-left: 1.5rem;
}

.features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ffe47a;
}

.about {
  background: linear-gradient(to bottom, #ffe47a, #fff4c2);
  padding: 2rem;
  border-radius: 1rem;
}

.highlight {
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 960px;
  margin: 2rem auto;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.features li {
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 2.2s ease forwards;
  animation-delay: calc(0.1s * var(--i));
}

.features li:nth-child(1) { --i: 1; }
.features li:nth-child(2) { --i: 2; }
.features li:nth-child(3) { --i: 3; }
.features li:nth-child(4) { --i: 4; }
.features li:nth-child(5) { --i: 5; }

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Wishlist Count Styling */
#wishlist-display {
  text-align: center;
  margin-top: 2rem;
}

#wishlist-number {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.1rem;
}

.pulse-ball {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.5rem;
  border-radius: 50%;
  background-color: #ff8c00;
  box-shadow: 0 0 0 rgba(255, 140, 0, 0.7);
  animation: pulse 1.5s infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
  }
}


/* === FOOTER === */
footer {
  background-color: #2b2b2b;
  color: #f0f0f0;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
  margin-top: 3rem;
}

footer a {
  color: #ffe47a;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
	
  header {
    height: 300px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text .tagline {
    font-size: 1rem;
  }

    body {
      padding: 1rem;
      font-size: 1rem;
      line-height: 1.5;
    }

	.nav-container {
	  flex-direction: column;
	  align-items: flex-start;
	  padding: 0.5rem 1rem;
	  max-height: 50vh; /* prevent it from overtaking the whole screen */
	  overflow-y: auto;
	}

	.hamburger {
	  display: block;
	  background: none;
	  border: none;
	  font-size: 2rem;
	  cursor: pointer;
	  padding: 0.5rem;
	  margin-bottom: 0.5rem;
	}

	.nav-links {
	  display: none; /* start hidden */
	  flex-direction: column;
	  width: 100%;
	  gap: 0.5rem;
	}

	.nav-links.show {
	  display: flex;
	}

	.nav-links a {
	  display: block;
	  padding: 0.4rem;
	  font-size: 0.95rem;
	  background-color: rgba(255, 255, 255, 0.95);
	  border-radius: 0.4rem;
	}

  .logo {
    display: none;
  }

  h1 {
    font-size: 2rem;
    text-align: center;
  }

  section h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .tagline,
  section p,
  .extra,
  .cta {
    text-align: center;
    font-size: 1rem;
  }

  .cta button {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem;
  }

  .main-card-area,
  .rules-section,
  .rules-block {
    padding: 1rem;
    font-size: 1rem;
  }

  .choice-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .choice-buttons button {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem;
  }

  #phrase-container {
    text-align: center;
  }
  
  .hero-section {
    min-height: 40vh;
    padding: 1rem;
  }
  
  .hero-text {
    text-align: center;
  }

  .hero-overlay {
    font-size: 1rem;
    max-width: 95%;
  }
  
  .hero-overlay h1 {
  font-size: 2rem;
}

  .hero-overlay .tagline {
    font-size: 1rem;
  }

  span#bambara,
  span#english {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
  }
  
    #wishlist-number {
    font-size: 2.2rem;
  }

  .pulse-ball {
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.3rem;
  }

  iframe {
    width: 95% !important;
    height: 500px;
  }
}

