@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  min-height: 100vh;
  background: linear-gradient(-45deg, #ffad7f, #f9c5a5, #fad9c1, #ffefd5);
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.title {
  font-size: 3rem;
  color: #a83c1e;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #a83c1e, transparent);
  border-radius: 2px;
}

.menu-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  width: 100%;
}

.menu-image {
  width: 100%;
  max-width: 1000px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.menu-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.menu-image::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0) 100%
  );
}

.download-btn {
  position: relative;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(45deg, #d33f1e, #e5856c);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    left: 100%;
    opacity: 0.5;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

footer {
  margin-top: 2rem;
  color: #a83c1e;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .title {
    font-size: 2rem;
  }

  .download-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Floating elements decoration */
.decoration {
  position: fixed;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
  filter: blur(1px);
}

.leaf1 {
  top: 10%;
  left: 5%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230e8c38"><path d="M17,8C8,10,5.9,16.17,3.82,21.34L5.71,22l1-2.3A14.86,14.86,0,0,0,12,17c8,0,9-3,9-5S19.5,8,17,8Z"/></svg>');
  background-size: contain;
  animation: float 8s ease-in-out infinite;
}

.leaf2 {
  top: 70%;
  right: 10%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230e8c38"><path d="M17,8C8,10,5.9,16.17,3.82,21.34L5.71,22l1-2.3A14.86,14.86,0,0,0,12,17c8,0,9-3,9-5S19.5,8,17,8Z"/></svg>');
  background-size: contain;
  transform: rotate(180deg);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Image modal/lightbox */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Animation for page load */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

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

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

/* whatsapp icon */
/* Container for the floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  /* Remains fixed during scrolling */
  bottom: 20px;
  /* Distance from the bottom */
  left: 20px;
  /* Distance from the right */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, #62af3c, #86e342);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #fff;
  /* Icon color */
  text-decoration: none;
  /* Remove default underline */
  z-index: 9999;
  /* Ensures the icon is on top */
  animation: bounce 2s infinite;
  /* Modern bounce animation */
  transition: transform 0.2s ease;
}

/* Font Awesome WhatsApp icon style */
.whatsapp-float i {
  font-size: 28px;
  /* Adjust the size as needed */
}

/* Hover effect for interactivity */
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}
/* Keyframes for a subtle bounce animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}
