/* Global Styles */
:root {
  --primary-color: #f61313;
  --secondary-color: #da4e44;
  --dark-color: #2f3542;
  --light-color: #f1f2f6;
  --success-color: #2ed573;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.btn:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

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

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.logo p {
  font-size: 0.8rem;
  color: var(--dark-color);
  margin-top: -5px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('images/bg_image_2.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Menu Section */
.menu-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.menu-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.7rem 1.5rem;
  margin: 0.5rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.category-btn:hover, .category-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

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

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

.menu-item-img {
  height: 200px;
  overflow: hidden;
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-img img {
  transform: scale(1.1);
}

.menu-item-content {
  padding: 1.5rem;
}

.menu-item-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.menu-item-title h3 {
  font-size: 1.2rem;
  color: var(--dark-color);
}

.menu-item-title span {
  color: var(--primary-color);
  font-weight: 700;
}

.menu-item-category {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: #f1f2f6;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.menu-item.snacks .menu-item-category {
  background: #ffeaa7;
  color: #e17055;
}

.menu-item.main .menu-item-category {
  background: #a5b1c2;
  color: #2d3436;
}

.menu-item.desserts .menu-item-category {
  background: #fab1a0;
  color: #d63031;
}

.menu-item.drinks .menu-item-category {
  background: #74b9ff;
  color: #0984e3;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  display: flex;
  align-items: center;
}

.about-content {
  flex: 1;
  padding-right: 3rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: #555;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  color: white;
  font-size: 1.5rem;
  text-align: center;
}

/* Reviews Section */
.reviews-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.review-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.review-rating {
  color: var(--secondary-color);
}

.review-rating i {
  margin-right: 2px;
}

.review-date {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.5rem;
}

.add-review {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-review h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

#reviewForm select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  color: #555;
}

#reviewForm select:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.contact-container {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  background: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-icons {
  margin-top: 2rem;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--dark-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

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

.contact-form {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0 0;
}

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.footer-section p {
  margin-bottom: 1rem;
  color: #bbb;
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  transition: color 0.3s ease;
  color: #bbb;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: inherit;
}

.newsletter-form button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0 1rem;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff5252;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #444;
  color: #bbb;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-section {
      flex-direction: column;
  }
  
  .about-content {
      padding-right: 0;
      margin-bottom: 2rem;
  }
  
  .contact-container {
      flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
      position: absolute;
      right: 0;
      top: 80px;
      background: white;
      width: 100%;
      flex-direction: column;
      align-items: center;
      padding: 2rem 0;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      transform: translateY(-150%);
      transition: transform 0.5s ease;
  }
  
  .nav-links.active {
      transform: translateY(0);
  }
  
  .nav-links li {
      margin: 1rem 0;
  }
  
  .burger {
      display: block;
  }
  
  .hero h2 {
      font-size: 2.5rem;
  }
  
  .hero p {
      font-size: 1.2rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .menu-categories {
      flex-direction: column;
      align-items: center;
  }
  
  .category-btn {
      width: 80%;
      text-align: center;
  }
  
  .about-stats {
      flex-direction: column;
  }
  
  .stat {
      margin-bottom: 1.5rem;
  }
  
  .hero h2 {
      font-size: 2rem;
  }
}