:root {
  --primary-color: #8b0000;
  --secondary-color: #ffd700;
  --dark-color: #222;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #28a745;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100vw;
}

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

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-app {
  display: flex;
  align-items: center;
  background-color: #000;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 10px;
}

.btn-app i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.btn-app span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-app strong {
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}
.theme-switch {
  display: block;
  align-items: right;
  position: relative;
  justify-content: center;
  border: none;
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: var(--dark-color);
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-cart-btn {
  background: none;
  border: none;
  color: var(--dark-color);
  font-size: 1.2rem;
  position: relative;
  cursor: pointer;
}

.nav-cart-btn:hover {
  color: var(--primary-color);
}

#navCartCount {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 15px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-top: 70px;
  overflow: visible;
  overflow-x: hidden;
  align-content: center;
}

.carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 1;
  min-width: 100%;
  height: 100%;
  align-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
  max-width: 800px;
  z-index: 1;
}

.carousel-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(241, 211, 9, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 20px;
  border-radius: 5px 0 0 5px;
}

.next {
  right: 20px;
  border-radius: 0 5px 5px 0;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-button {
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab-button:hover {
  color: #8b0000;
}

.tab-button.active {
  color: #8b0000;
  border-bottom: 3px solid #8b0000;
}

.tab-content {
  display: none;
  padding: 20px 0;
}

.tab-content h2 {
  margin-bottom: 20px;
  color: #8b0000;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.menu-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top: 4px solid #28a745;
}

.menu-item-content {
  padding: 15px;
}

.menu-item h3 {
  margin-bottom: 10px;
  color: #333;
}

.menu-item p {
  color: #666;
  margin-bottom: 15px;
}

.menu-item .price {
  font-weight: bold;
  color: #8b0000;
  margin-bottom: 15px;
  display: block;
}

.add-to-cart {
  background-color: #8b0000;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.add-to-cart:hover {
  background-color: #a52a2a;
}

/* Cart Preview - Responsive */
.cart-preview {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cart-preview:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
}

.cart-preview:active {
  transform: scale(0.98);
}

.cart-preview i {
  font-size: 1.1rem;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .cart-preview {
    top: 25px;
    bottom: auto;
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .cart-preview {
    top: 30px;
    right: 30px;
    padding: 12px 25px;
    gap: 12px;
  }

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

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .cart-preview {
    right: 50px;
  }
}

/* Mobile Landscape Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .cart-preview {
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
    font-size: 0.8rem;
  }
}

/* Animation for Cart Updates */
@keyframes cartBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.cart-update {
  animation: cartBounce 0.5s ease;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}

.close:hover {
  color: #333;
}

.cart-items {
  margin-bottom: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  margin-bottom: 5px;
}

.cart-item-info p {
  color: #666;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-controls input {
  width: 60px;
  padding: 5px;
  text-align: center;
}

.remove-item {
  color: #8b0000;
  cursor: pointer;
  font-size: 0.9rem;
}

.cart-summary {
  border-top: 2px solid #eee;
  padding-top: 15px;
  margin-top: 15px;
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-summary .total {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 10px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  background-color: #8b0000;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #a52a2a;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.flash-message {
  position: fixed;
  top: 80px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  animation: fadeIn 0.3s;
}

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

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

@media (max-width: 768px) {
  .menu-items {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .tab-button {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }
}

/* About Section */
/* About Section - Responsive */
.about-section {
  padding: 60px 0;
  background-color: white;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text {
  order: 2;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray-color);
  font-size: 1rem;
  line-height: 1.7;
}

.about-image {
  order: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border-top: 5px solid #8b0000;
  border-left: 5px solid #ffd700;
  border-bottom: 5px solid #8b0000;
  border-right: 5px solid #ffd700;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.stat {
  text-align: center;
  padding: 15px;
  background: rgba(139, 0, 0, 0.05);
  border-radius: 8px;
}

.stat h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat p {
  font-size: 0.85rem;
  color: var(--gray-color);
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .about-section {
    padding: 70px 0;
  }

  .about-content {
    gap: 40px;
  }

  .about-stats {
    gap: 20px;
    margin-top: 30px;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .stat p {
    font-size: 0.9rem;
  }
}

/* Small Desktop (992px and up) */
@media (min-width: 992px) {
  .about-section {
    padding: 80px 0;
    border-bottom: 4px solid #8b0000;
    margin-bottom: 40px;
  }

  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }

  .about-text {
    order: 1;
    flex: 1;
  }

  .about-image {
    order: 2;
    flex: 1;
  }

  .about-image img {
    height: 100%;
    min-height: 400px;
    max-height: none;
  }

  .about-stats {
    display: flex;
    gap: 30px;
  }

  .stat {
    padding: 0;
    background: transparent;
  }

  .stat h3 {
    font-size: 2.5rem;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .about-content {
    gap: 70px;
  }

  .about-text p {
    font-size: 1.1rem;
  }
}
/* Featured Section */
.featured-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.featured-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.featured-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.featured-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.featured-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-top: 4px solid #2196f3;
}

.featured-info {
  padding: 20px;
}

.featured-info h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.featured-info p {
  color: var(--gray-color);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.add-to-cart {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.add-to-cart:hover {
  background-color: var(--dark-color);
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background-color: white;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 5px solid #8b0000;
  border-left: 5px solid #ffd700;
  border-bottom: 5px solid #8b0000;
  border-right: 5px solid #ffd700;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 20px;
}

.rating {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-color);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("img/cta3.jpg") no-repeat center center;
  color: white;
  text-align: center;
  background-size: cover;
  justify-content: center;
  height: 80vh;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-col p {
  margin-bottom: 20px;
  color: #adb5bd;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #adb5bd;
}

.contact-info i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 0.9rem;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: none;
  padding: 0 20px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #adb5bd;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #2196f3;
  text-decoration: none;
}

.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
}

/* Confirmation Modal */
#confirmationModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

#confirmationModal .modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  animation: modalFadeIn 0.4s;
}

.modal-header h3 {
  color: #8b0000;
  margin-bottom: 15px;
}

.modal-body {
  padding: 15px 0;
}

.modal-footer {
  margin-top: 20px;
}

.btn-confirm {
  background-color: #8b0000;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-confirm:hover {
  background-color: #a52a2a;
  transform: translateY(-2px);
}

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

/* Legal Sections */
.legal-section {
  max-width: 1000px;
  margin: 40px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.legal-tabs {
  display: flex;
  border-bottom: 2px solid #f1f1f1;
}

.legal-tab {
  padding: 15px 25px;
  background: none;
  border: none;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.legal-tab.active {
  color: #8b0000;
}

.legal-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #8b0000;
}

.legal-tab-content {
  display: none;
  padding: 25px;
}

.legal-tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

.scrollable-content {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 15px;
}

.scrollable-content h3 {
  color: #8b0000;
  margin-bottom: 20px;
}

.scrollable-content h4 {
  color: #333;
  margin: 25px 0 10px;
}

.scrollable-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.scrollable-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .legal-tabs {
    flex-direction: column;
  }

  .legal-tab {
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .legal-tab.active::after {
    display: none;
  }

  .scrollable-content {
    max-height: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Legal Page Banner */
.legal-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("img/single.jpg") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}

.banner-content {
  width: 100%;
  padding: 0 20px;
  color: white;
}

.legal-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.breadcrumbs a {
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s;
}

.breadcrumbs a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .legal-banner {
    height: 250px;
    margin-top: 30px;
  }

  .legal-banner h1 {
    font-size: 2rem;
  }

  .breadcrumbs {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .legal-banner {
    height: 250px;
    margin-top: 40px;
  }

  .legal-banner h1 {
    font-size: 1.8rem;
  }
}

/* Advertisements Section */
.ad-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.ad-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #8b0000, #ffd700);
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.ad-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.ad-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(139, 0, 0, 0.15);
}

.ad-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ffd700;
  color: #8b0000;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.ad-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.ad-content {
  padding: 20px;
}

.ad-content h3 {
  color: #8b0000;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.ad-content p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.ad-button {
  background-color: #8b0000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.ad-button:hover {
  background-color: #a52a2a;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(139, 0, 0, 0.2);
}

/* Special Card Treatments */
.fuel-discount {
  border-top: 4px solid #4caf50;
}
.fuel-discount .ad-badge {
  background-color: #2196f3;
  color: white;
}

.weather-special {
  border-top: 4px solid #2196f3;
}

.safety-partner {
  border-top: 4px solid #8b0000;
}
.safety-partner .ad-badge {
  background-color: #4caf50;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 728px) {
  .ad-grid {
    grid-template-columns: 1fr;
  }

  .ad-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .ad-content {
    padding: 15px;
  }

  .ad-image {
    height: 150px;
  }
}

body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}
body.dark-mode header {
  background: linear-gradient(90deg, #1c2526, #2e3b3e);
}
body.dark-mode .tabs {
  background-color: #2e3b3e;
}
body.dark-mode .tab-button {
  color: #fff;
}
body.dark-mode .tab-content h2 {
  color: #ffd700;
}
body.dark-mode .menu-section,
body.dark-mode .about-section p {
  color: #e9ecef;
}
body.dark-mode .about-section {
  background-color: #2e3b3e;
}
body.dark-mode .cart-summary p {
  color: #ffd700;
}
body.dark-mode .modal-content {
  background-color: #2e3b3e;
}
body.dark-mode .checkout-page,
body.dark-mode .cart-preview {
  background-color: #2c2c2c;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}
body.dark-mode .menu-item {
  background-color: #2e3b3e;
  color: #f8f9fa;
}
body.dark-mode .menu-item p {
  color: #fff;
}
body.dark-mode .menu-item .price {
  color: #4caf50;
}
body.dark-mode .menu-item h3 {
  color: #ffd700;
}

body.dark-mode .featured-section {
  background-color: #1c2526;
}
body.dark-mode .featured-item {
  background-color: #2e3b3e;
  color: #f8f9fa;
}
body.dark-mode .featured-item p {
  color: #fff;
}
body.dark-mode .featured-item h3 {
  color: #ffd700;
}

body.dark-mode .featured-item .price {
  color: #4caf50;
}

body.dark-mode .ad-section {
  background-color: #2e3b3e;
}
body.dark-mode .ad-card {
  background-color: #1c2526;
}
body.dark-mode .ad-card h3 {
  color: #ffd700;
}
body.dark-mode .ad-card p {
  color: #f9f9f9;
}

body.dark-mode .testimonials-section {
  background-color: #1c2526;
}
body.dark-mode .testimonials-section h4 {
  color: #28a745;
}

body.dark-mode .section-title {
  color: #fff;
}
body.dark-mode .section-subtitle {
  color: #4caf50;
}

body.dark-mode .navbar {
  background-color: #ffd700;
}

body.dark-mode .ad-section .fuel-discount {
  border-top: 4px solid #ffd700;
}
