/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #fefefe;
}

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

/* Header & Navigation */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
}

.logo-image {
    width: 45px; 
    height: auto;
}

.logo h1 {
  font-size: 1.5rem;
  color: #d97706;
  margin-bottom: 0.25rem;
}

.logo .tagline {
  font-size: 0.75rem;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #2c2c2c;
  margin: 3px 0;
  transition: 0.3s;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #d97706;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d97706;
}

/* Cart Button */
.cart-btn {
  background-color: #d97706;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
  position: relative;
}

.cart-btn:hover {
  background-color: #b45309;
}

.cart-count {
  background-color: #fff;
  color: #d97706;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  height: 500px;
   background-image: url('images/General.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #fbbf24;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #2c2c2c;
}

.section-subtitle {
  text-align: center;
  color: #78716c;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Menu Section */
.menu-section {
  padding: 5rem 0;
  background-color: #fafaf9;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.menu-category {
  font-size: 1.5rem;
  color: #d97706;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fbbf24;
}

.menu-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f5f5f4;
}

.menu-item:last-child {
  border-bottom: none;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.item-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #2c2c2c;
}

.item-info p {
  font-size: 0.9rem;
  color: #78716c;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.price {
  font-weight: 700;
  color: #d97706;
  font-size: 1.1rem;
  white-space: nowrap;
}

.add-to-cart-btn {
  background-color: #d97706;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  width: 100%;
}

.add-to-cart-btn:hover {
  background-color: #b45309;
  transform: translateY(-2px);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

/* Cart Modal */
.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: flex-end;
}

.cart-modal.active {
  display: flex;
}

.cart-content {
  background-color: white;
  width: 100%;
  max-width: 450px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid #f5f5f4;
  background-color: #d97706;
  color: white;
}

.cart-header h2 {
  font-size: 1.5rem;
}

.close-cart {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
}

.cart-items {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #f5f5f4;
  background-color: #fafaf9;
  border-radius: 8px;
  margin-bottom: 1rem;
}

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

.cart-item-info h4 {
  font-size: 1rem;
  color: #2c2c2c;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: #d97706;
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  background-color: #d97706;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.qty-btn:hover {
  background-color: #b45309;
}

.qty-display {
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.remove-btn {
  background-color: #dc2626;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: auto;
  transition: background-color 0.3s;
}

.remove-btn:hover {
  background-color: #b91c1c;
}

.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
  color: #78716c;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.cart-footer {
  border-top: 2px solid #f5f5f4;
  padding: 1.5rem;
  background-color: #fafaf9;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.cart-total-amount {
  color: #d97706;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-btn {
  background-color: #15803d;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s;
}

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

.clear-cart-btn {
  background-color: #dc2626;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.clear-cart-btn:hover {
  background-color: #b91c1c;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background-color: #fff;
}

.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.slide-placeholder img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
}

.slide-text {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    pointer-events: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  color: #2c2c2c;
}

.slider-btn:hover {
  background-color: #fff;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #d97706;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: #fafaf9;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h3 {
  font-size: 2rem;
  color: #d97706;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #44403c;
}

.signature {
  font-style: italic;
  color: #78716c;
  margin-top: 2rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info h3,
.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: #d97706;
  margin-bottom: 1.5rem;
}

.address {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: #44403c;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2c2c2c;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e7e5e4;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

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

.submit-btn {
  background-color: #d97706;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #b45309;
}

/* Footer */
.footer {
  background-color: #2c2c2c;
  color: #fff;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #44403c;
  color: #9ca3af;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f4;
  }

  .nav-link.active::after {
    display: none;
  }

  .cart-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .cart-content {
    max-width: 100%;
  }

  .slide-placeholder {
    height: 300px;
    font-size: 1.2rem;
  }

  .slider-btn {
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    height: 400px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .menu-section,
  .gallery-section,
  .about-section,
  .contact-section {
    padding: 3rem 0;
  }

  .menu-card {
    padding: 1.5rem;
  }

  .slide-placeholder {
    height: 250px;
    font-size: 1rem;
  }
}