/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

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

.btn {
  display: inline-block;
  background-color: #e67e22;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #d35400;
}

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

header h1 {
  color: #e67e22;
  font-size: 2rem;
  margin-bottom: 5px;
}

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

nav ul {
  display: flex;
  list-style: none;
  margin-top: 15px;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  padding: 5px 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

nav ul li a:hover, nav ul li a.active {
  color: #e67e22;
  border-bottom: 2px solid #e67e22;
}

/* Secciones */
main {
  margin-top: 120px;
}

.section {
  display: none;
  padding: 40px 0;
}

.section.active {
  display: block;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #e67e22;
  font-size: 2rem;
}

/* Sección Inicio */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('images/fondo.jpeg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  color: white;
  border-radius: 10px;
  margin-bottom: 40px;
}

.hero-text {
  padding: 0 50px;
  max-width: 600px;
}

.hero-text h2 {
  color: white;
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.info-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

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

.info-card i {
  font-size: 2.5rem;
  color: #e67e22;
  margin-bottom: 15px;
}

.info-card h3 {
  margin-bottom: 10px;
  color: #333;
}

/* Sección Menú */
.menu-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.category-btn {
  padding: 10px 20px;
  background: #eee;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.category-btn:hover, .category-btn.active {
  background: #e67e22;
  color: white;
}

.menu-items {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

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

.menu-item h3 {
  width: 100%;
  margin-bottom: 5px;
  color: #e67e22;
}

.menu-item p {
  width: 70%;
  color: #666;
  font-size: 0.9rem;
}

.price {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

.order-notice.warning {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
}

.order-notice.warning i {
  color: #f44336;
}

/* Sección Contacto */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-info, .contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.contact-info i {
  margin-right: 10px;
  color: #e67e22;
  width: 20px;
}

.social-media {
  margin-top: 20px;
}

.social-media a {
  display: inline-block;
  margin-right: 15px;
  color: #e67e22;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #d35400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.confirmation-message {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.confirmation-message i {
  color: #4CAF50;
  font-size: 4rem;
  margin-bottom: 20px;
}

.confirmation-message h2 {
  color: #4CAF50;
  margin-bottom: 15px;
}

.confirmation-message p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: white;
  margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  nav ul {
    justify-content: center;
  }

  .hero {
    height: 50vh;
  }

  .hero-text {
    padding: 0 20px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .info-section {
    grid-template-columns: 1fr;
  }
}
