/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  margin: 0;
  background-color: #f9f6f2;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: linear-gradient(to right, #5d3a00, #3e2600);
  box-shadow: 0 0 15px rgba(93, 58, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f9f6f2;
  text-decoration: none;
  animation: slideRight 1s ease forwards;
}

.logo i {
  font-size: 2rem;
  color: #c69c6d;
  transition: transform 0.3s ease;
}

.logo:hover i {
  transform: rotate(15deg) scale(1.1);
  text-shadow: 0 0 10px #c69c6d;
}

.navbar {
  display: flex;
  gap: 30px;
  animation: fadeIn 1.5s ease forwards;
}

.navbar a {
  position: relative;
  font-size: 1rem;
  color: #f2ece5;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #c69c6d;
}

.navbar a.active::after,
.navbar a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #5d3a00, #c69c6d);
  border-radius: 5px;
  animation: underline 0.4s ease forwards;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #f9f6f2;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 8%;
    background: #3e2600;
    width: 220px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(93, 58, 0, 0.3);
    transition: all 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out forwards;
  }

  .navbar.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.cart-icon {
  position: relative;
  font-size: 1.5rem;
  color: #c69c6d;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cart-icon:hover i {
  transform: scale(1.1);
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #5d3a00;
  color: #f9f6f2;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  animation: fadeIn 0.3s ease forwards;
}

/* Mobile Icon Layout */
.mobile-icons {
  display: none;
  align-items: center;
  gap: 20px;
}

.logo-full {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: #f9f6f2;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mobile-icons {
    display: flex;
  }

  .logo-full {
    font-size: 1.2rem;
  }
}

/* Adjust desktop logo size */
@media (min-width: 769px) {
  .logo-full {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes slideRight {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Home */
.home {
  padding: 40px 8%;
  background: #f9f6f2;
  color: #5d3a00;
}

.home-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.home-text {
  flex: 1 1 300px;
}

.home-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 16px;
  color: #5d3a00;
}

.home-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #704c15;
}

.order-note {
  background: rgba(255, 250, 245, 0.8);
  border-left: 4px solid #5d3a00;
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 8px;
  color: #5d3a00;
  font-size: 0.95rem;
  line-height: 1.5;
}

.order-note p {
  margin: 4px 0;
}

.order-note strong {
  font-weight: 600;
}

.menu-button {
  background-color: #5d3a00;
  color: #f9f6f2;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.menu-button:hover {
  background-color: #704c15;
  transform: scale(1.05);
}

.home-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(93, 58, 0, 0.2);
  object-fit: cover;
}

/* Menu section styling */
.menu {
  text-align: center;
  padding: 60px 20px;
  background: #f9f6f2;
  color: #5d3a00;
}

.menu h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #5d3a00;
}

.menu p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #704c15;
  line-height: 1.6;
}

.menu-slider {
  max-width: 600px;
  margin: 0 auto;
}

.menu-item {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.menu-item img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-top: 15px;
  color: #5d3a00;
}

.menu-item p {
  font-size: 1rem;
  color: #704c15;
  margin-top: 10px;
  line-height: 1.5;
}

.menu-day {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #5d3a00;
  color: #fffdf8;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: 2px solid #fffdf8;
}

.menu-day::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
}

.menu-item:hover .menu-day {
  transform: scale(1.05);
  background: rgba(93, 58, 0, 0.95);
  box-shadow: 0 4px 10px rgba(93, 58, 0, 0.3);
}

.slick-dots li button:before {
  font-size: 12px;
  color: #5d3a00;
  opacity: 0.6;
}

.slick-dots li.slick-active button:before {
  color: #5d3a00;
  opacity: 1;
}

/* Size Select Dropdown */
.size-toggle-group {
  display: flex;
  width: 100%;
  border: 2px solid #5d3a00;
  border-radius: 12px;
  overflow: hidden;
}

.size-toggle {
  flex: 1;
  padding: 14px 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: #f9f6f2;
  color: #5d3a00;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.size-toggle.active {
  background-color: #5d3a00 !important;
  color: #f9f6f2 !important;
}

.size-toggle:not(.active):hover {
  background-color: #f0e8dc;
}

/* Add-to-Cart Button Styling */
.menu-item .add-to-cart-btn {
  background: linear-gradient(135deg, #c69c6d, #5d3a00);
  border: none;
  color: #f9f6f2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  margin-top: 15px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 10px rgba(93, 58, 0, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.menu-item .add-to-cart-btn:hover,
.menu-item .add-to-cart-btn:focus {
  background: linear-gradient(135deg, #5d3a00, #c69c6d);
  box-shadow: 0 8px 16px rgba(198, 156, 109, 0.6);
  transform: scale(1.05);
  outline: none;
}

/* Cart Page Styles */
.cart {
  padding: 40px 8%;
  background: #f9f6f2;
  color: #5d3a00;
  min-height: 80vh;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: #5d3a00;
  position: relative;
}

.cart-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #5d3a00, #c69c6d);
  margin: 10px auto 0;
  border-radius: 3px;
}

.cart-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.cart-items {
  flex: 1 1 600px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(93, 58, 0, 0.1);
}

.cart-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  padding: 15px 0;
  border-bottom: 1px solid #f0e8dc;
  font-weight: 600;
  color: #704c15;
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #f0e8dc;
  position: relative;
}

.item-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f0e8dc;
}

.item-details h3 {
  font-size: 1.1rem;
  color: #5d3a00;
}

.item-day {
  font-size: 0.85rem;
  color: #c69c6d;
  font-weight: 600;
}

.item-note {
  margin-top: 8px;
}

.note-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #f0e8dc;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: "Poppins", sans-serif;
}

.note-input:focus {
  outline: none;
  border-color: #c69c6d;
}

.item-size,
.item-price,
.item-total {
  font-weight: 500;
  color: #704c15;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #c69c6d;
  background: transparent;
  color: #5d3a00;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: #5d3a00;
  color: white;
}

.quantity {
  min-width: 20px;
  text-align: center;
}

.item-remove {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #c69c6d;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.item-remove:hover {
  color: #d9534f;
}

.cart-summary {
  flex: 1 1 300px;
}

.summary-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(93, 58, 0, 0.1);
  position: sticky;
  top: 20px;
}

.summary-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #5d3a00;
  border-bottom: 1px solid #f0e8dc;
  padding-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #704c15;
}

.summary-row.total {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0e8dc;
  color: #5d3a00;
}

.pickup-info {
  display: flex;
  gap: 15px;
  background: rgba(198, 156, 109, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 25px 0;
  align-items: center;
}

.info-icon {
  font-size: 1.5rem;
  color: #5d3a00;
}

.info-text strong {
  display: block;
  color: #5d3a00;
  margin-bottom: 3px;
}

.info-text p {
  color: #704c15;
  font-size: 0.9rem;
}

.pickup-time-toggle {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}

.pickup-time-toggle label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #704c15;
  cursor: pointer;
}

.pickup-time-toggle input[type="radio"] {
  accent-color: #5d3a00;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #c69c6d, #5d3a00);
  color: white;
  border: none;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #5d3a00, #c69c6d);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(93, 58, 0, 0.2);
}

.continue-shopping {
  text-align: center;
  margin-top: 20px;
}

.continue-shopping a {
  color: #5d3a00;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.continue-shopping a:hover {
  color: #c69c6d;
}

/* Empty Cart State */
.cart-empty {
  text-align: center;
  padding: 50px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(93, 58, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
}

.cart-empty i {
  font-size: 3rem;
  color: #c69c6d;
  margin-bottom: 20px;
}

.cart-empty h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #5d3a00;
  margin-bottom: 15px;
}

.cart-empty p {
  color: #704c15;
  margin-bottom: 25px;
}

.cart-empty .menu-button {
  display: inline-block;
  background-color: #5d3a00;
  color: #f9f6f2;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cart-empty .menu-button:hover {
  background-color: #704c15;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #5d3a00;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.cart-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.cart-notification i {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0;
  }

  .item-product {
    grid-column: 1 / -1;
  }

  .item-size,
  .item-price,
  .item-quantity,
  .item-total {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
  }

  .item-size::before {
    content: "Size: ";
    font-weight: 600;
  }

  .item-price::before {
    content: "Price: ";
    font-weight: 600;
  }

  .item-total::before {
    content: "Total: ";
    font-weight: 600;
  }

  .item-remove {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
  }

  .cart-content {
    flex-direction: column;
  }

  .cart-items,
  .cart-summary {
    flex: 1 1 auto;
    /* width: 100%; */
  }
}

.disabled-btn {
  background: #cccccc !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}

/* Footer Section */
/* Footer Styles */
.footer {
  background-color: #5d3a00;
  color: #f9f6f2;
  padding: 40px 0 20px;
  font-family: "Poppins", sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand i {
  font-size: 2rem;
  color: #c69c6d;
}

.footer-brand span {
  font-size: 1.5rem;
  font-weight: 600;
}

.footer h3 {
  color: #c69c6d;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-contact ul,
.footer-hours ul {
  list-style: none;
  padding: 0;
}

.footer-contact li,
.footer-hours li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  width: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #f9f6f2;
  background-color: rgba(198, 156, 109, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #c69c6d;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid rgba(198, 156, 109, 0.2);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  .footer-contact,
  .footer-hours,
  .footer-social {
    text-align: center;
  }

  .footer-contact li,
  .footer-hours li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Customer Note Styles */
.customer-note {
  margin-top: 25px;
  margin-bottom: 25px;
}

.customer-note label {
  font-weight: 600;
  color: #5d3a00;
  display: block;
  margin-bottom: 8px;
}

.note-textarea {
  width: 100%;
  min-height: 80px;
  /* padding: 12px; */
  border: 1px solid #f0e8dc;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #5d3a00;
  resize: vertical;
  background-color: #fffdf8;
  box-shadow: inset 0 2px 4px rgba(93, 58, 0, 0.05);
  transition: border-color 0.3s ease;
  padding-top: 5px;
}

.note-textarea:focus {
  border-color: #c69c6d;
  outline: none;
}

/* Send Order Model Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fffdf8;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  font-family: "Poppins", sans-serif;
  color: #5d3a00;
  position: relative;

  /* Fixes for input overflow */
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #5d3a00;
  cursor: pointer;
}

.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.modal-form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #704c15;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #f0e8dc;
  border-radius: 8px;
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  background: #fff;
  color: #5d3a00;

  /* Ensure padding and border included in width */
  box-sizing: border-box;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #c69c6d;
}

.pickup-toggle {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.toggle-option {
  background: #f9f6f2;
  padding: 10px 14px;
  border: 2px solid #5d3a00;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

input[type="radio"]:checked + .toggle-option {
  background-color: #5d3a00;
  color: #f9f6f2;
}

#pickup-message {
  font-size: 0.85rem;
  margin-top: 10px;
  color: #d9534f;
}

#send-button {
  width: 100%;
  margin-top: 25px;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #c69c6d, #5d3a00);
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#send-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#send-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #5d3a00, #c69c6d);
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
    border-radius: 12px;
  }
  .modal-title {
    font-size: 1.3rem;
  }
}

/* Contains Note Styling */
.contains-info {
  display: block;
  font-size: 0.85rem;
  color: #704c15;
  margin-top: 8px;
  font-style: italic;
  white-space: nowrap;
  font-weight: bold;
}
