/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

/* Navigation Bar */
nav {
  background-color: #ffffff;
  padding: 10px 0;
}

/* Navigation Container */
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensures space between logo, menu, and icon */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo (Extreme Left) */
.navigation .logo_container img {
  width: 150px;
}

/* Menu Items (Centered between logo & icon) */
.menu_items {
  flex-grow: 1; /* Allows the menu to take available space */
  display: flex;
  justify-content: center; /* Centers the menu items */
}

.menu_items ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu_items ul li {
  display: inline-block;
}

.menu_items ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.menu_items ul li a:hover {
  color: #f39c12;
}

/* Bar Icon (Extreme Right) */
.bar_icon {
  font-size: 32px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 20px;
  background: linear-gradient(to right, #6DA2F5, #8AEDF6);
  color: rgb(0, 0, 0);
}

.hero_image img {
  margin-left: 80px;
  height: 400px;
  width: 750px;
  border-radius: 10px;
}

.hero_content {
  margin-right: 80px;
  max-width: 500px;
}

.hero_content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero_content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

a{
  color: #000000;
  text-decoration: none;
}
.explore_btn {
  background-color: #f39c12;
  color: white;
  padding: 15px 30px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.explore_btn:hover {
  background-color: #e67e22;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  padding: 50px 20px;
  background-color: #ffffff;
}

.feature {
  text-align: center;
  max-width: 300px;
  border: 5px solid rgba(44, 62, 80, 0.5);
  border-radius: 15px;
  box-shadow: 3px 5px 5px rgba(44, 62, 80, 0.2);
  transition: 0.2s ease-in-out;
}

.feature:hover {
  transform: scale(1.10);
  box-shadow: 3px 5px 5px rgba(1, 1, 1, 0.3);
  transition: 0.2s ease-in-out;
}

.feature img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.5rem;
  color: #2c3e50;
}

.feature p {
  color: #7f8c8d;
  font-size: 1rem;
}

/* Menu Section */
.menu {
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu_image{
  object-fit:cover;
  object-position:center; 
  height: 250px;
  width: 250px;
  border-radius: 15px;
}

.menu h2 {
  font-size: 2rem;
  color: #2c3e50;
}

.flavor-grid{
  font-size: 20px;
  justify-content: space-between;
  display: flex;
  flex-direction: row;
}

.list:hover{
  transform: translateY(2px);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.item {
  background: linear-gradient(to right, #8AEDF6, #6DA2F5);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.item h3 {
  font-size: 2rem;
  background-color: rgba(65, 105, 225, 1);
  color: #fbee06;
  border: 1px solid #000000;
  border-radius: 5px;
}

.flavor-item{
  font-size: 20px;
}


.item p {
  font-size: 2rem;
  color: #000000;
  line-height: 1.6;
  display: inline;
}

.b{
  background-color: rgb(0, 110, 255);
  color:white;
  padding: 7px;
  margin-left:5px;
  margin-bottom: 5px;
  border: none;
  border-radius: 5px;
  box-shadow: #333;
}

.b:hover{
  background-color: rgb(0, 0, 0);
  color:white;
}

/* Flavor Section */
.flavor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.flavor-card {
  background: linear-gradient(135deg, #fffbe7 0%, #ffe5ec 100%);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  width: 260px;
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #3a2c1a;
  position: relative;
}

.flavor-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255, 183, 94, 0.18);
}

.menu_image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 4px solid #fffbe7;
}

.flavor-title {
  font-family: 'Pacifico', cursive, Arial, sans-serif;
  font-size: 1.3rem;
  margin: 0 0 8px 0;
  color: #b85c38;
  letter-spacing: 1px;
  text-shadow: 1px 2px 6px #ffe5ec80;
}

.flavor-desc {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.82rem;
  color: #7d5a3a;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.flavor-bottom {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.flavor-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffb347;
}

.order-btn {
  background: #f39c12;
  border: none;
  border-radius: 8px;
  width: 120px;
  height: 40px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  gap: 8px;
}

.order-btn i {
  font-size: 1.1rem;
}

.order-btn:hover {
  background: #e67e22;
}

/* Footer Section */
footer {
  background-color: #333;
  color: white;
  padding: 50px 20px;
}

.footer_logo img {
  width: 150px;
  margin-bottom: 20px;
}

.footer_links ul {
  list-style: none;
  padding: 0;
}

.footer_links ul li {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer_links ul li a {
  color: white;
  text-decoration: none;
}

.footer_links ul li a:hover {
  color: #f39c12;
}

.footer_social {
  margin-top: 20px;
}

.social_icons i {
  font-size: 1.5rem;
  color: white;
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.social_icons i:hover {
  color: #f39c12;
}

.footer_copy {
  background-color: #2c3e50;
  text-align: center;
  padding: 10px;
  font-size: 1rem;
  color: white;
}

/* Flash Cards Section */
.flash-cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0 30px 0;
}
.flash-card {
  background: linear-gradient(135deg, #fffbe7 0%, #ffe5ec 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  width: 220px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.flash-card:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(255, 183, 94, 0.18);
}
.flash-card-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  border: 4px solid #fffbe7;
}
.flash-card h3 {
  font-family: 'Pacifico', cursive, Arial, sans-serif;
  font-size: 1.2rem;
  color: #b85c38;
  margin: 0;
  text-align: center;
}

/* Animated Reveal for Flavors */
.flavor-category {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.5s, transform 0.5s;
}
.flavor-category.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 2;
}
/* Hide all by default, show on flash card click */
.menu .flavor-category {
  display: none;
}
.menu .flavor-category.active {
  display: block;
}

/* User Info Modal Styles */
#user-info-modal .modal-content {
  max-width: 350px;
}
#user-info-form label {
  font-weight: 500;
  color: #b85c38;
}
#user-info-form input[type="text"],
#user-info-form input[type="email"] {
  font-size: 1rem;
  margin-bottom: 10px;
  border: 1px solid #f39c12;
}
#user-info-form button {
  margin-top: 8px;
}

/* Mini Quiz Modal Styles */
#quiz-modal .modal-content {
  max-width: 350px;
}
#quiz-result {
  color: #b85c38;
  font-size: 1.1rem;
  text-align: center;
}
#quiz-btn {
  transition: background 0.2s;
}
#quiz-btn:hover {
  background: #e67e22;
}

/* Flavor Badge and Highlight Animation */
.flavor-badge {
  display: inline-block;
  background: linear-gradient(90deg, #f39c12, #f7d774);
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-left: 10px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(243,156,18,0.18);
  letter-spacing: 0.5px;
  vertical-align: middle;
  animation: none;
  transition: box-shadow 0.3s;
}
.flavor-badge-animate {
  animation: badge-pop 1.2s cubic-bezier(.68,-0.55,.27,1.55) infinite alternate;
}
@keyframes badge-pop {
  0% { transform: scale(1) rotate(-2deg); box-shadow: 0 2px 8px rgba(243,156,18,0.18); }
  60% { transform: scale(1.13) rotate(2deg); box-shadow: 0 6px 18px rgba(243,156,18,0.28); }
  100% { transform: scale(1) rotate(-2deg); box-shadow: 0 2px 8px rgba(243,156,18,0.18); }
}
.flavor-highlight {
  box-shadow: 0 0 0 4px #f7d774, 0 8px 24px rgba(243,156,18,0.18);
  z-index: 2;
  position: relative;
  animation: highlight-glow 1.5s ease-in-out infinite alternate;
}
@keyframes highlight-glow {
  0% { box-shadow: 0 0 0 4px #f7d774, 0 8px 24px rgba(243,156,18,0.18); }
  100% { box-shadow: 0 0 0 8px #f7d774, 0 12px 32px rgba(243,156,18,0.28); }
}

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');
