/* General Reset and Base Styles */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Navigation Bar Styles */
.nav-bar {
  background-color: #0a0a0a;
  padding: 5px 15px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  font-size: 14px; /* Decrease text size */
  padding: 5px 10px; /* Reduce padding */
}

.logo-img {
  border-radius: 8px;
  width: 150px; /* Adjust size */
  height: auto; /* Maintain aspect ratio */
}

.nav-links a:hover {
  color: #00bfa5;
  font-weight: bold;
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
/* Hide icons by default */
.nav-icon {
  display: none;
  margin-right: 10px;
  font-size: 18px;
}

/* Show icons when the menu is active */
.nav-links.active .nav-icon {
  display: inline-block;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #00bfa5;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
}

/* Responsive Navigation Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0a0a0a;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .logo-container {
    text-align: left; /* Ensures the container aligns left */
  }

  .logo-img {
    margin-left: -30px;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

.intro {
  text-align: center;
  padding: 150px 20px;
  background-image: url(../images/restaurantdp1.jpg);
  background-size: cover;
  background-position: center;
  background-color: #fff5e5; /* Subtle background color */
  border-bottom: 2px solid #e0e0e0;
}

.intro h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
/* For tablets and smaller screens */
@media (max-width: 1024px) {
  .intro {
    padding: 120px 20px;
  }

  .intro h1 {
    font-size: 2.5rem;
  }

  .intro p {
    font-size: 1.3rem;
    max-width: 500px;
  }
}

/* For mobile phones */
@media (max-width: 768px) {
  .intro {
    padding: 100px 20px;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1.1rem;
    max-width: 400px;
  }
}

/* For very small mobile phones */
@media (max-width: 480px) {
  .intro {
    padding: 80px 10px;
  }

  .intro h1 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 1rem;
    max-width: 90%; /* Ensure the paragraph takes most of the width */
  }
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  border-radius: 30%;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}
/* Scroll Up Button Styles */
#scrollUpBtn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: #00bfa5; /* Button color */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 30%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Initially hidden */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#scrollUpBtn:hover {
  background-color: #008c73; /* Darker color on hover */
}

/* Restaurants Grid */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 2fr));
  gap: 30px;
  padding: 0 15px;
  margin-top: 30px;
}

.restaurant-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.restaurant-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.restaurant-info {
  padding: 15px;
  text-align: center;
}
.animated-icon {
  font-size: 1.5rem;
  color: #ff5733;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 8px 12px;
  border-radius: 5px;
  margin: 5px 0;
}

.highlight a {
  text-decoration: underline; /* Only links (phone & website) are underlined */
  color: #00bfa5; /* Optional: Make it visually distinct */
  font-weight: bold;
}

.highlight a:hover {
  color: #005f56;
  text-decoration: underline; /* Keep underline on hover */
}

.btn {
  display: inline-block;
  margin: 15px;
  background-color: #00bfa5;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #00796b;
}
/* Adjustments for tablets */
@media (max-width: 768px) {
  .restaurants-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px; /* Adjust gap for smaller screens */
    padding: 20px;
  }

  .restaurant-card {
    padding: 10px; /* Add padding for smaller screens */
    margin-bottom: 30px; /* Add margin at the bottom of the card */
  }
  .restaurant-img {
    height: 300px;
  }

  .restaurant-info h2 {
    font-size: 1rem; /* Smaller text for restaurant names */
  }

  .restaurant-info p {
    font-size: 0.9rem; /* Adjust paragraph size for descriptions */
  }

  .btn {
    font-size: 0.9rem; /* Smaller button text */
    padding: 8px 15px; /* Adjust button padding */
  }
}

/* Adjustments for mobile phones */
@media (max-width: 480px) {
  .restaurants-grid {
    grid-template-columns: 1fr; /* Single column layout for smaller devices */
    gap: 40px; /* Reduce gap */
    margin-top: 20px;
  }

  .restaurant-card {
    margin: 0 auto; /* Center the card for mobile screens */
    padding: 8px; /* Further reduce padding */
  }

  .restaurant-info h2 {
    font-size: 0.85rem; /* Adjust header size */
  }

  .restaurant-info p {
    font-size: 0.8rem; /* Smaller paragraph text */
  }

  .btn {
    font-size: 0.85rem; /* Adjust button text size */
    padding: 6px 12px; /* Smaller padding for mobile */
  }
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
  justify-content: center;
  align-items: center; /* Center vertically */
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Adjust width as needed */
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center; /* Align content inside the modal */
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 10px;
}

.amenity {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity i {
  margin-right: 8px;
  color: #007bff; /* Blue color for icons */
  font-size: 18px;
}

.amenity:hover {
  transform: scale(1.05);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
}

#enlargeModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
  justify-content: center;
  align-items: center; /* Center vertically */
}

#enlargeModal .modal-content {
  background-color: transparent; /* Transparent background */
  padding: 0; /* No padding for the image */
  border: none; /* No border for a clean look */
  max-width: 80%; /* Adjust max width for larger images */
  max-height: 80%; /* Adjust max height for larger images */
  display: block;
  justify-content: center;
  align-items: center; /* Center the image inside the modal */
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-images {
  width: 200px;
  height: auto;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
  transition: transform 0.2s ease;
  margin-left: 20px;
  margin-top: 20px;
}

.modal-images:hover {
  transform: scale(1.1);
}

/* Close button */
#closeButton {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: transparent;
  border: none;
}

#enlargedImage {
  max-width: 80vw;
  max-height: 80vh;
  display: block;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease-in-out;
  background: transparent; /* <-- Make sure this is set */
}

/* Ensure No White Space */
.enlarge-modal img {
  display: block;
  margin: auto;
  background: none !important;
}
.enlarge-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #f9f9f9;
  cursor: pointer;
  background: transparent;
  border: none;
}
/* Move the close button up on smaller screens */
@media (max-width: 600px) {
  .enlarge-close {
    top: 10px; /* Move up */
    right: 10px; /* Adjust position */
    font-size: 1.5rem; /* Slightly smaller */
  }
}
.enlarge-close:hover {
  background: rgba(255, 255, 255, 0.3);
  color: black;
}
.enlarge-modal.show #enlargedImage {
  transform: scale(1);
}

/* Footer Styles */
footer {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #00bfa5;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}
.social-media {
  text-align: center;
  margin-top: 20px;
}

.social-media a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 10px;
  text-align: center;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #333;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: #00bfa5; /* Change to your brand color */
  color: #fff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .social-media a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    margin: 0 5px;
  }
}
/* Chat Icon */
#chat-icon {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Keep it on the left */
  z-index: 9999; /* Ensure it stays on top of other elements */
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out;
}

#chat-icon:hover {
  background-color: #00796b;
}

/* Chat Window */
#chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 9999; /* Ensures it stays above everything */
  font-family: Arial, sans-serif;
}

/* Chat Header */
#chat-header {
  background: #00bfa5;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chat Body */
#chat-body {
  max-height: 350px;
  overflow-y: auto;
  padding: 15px;
}

/* Chat Input */
#chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#chat-input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

#chat-input-container button {
  background: #00bfa5;
  color: #fff;
  border: none;
  padding: 15px 10px;
  margin-left: 5px;
  cursor: pointer;
  border-radius: 8px;
}
#chat-input-container button:hover {
  background: #00796b; /* Darker green on hover */
}

#chat-input-container button:active {
  transform: scale(0.95); /* Slightly shrink on click */
}

/* Chat Messages */
.chat-message {
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 5px;
  max-width: 80%;
}

.bot {
  background: #f1f1f1;
  align-self: flex-start;
}

.user {
  background: #00bfa5;
  color: white;
  align-self: flex-end;
}
.chat-btn {
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
  transition: background 0.3s ease-in-out;
}

.chat-btn:hover {
  background-color: #00796b;
}
/* Close Chat Button */
#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

#close-chat:hover {
  color: #ff6666; /* Light red on hover */
}

/* WhatsApp Chat Link */
.chat-body a {
  display: inline-block;
  text-decoration: underline; /* Underline the link */
  background-color: #25d366; /* WhatsApp green */
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
  text-align: center;
  margin-top: 5px;
  display: block;
}

.chat-body a:hover {
  background-color: #1eb056; /* Darker green on hover */
  text-decoration: underline; /* Ensure it remains underlined */
}
/* WhatsApp Chat Link Styling */
.whatsapp-link {
  text-decoration: underline !important; /* Ensures underline */
  color: #25d366 !important; /* WhatsApp green */
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
}

.whatsapp-link:hover {
  color: #1eb056; /* Darker green on hover */
  text-decoration: underline;
}
.pagination {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pagination button {
  padding: 10px 18px;
  margin: 0 10px;
  background-color: #00bfa5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination button:hover {
  background-color: #008f7a;
  transform: scale(1.05);
}

.pagination button:active {
  transform: scale(0.95);
}

.pagination button:disabled {
  background-color: #ddd;
  color: #888;
  cursor: not-allowed;
  transform: none;
}
