body {
  margin: 0;
  padding: 0;
  background-image: url("../images/background.jpg");
  background-size: cover;      
  background-repeat: no-repeat; 
  background-position: center;  
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(236,234,234,0.5), rgba(0,0,0,0.6) 50%);
}

.home .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    font-size: 22px;
}

.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  background: transparent; 
  position: absolute;  
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  height: auto;
}

.home .logo {
    width: 200px;
    height: 70px;
    z-index: 12;
    padding: 10px;
    object-fit: contain;
}

.navbartxt {
  display: flex;
}

.navbartxt p {
  margin: 0;
  font-size: 20px;
  margin-right: 30px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.navbartxt p:hover {
  color: #ff5722; 
}

/* FOOTER STYLING */
.footer{
    height: 70vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.footer_bottom{
    text-align: center;
    width: 100%;
}

.footer_bottom hr{
    width: 80%;
    margin: auto;
    color: black;
}

.footer_right{
    width: 100%;
    text-align: center;
    margin: auto;
}

.footer_right img{
    width: 180px;
    height: 100px;
}

.rounded-social-buttons {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    margin-top: 10px;
}

.social-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: 0.7s ease-in;
  margin: 5px;
}

.social-button i:hover {
   transform: scale(1.2);
}

.rounded-social-buttons .social-button.facebook {
  background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover, .rounded-social-buttons .social-button.facebook:focus {
  color: #3b5998;
  background: rgb(180, 177, 177);
  border-color: #3b5998;
}

.rounded-social-buttons .social-button.twitter {
  background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover, .rounded-social-buttons .social-button.twitter:focus {
  color: #55acee;
  background: rgb(180, 177, 177);
  border-color: #55acee;
}

.rounded-social-buttons .social-button.linkedin {
  background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover, .rounded-social-buttons .social-button.linkedin:focus {
  color: #007bb5;
  background: rgb(180, 177, 177);
  border-color: #007bb5;
}

.rounded-social-buttons .social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.rounded-social-buttons .social-button.instagram:hover, .rounded-social-buttons .social-button.instagram:focus {
  color: #dc2743;
  background: rgb(180, 177, 177);
  border-color: #bc1888;
}

.footer_contacts{
    width: 100%;
    display: flex;
    text-align: center;
}

.footer_contacts p{
   margin: auto;
   color: rgb(58, 56, 56);
}

#line {
   margin: auto;
   color: white;
   width: 80%;
   transform: translateY(20px);
}

/* Slider container (was .top_dishes) */
.top_dishes{
  width: 87%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;                  
  overflow-x: auto;          
  scroll-snap-type: x mandatory;  
  padding: 30px;
  margin: auto;
  box-sizing: border-box;
  scroll-behavior: smooth;    
  scrollbar-width: none;     
}

.top_dishes::-webkit-scrollbar { display: none; }  

.top_dish{
    flex: 0 0 auto;            
    width: 320px;
    height: 450px;
    margin: 0;               
    overflow: hidden;
    border-radius: 15px;
    background-color: white;
    box-shadow:
      rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
      rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
      rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset,
      rgba(0, 0, 0, 0.06) 0px 2px 1px,
      rgba(0, 0, 0, 0.09) 0px 4px 2px,
      rgba(0, 0, 0, 0.09) 0px 8px 4px,
      rgba(0, 0, 0, 0.09) 0px 16px 8px,
      rgba(0, 0, 0, 0.09) 0px 32px 16px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.9s ease-out;
    cursor: pointer;
    scroll-snap-align: center; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Show/hide classes used by IntersectionObserver (keep your logic) */
.top_dish.show {
  opacity: 1;
  transform: scale(1);
}

.top_dish.hide {
  opacity: 0;
  transform: scale(0.9);
}

/* Hover effects (preserved) */
.top_dish:hover p{
    color: #55acee;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

/* slight tweak to image hover (keeps smooth transition) */
.top_dish:hover img{
    transform: scale(1.2);
    transition: transform 1s ease-in;
}

/* Image container & image (preserved) */
.image{
    height: 70%;
    width: 70%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_dish img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 1s ease-in;
}

.top_dish p{
    font-size: 30px;
    color: black;
    font-weight: bold;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 10px 0 20px;
    padding: 0 8px;
}

.top_dish hr{
    background-color: red;
    height: 4px;
    width: 20%;
    border: none;
    margin-top: 12px;
}

/* Responsive tweaks for cards */
@media (max-width: 1024px) {
  .top_dishes { gap: 18px; padding: 18px; width: 94%; }
  .top_dish { width: 300px; height: 420px; }
  .top_dish p { font-size: 26px; }
}

@media (max-width: 768px) {
  .top_dishes { gap: 14px; padding: 14px; width: 96%; }
  .top_dish { width: 240px; height: 360px; }
  .top_dish p { font-size: 20px; }
  .image { height: 68%; width: 80%; }
}

@media (max-width: 480px) {
  .top_dishes { gap: 12px; padding: 12px; width: 100%; }
  .top_dish { width: 180px; height: 270px; }
  .top_dish p { font-size: 16px; }
  .image { height: 60%; width: 85%; }
}

.ppltxt h1{
  color: white;
  font-size: 50px;
  text-align: center;
  margin-bottom: 0;
}

.ppltxt hr{
    background-color: red;
    height: 4px;
    width: 30%;
}

/* ========= RESPONSIVE DESIGN ========= */

/* For mobile phones */
@media (max-width: 780px) {
  .home {
    height: 70vh;
}

.ppltxt h1{
  margin-bottom: 20px;
  margin-top: 30px;
}

  .navbar {
    padding: 10px;
  }

  .navbartxt {
    display: none;
  }

  .navbartxt p {
    margin: 5px 0;
    font-size: 18px;
  }

  .home .text {
    font-size: 16px;
    line-height: 1.4;
    width: 90%;
  }

  .ppltxt h1 {
    font-size: 28px;
  }

  .top_dishes {
    flex-direction: column;
    align-items: center;
  }

  .top_dish {
    width: 80%;
    margin-bottom: 20px;
  }

  .footer {
    height: auto;
  }

  .footer_right img {
    width: 160px;
    height: 100px;
    object-fit: cover;
  }

  .rounded-social-buttons {
    margin-top: 10px;
}

  .footer_contacts {
    text-align: center;
    display: flex;
    margin: 30px;
  }

  .footer_contacts p {
    font-size: 16px;
    
  }


  #line{
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
