/* --------------------
   General Reset & Body
-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  font-family: 'Playfair Display', serif;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* For overlay positioning */
  
 
}

/* Background Image with Overlay */
body::before {
  content: "";
  position: fixed; /* Fixed background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  opacity: 0.4;
  z-index: -1;
}

/* --------------------
 Device Frame (Outer Container)
-------------------- */
/* Outer Phone-Shaped Frame */
#phone-frame {
  /* Original was ~420px x 900px, now doubled to 840px x 1800px */
  width: 940px;
  height: 1800px;

  left: 30px;

  /* Center phone on the page */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;

  /* Use your phone frame image here */
  background: url('../assets/images/frame.Png') no-repeat center center;
  background-size: contain;
  position: relative;
}

/* Inner "Screen" Area */
#mobile-screen {
  position: absolute;
  top: 200px;
  left: 40px;
  width: 760px;
  height: 1400px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 30px; 
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  text-align: center;
}

/* Keep your existing animations, restaurant link styles, etc. */


/* Make sure child elements stack above the background overlay */
#mobile-screen > * {
  position: relative;
  z-index: 1;
}

/* Ensure content sits above the overlay */
#mobile-frame > * {
  position: relative;
  z-index: 1;
}

/* --------------------
 Intro Section
-------------------- */
#intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  opacity: 0;
  animation: fadeInScale 1.5s ease forwards;
}
#main-logo {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}
#intro-text {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0;
  animation: revealText 1s ease forwards 1.5s;
}

/* --------------------
 Restaurants Section
-------------------- */
#restaurants-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 2.7s;
}
.restaurant-link {
  position: relative;
  margin: 20px 0;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.restaurant-logo {
  width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
 .restaurant-logo {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.restaurant-link:hover .hover-text {
  opacity: 1;
}

/* --------------------
 Footer Navigation (Fixed at Bottom)
-------------------- */
#footer-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #6b003b, #8b004a);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  transition: background 0.5s ease;
  animation: fadeInUp 1s ease forwards;
}
.footer-button {
  text-decoration: none;
  display: inline-block;
  margin: 0 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-button img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-button:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}
#footer-nav:hover {
  background: linear-gradient(90deg, #8b004a, #6b003b);
}

/* --------------------
 Keyframe Animations
-------------------- */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes revealText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------
 Responsive Design
-------------------- */
@media (max-width: 375px) {
  #mobile-frame {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }
  #main-logo {
    width: 140px;
  }
  #intro-text {
    font-size: 20px;
  }
  .restaurant-logo {
    width: 100px;
  }
}
