/* ===== Satkaar Restaurant - style.css ===== */

/* --- Colors --- */
:root {
  --olive: #556B2F;
  --light-yellow: #ffeb99;
  --white: #ffffff;
}

/* --- Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--white);
  overflow-x: hidden;
  /*scroll-padding-top: 90px; /* prevents scroll-hide when clicking anchors */
  /*padding-top: 90px; /* space below fixed navbar */
}

/* --- Navbar --- */

#mainNav {
  background: rgba(85, 107, 47, 0.95);
  transition: all 0.4s ease;
  z-index: 999;
}
#mainNav.scrolled {
  background: var(--olive);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}
.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--light-yellow) !important;
}




/* --- Hero Section --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  height: 100vh;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem;
}
.hero-title {
  font-size: 3.8rem;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--light-yellow);
}
.hero-subtitle {
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1rem;
}
.hero-divider {
  width: 60%;
  margin: 0.8rem auto 1.2rem auto;
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-tagline {
  font-size: 1rem;
  color: #ddd;
  font-weight: 300;
  letter-spacing: 0.8px;
}
/* --- Social Media Icons (Navbar) --- */
.nav-social-icon {
  color: var(--white);
  background-color: var(--olive);
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-social-icon:hover {
  background-color: var(--light-yellow);
  color: var(--olive);
  border-color: var(--olive);
  transform: scale(1.1);
}

.navbar .nav-item .nav-social-icon {
  margin-left: 6px;
}


/* --- Buttons --- */
.btn-custom {
  background: var(--light-yellow);
  color: var(--olive);
  font-weight: 600;
  border-radius: 0;
  padding: 10px 30px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background: #fff3b0;
  color: var(--olive);
  transform: translateY(-2px);
}

.btn-custom-outline {
  border: 2px solid var(--light-yellow);
  color: var(--light-yellow);
  font-weight: 600;
  border-radius: 0;
  padding: 10px 30px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-custom-outline:hover {
  background: var(--light-yellow);
  color: var(--olive);
  transform: translateY(-2px);
}

/* ===== Reserve Table Button ===== */
.btn-reserve {
  background: var(--light-yellow);
  color: var(--olive);
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 25px;
  border: 2px solid var(--light-yellow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-reserve:hover {
  background: #344F1F;
  color: var(--white);
  border-color: #344F1F;
  box-shadow: 0 0 12px rgba(255, 235, 153, 0.5);
  transform: translateY(-2px);
}


/* ===== Footer Section ===== */
.site-footer {
  background-color: var(--olive);
  color: var(--white);
  padding: 1.5rem 0;
  margin-top: 0; /* ✅ removes white gap above footer */
  border-top: 3px solid var(--light-yellow);
}

.site-footer h5 {
  color: var(--light-yellow);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-footer p {
  color: var(--white);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Fix unwanted gap from last section */
body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Floating reserve button */
.fab-reserve {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: var(--light-yellow);
  color: var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 9999;
}
.fab-reserve:hover {
  background: var(--olive);
  color: var(--white);
  transform: scale(1.1);
}

/* ===== Satkaar Menu & Cart Styling ===== */
/* Background setup */
.menu-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  color: var(--olive);
  padding-top: 100px; /* space below navbar */
}


.menu-section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.75);
z-index: 0;
}

.menu-section .container {
position: relative;
z-index: 1;
}

/* Heading */
.menu-section h2 {
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 30px;
}

/* Tabs */
.nav-pills {
margin-bottom: 40px;
border-radius: 50px;
}

.nav-pills .nav-link {
color: var(--olive);
background: transparent;
border: 2px solid var(--olive);
border-radius: 25px;
margin: 0 5px;
font-weight: 600;
transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
background-color: var(--olive);
color: var(--white);
}

.nav-pills .nav-link {
background-color: var(--light-yellow);
color: var(--olive);
}

/* Menu Cards */
.menu-card {
border-radius: 15px;
overflow: hidden;
background: var(--white);
transition: all 0.3s ease;
border: 1px solid rgba(0,0,0,0.08);
}

.menu-card {
transform: translateY(-8px);
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.menu-card img {
height: 200px;
object-fit: cover;
border-bottom: 3px solid var(--light-yellow);
}

.menu-card .card-body {
padding: 15px;
}

.menu-card h5 {
color: var(--olive);
font-size: 18px;
margin-bottom: 6px;
}

.menu-card p {
color: #6c757d;
font-size: 14px;
min-height: 50px;
}

.menu-card span {
display: block;
font-weight: 700;
font-size: 16px;
margin-bottom: 5px;
}

/* Select Item Button */
.btn-select {
background: var(--olive);
color: var(--white);
border-radius: 25px;
padding: 8px 18px;
font-weight: 600;
border: none;
transition: all 0.3s ease;
}

.btn-select {
background: var(--light-yellow);
color: var(--olive);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== Floating Cart Button ===== */
.cart-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--white);
  color: var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cart-float-btn:hover {
  background-color: #ffeb99;
  color: var(--white);
  transform: scale(1.1);
}

/* Counter bubble */
.cart-float-btn span {
  position: absolute;
  top: 8px;
  right: 10px;
  background-color: #ff4444;
  color: white;
  font-size: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.checkout-section h2 {
  color: var(--olive);
}

.checkout-section .card {
  background-color: #ffffff;
  border-radius: 15px;
}

.checkout-section input,
.checkout-section textarea,
.checkout-section select {
  border-radius: 8px;
}

.checkout-section button {
  border-radius: 8px;
}

/* ===== Social Media Icons ===== */
.social-links a.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a.fb {
  color: #fff;
  background-color: #3b5998; /* Facebook Blue */
}

.social-links a.ig {
  color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links a.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}





/* Shake animation when item added */
@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  20%, 60% { transform: rotate(-15deg); }
  40%, 80% { transform: rotate(15deg); }
}

.cart-shake {
  animation: shake 0.6s ease;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
.menu-card img {
height: 180px;
}
.menu-card h5 {
font-size: 16px;
}
.menu-section h2 {
font-size: 26px;
}
}

/* Floating Cart Integration */
.floating-cart {
position: fixed;
bottom: 25px;
right: 25px;
background: var(--olive);
color: var(--white);
font-size: 28px;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 15px rgba(0,0,0,0.2);
transition: all 0.3s ease;
text-decoration: none;
z-index: 9999;
}

.floating-cart {
background: var(--light-yellow);
color: var(--olive);
transform: scale(1.1);
}

.cart-count {
position: absolute;
top: 8px;
right: 10px;
background: var(--light-yellow);
color: var(--olive);
border-radius: 50%;
font-size: 13px;
padding: 2px 6px;
font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .logo-img {
    height: 45px;
  }
}
