* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7f4ef;
  color: #222;
  line-height: 1.6;
}

:root {
  --primary: #8b2e16;
  --secondary: #d97706;
  --accent: #f4c27a;
  --light: #fffaf4;
  --dark: #1f1f1f;
  --text-soft: #666;
  --white: #ffffff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-size: 14px;
}

.section-title,
.section h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-soft);
  margin-bottom: 35px;
}

.center {
  text-align: center;
  display: block;
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
    url("images/imagen-web.jpg") center/cover no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.493);
  backdrop-filter: blur(10px);
  border-radius: 0 0 18px 18px;
}

section,
header {
  scroll-margin-top: 100px;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffd089;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffd089;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding-top: 90px;
}

.tagline {
  color: #ffd089;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #f5f5f5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--secondary);
  color: var(--white);
}

.btn.primary:hover {
  background: #b85f00;
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.about {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 35px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: #444;
  text-align: left;
}

.about-card {
  background: var(--white);
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--secondary);
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  margin-top: 15px;
}

.about-card h3:first-child {
  margin-top: 0;
}

.special {
  background: #fff;
}

.card-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.food-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: 0.3s ease;
  border-bottom: 4px solid transparent;
}

.food-card:hover {
  transform: translateY(-6px);
  border-bottom: 4px solid var(--secondary);
}

.food-img {
  font-size: 3rem;
  margin-bottom: 14px;
}

.food-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.food-card p {
  color: var(--text-soft);
  margin-bottom: 14px;
}

.price {
  font-weight: 800;
  color: var(--secondary);
  font-size: 1.1rem;
}

.carousel-section {
  background: var(--light);
}

.carousel-wrapper {
  position: relative;
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.scroll-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 10px 50px;
  cursor: grab;
  user-select: none;
}

.scroll-carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.scroll-carousel::-webkit-scrollbar {
  display: none;
}

.scroll-card {
  min-width: 280px;
  max-width: 280px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 0 0 auto;
}

.scroll-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.scroll-card h3 {
  color: var(--primary);
  padding: 16px 18px 6px;
}

.scroll-card p {
  color: var(--text-soft);
  padding: 0 18px 12px;
}

.scroll-card span {
  display: block;
  padding: 0 18px 18px;
  font-weight: 800;
  color: var(--secondary);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 5;
  transition: 0.3s ease;
}

.carousel-btn:hover {
  background: var(--secondary);
  color: var(--white);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}
.services {
  background: var(--light);
}

.services-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.service-box {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.service-box h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.service-box p {
  color: var(--text-soft);
}

.gallery {
  background: #fff;
}

.gallery-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  grid-template-rows: 180px 220px 160px;
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #e8e2d9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.item1 { grid-column: 1; grid-row: 1; }
.item2 { grid-column: 2; grid-row: 1; }
.item7 { grid-column: 3; grid-row: 1; }

.item3 { grid-column: 1 / 3; grid-row: 2; }
.item4 { grid-column: 3; grid-row: 2 / 4; }

.item5 { grid-column: 1; grid-row: 3; }
.item6 { grid-column: 2; grid-row: 3; }

.news {
  background: #fff;
}

.news-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: var(--white);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--secondary);
}

.news-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.news-date {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.featured {
  grid-column: span 3;
  position: relative;
  background: linear-gradient(135deg, #fff7ec, #fff);
}

.news-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--secondary);
  color: white;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact {
  background: var(--light);
}

.contact-layout {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.contact-form-box,
.contact-info-box {
  width: 100%;
}

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: #222;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 6px;
}

.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-card p {
  margin-bottom: 12px;
  color: #444;
}

.map-box {
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.footer {
  background: var(--dark);
  color: #ddd;
  text-align: center;
  padding: 22px 15px;
}

@media (max-width: 992px) {
  .about-grid,
  .contact-layout,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px 180px;
  }

  .item1 { grid-column: 1; grid-row: 1; }
  .item2 { grid-column: 2; grid-row: 1; }
  .item3 { grid-column: 1 / 3; grid-row: 2; }
  .item4 { grid-column: 1 / 3; grid-row: 3; }
  .item5 { grid-column: 1; grid-row: 4; }
  .item6 { grid-column: 2; grid-row: 4; }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section {
    padding: 65px 0;
  }

  .section-title,
  .section h2 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }

  .item1,
  .item2,
  .item3,
  .item4,
  .item5,
  .item6 {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-form,
  .contact-card {
    padding: 24px;
  }
}

.news-link {
  color: var(--primary);
  text-decoration: none;
}

.news-link:hover {
  color: var(--secondary);
}

.news-btn {
  margin-top: 14px;
}