:root {
  --yellow: #D4952F;
  --cream: #eddc97;
  --white: #FFFFFF;
  --bg: #EFECE0;
  --text: #333;
}

body {
  margin: 0;
  font-family: 'Avenir Next Arabic', sans-serif;
  background-color: var(--bg);
  color: #555;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ========== NAVBAR ========== */
.navbar {
  background-color: #EFECE0;
  border-bottom: 1px solid #EDDC97;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row; 
}

.logo {
  height: 80px; 
  width: auto;
  object-fit: contain;
  
}

.logo-link {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: 50px;
  padding: 0;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  margin-right:250px ;
}

/* Language Switcher */
.language-switcher {
  background: none;
  border: 2px solid var(--yellow);
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
}

.language-switcher:hover {
  background-color: var(--yellow);
  color: white;
  transform: translateY(-2px);
}

.language-switcher i {
  font-size: 16px;
}

.lang-text {
  font-family: 'Avenir Next Arabic', sans-serif;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: var(--yellow);
  transition: width 0.3s ease;
  position: absolute;
  bottom: -6px;
  right: 0;
}

.nav-links li a:hover {
  color: var(--yellow);
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links.show {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

/* ========== HERO SECTION ========== */
.landing-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 10% 80px;
  position: relative;
  background-color: #EDDC97;
}

.background-gradient {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, var(--yellow), var(--yellow));
  filter: blur(150px);
  z-index: -1;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.text-content {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.text-content h1 {
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 20px;
  animation: fadeIn 1s ease forwards;
}

.text-content p {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fadeIn 1.3s ease forwards;
}

.store-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.store img {
  height: 55px;
  transition: transform 0.3s ease;
}

.store:hover img {
  transform: scale(1.1);
}

.phone-mockup {
  flex: 1;
  max-width: 400px;
  transition: transform 0.3s ease;
  animation: floatPhone 3s ease-in-out infinite;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

.phone-mockup img {
  width: 700px;
  max-width: 95vw;
  animation: float-wavy 6s ease-in-out infinite;
  transition: transform 0.3s ease;
  z-index: 10;
  position: relative;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .phone-mockup img {
    width: 80vw;
  }
}

@media (max-width: 768px) {
  /* Prevent zoom on input focus on iOS */
  input, textarea, select {
    font-size: 16px;
  }

  /* Improve touch targets */
  button, a, input, textarea, select {
    min-height: 44px;
    min-width: 44px;
  }

  .hamburger {
    display: block;
    margin-right: 0;
    font-size: 24px;
    padding: 8px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.app-page .hamburger {
    margin-left: auto;
    margin-right: 195px;
    display: block;
  }
  
  .language-switcher {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    max-height: 60vh;
    overflow-y: auto;
    background-color: #EFECE0;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  body.app-page .nav-links{
    align-items: center;
    text-align: center;
  }

  body.app-page .nav-links li{
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  body.app-page .hamburger {
    font-size: 32px; /* or any size you want */
  }

  .nav-links.show {
    display: flex;
  }

   .nav-links li {
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .nav-links li a {
    display: block;
    padding: 10px 20px;
    width: 100%;
  }

  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: relative;
  }

  .logo {
    height: 60px;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
    padding: 0 15px;
  }

  .text-content h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    line-height: 1.2;
  }

  .text-content p {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    line-height: 1.5;
  }

  .phone-mockup img {
    width: 85%;
    max-width: 280px;
  }

  .hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .store-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
  }

  .store img {
    height: 50px;
  }

  .background-gradient {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    filter: blur(100px);
  }

  /* Show bees on mobile as part of background layer */
  .bee {
    display: block;
    font-size: 20px; /* Smaller size for mobile */
  }

  .landing-wrapper {
    padding: 100px 15px 60px;
    min-height: auto;
  }

  /* Disable hover effects on touch devices */
  @media (hover: none) {
    .language-switcher:hover {
      transform: none;
      background-color: transparent;
      color: var(--yellow);
    }
    
    .store:hover img {
      transform: none;
    }
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 8px 10px;
  }

  .logo {
    height: 50px;
  }

  .hamburger {
    font-size: 20px;
    min-height: 40px;
    min-width: 40px;
  }

  .text-content h1 {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }

  .text-content p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .phone-mockup img {
    width: 90%;
    max-width: 250px;
  }

  .store img {
    height: 45px;
  }

  .landing-wrapper {
    padding: 80px 10px 40px;
  }

  .hero-container {
    gap: 25px;
    padding: 0 10px;
  }

  .store-buttons {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .navbar-container {
    padding: 5px 8px;
  }

  .logo {
    height: 45px;
  }

  .hamburger {
    font-size: 18px;
    min-height: 36px;
    min-width: 36px;
  }

  .text-content h1 {
    font-size: clamp(1.3rem, 7vw, 1.5rem);
  }

  .text-content p {
    font-size: clamp(0.8rem, 4vw, 0.9rem);
  }

  .phone-mockup img {
    width: 95%;
    max-width: 220px;
  }

  .store img {
    height: 40px;
  }

  .landing-wrapper {
    padding: 70px 8px 30px;
  }

  .hero-container {
    gap: 20px;
    padding: 0 8px;
  }
}



/* General styles for the bee icon */
.bee {
  position: absolute;
  font-size: 30px;
  z-index: 1;
  color: #D4952F; /* Set the color of the bee */
  /* Bees are now part of the background layer */
}

.bee1 {
  top: 15%;
  left: 10%;
}

.bee2 {
  top: 45%;
  right: 15%;
}

.bee3 {
  bottom: 25%;
  left: 20%;
}



