/* 
  Khushi Grill - Main Stylesheet
  Dark theme with orange/red accents
*/

/* Base Styles */
:root {
  --primary: #ff6b35;
  --primary-dark: #e85d2c;
  --secondary: #121212;
  --dark: #0a0a0a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --gray-light: #e9ecef;
  --text: #f8f9fa;
  --text-secondary: #adb5bd;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--secondary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-light {
  color: var(--light);
  border-color: var(--light);
}

.btn-outline-light:hover {
  background-color: var(--light);
  color: var(--dark);
}

.section-padding {
  padding: 100px 0;
}

.bg-dark-light {
  background-color: var(--dark);
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand img {
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text);
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-dark .navbar-toggler {
  border-color: transparent;
}

.navbar-dark .navbar-toggler:focus {
  box-shadow: none;
}

.social-icons a {
  color: var(--text);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary);
}

.book-btn {
  background-color: var(--primary);
  border-radius: 50px;
  color: var(--light) !important;
}

.book-btn:hover {
  background-color: var(--primary-dark);
  color: var(--light) !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 700px;
  background: url("image/background.JPG") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.menu-hero-section {
  height: 60vh;
  min-height: 500px;
  background: url("image/backgroundmenu.JPG") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-section .overlay,
.menu-hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4));
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
}

.text-accent {
  color: var(--primary);
}

/* Section Title */
.section-title {
  margin-bottom: 3rem;
}

.section-title .subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.section-title.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* About Section */
.about-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background-color: var(--primary);
  color: var(--light);
  padding: 1.5rem;
  border-radius: 50%;
  text-align: center;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}

.experience-badge .years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.feature-item span {
  font-weight: 500;
}

/* Food Cards */
.food-card {
  background-color: var(--dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.food-card:hover {
  transform: translateY(-10px);
}

.food-img {
  position: relative;
  overflow: hidden;
}

.food-img img {
  transition: var(--transition);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.food-card:hover .food-img img {
  transform: scale(1.1);
}

.food-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.food-info {
  padding: 1.5rem;
}

.food-info h4 {
  margin-bottom: 0.5rem;
}

.food-info p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Delivery Cards */
.delivery-card {
  background-color: var(--dark);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.delivery-card img {
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
  background-color: var(--dark);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.icon-box {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.icon-box i {
  color: var(--primary);
  font-size: 2rem;
}

.service-card h4 {
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
}

/* Private Hall Section */
.private-hall-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.capacity-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Gallery */
.gallery-item {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  transition: var(--transition);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay i {
  color: var(--light);
  font-size: 2rem;
}

/* Booking Form */
.booking-form,
.contact-form {
  background-color: var(--dark);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-label {
  color: var(--text);
  font-weight: 500;
}

.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 5px;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: none;
}

.form-control::placeholder {
  color: var(--text-secondary);
}

.booking-info {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.info-item h5 {
  margin-bottom: 0.25rem;
}

.info-item p {
  margin-bottom: 0;
}

/* Contact Info */
.contact-info {
  background-color: var(--dark);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Menu Items */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item-info {
  flex: 1;
}

.menu-item-info h4 {
  margin-bottom: 0.5rem;
}

.menu-item-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.menu-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  margin-left: 1rem;
}

/* Category Cards */
.category-card {
  background-color: var(--dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-img {
  overflow: hidden;
}

.category-img img {
  transition: var(--transition);
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.category-card:hover .category-img img {
  transform: scale(1.1);
}

.category-card h4 {
  padding: 1rem;
  text-align: center;
  margin-bottom: 0;
  color: var(--text);
}

.category-card:hover h4 {
  color: var(--primary);
}

/* Swiper Slider */
.category-slider {
  padding-bottom: 40px;
}

.swiper-pagination-bullet {
  background-color: var(--text);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary);
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--dark);
  padding: 80px 0 20px;
  position: relative;
}

.footer-info p {
  margin-bottom: 1.5rem;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h5:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links,
.footer-contact,
.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
}

.footer-hours span {
  font-weight: 600;
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 50px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--light);
}

/* Media Queries */
@media (max-width: 991.98px) {
  /* Improved mobile navbar */
  .navbar-collapse {
    background-color: rgba(10, 10, 10, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: var(--shadow);
    max-height: 80vh;
    overflow-y: auto;
  }

  .navbar-nav {
    padding-bottom: 10px;
  }

  .navbar-nav .nav-item {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 1.1rem;
  }

  .navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255, 107, 53, 0.2);
    border-radius: 5px;
  }

  .navbar-dark .navbar-toggler {
    border-color: transparent;
  }

  .navbar-dark .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
  }

  .social-icons {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
  }

  .book-btn {
    margin-top: 10px;
    display: block;
    text-align: center;
  }
  .section-padding {
    padding: 80px 0;
  }

  .hero-section {
    height: 80vh;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  /* Improved section spacing */
  .section-padding {
    padding: 60px 0;
  }

  /* Better hero section for mobile */
  .hero-section,
  .menu-hero-section {
    text-align: center;
  }

  .hero-section .overlay,
  .menu-hero-section .overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  }

  /* Improved food cards for mobile */
  .food-card {
    margin-bottom: 30px;
  }

  .food-img img {
    height: 180px;
  }

  /* Better service cards for mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 20px;
  }

  .icon-box {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }

  /* Improved gallery for mobile */
  .gallery-item img {
    height: 200px;
  }

  /* Better forms for mobile */
  .booking-form,
  .contact-form {
    padding: 1.5rem;
  }

  /* Improved menu items for mobile */
  .menu-item {
    padding: 1.2rem;
  }

  /* Enhanced footer for mobile */
  .footer {
    padding: 60px 0 20px;
    text-align: center;
  }

  .footer h5:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links,
  .footer-contact,
  .footer-hours {
    margin-bottom: 30px;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-hours li {
    justify-content: space-between;
    max-width: 250px;
    margin: 0 auto 0.75rem;
  }

  /* Improved back to top button */
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  .section-padding {
    padding: 60px 0;
  }

  .hero-section {
    height: 70vh;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
    padding: 1rem;
  }

  .experience-badge .years {
    font-size: 1.5rem;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-item-price {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  /* Improved typography for small screens */
  .section-title h2 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  /* Better hero content for small screens */
  .hero-section {
    min-height: 550px;
  }

  .hero-section .display-3 {
    font-size: 2.5rem;
  }

  /* Improved category slider for small screens */
  .category-slider .swiper-slide {
    width: 150px;
  }

  .category-card h4 {
    font-size: 1rem;
  }

  /* Better menu items for small screens */
  .menu-item-info h4 {
    font-size: 1.1rem;
  }

  .menu-item-info p {
    font-size: 0.85rem;
  }

  .menu-item-price {
    font-size: 1.1rem;
  }

  /* Improved buttons for small screens */
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .section-padding {
    padding: 50px 0;
  }

  .hero-section {
    height: 100vh;
    min-height: 600px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* Add these styles at the end of the file for the mobile navbar toggle animation */

/* Animated hamburger icon */
.navbar-toggler {
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  height: 40px;
  width: 40px;
  padding: 0;
  border-radius: 5px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: none;
  position: relative;
  transition: background-color 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Add a line to the middle of the hamburger icon when not expanded */
.navbar-toggler .navbar-toggler-icon {
  width: 24px;
  height: 2px;
  background-color: #fff;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s ease;
}

/* Mobile menu overlay */
@media (max-width: 991.98px) {
  .navbar-collapse.show {
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Improved touch targets for mobile */
  .nav-link,
  .btn,
  .social-icons a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .social-icons a {
    justify-content: center;
    width: 44px;
    height: 44px;
    display: inline-flex;
  }

  /* Better spacing for mobile content */
  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Improved mobile form elements */
  .form-control,
  .form-select,
  .btn {
    min-height: 50px;
  }

  textarea.form-control {
    min-height: 100px;
  }
}




