/* Variables y reset */
:root {
  --white: #ffffff;
  --black: #080709;
  --footer-text: #f2dec5;
  --gold: #d4af37;
  --red: #c41e3a;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cinzel", serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}
section {
  scroll-margin-top: 91.91px;
}

.container {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 1);
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 100px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-list a:hover {
  color: var(--gold);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-list a:hover::after {
  width: 100%;
}

.btn-whatsapp {
  background-color: #b8960f;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background-color: #820507;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 90px;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(265deg, rgba(8, 7, 9, 1), transparent 50%),
    linear-gradient(180deg, rgba(8, 7, 9, 1), transparent 10%),
    url("/assets/img/banner.jpg");
  filter: brightness(0.7);
  background-repeat: no-repeat;
  background-size: 80% 90%;
  background-color: rgb(8, 7, 9);
  background-position: 0 100%;
}

.hero-text {
  position: absolute;
  top: 10%;
  right: 0;
  text-align: center;
  font-weight: lighter;
  color: var(--white);
  width: 40%;
  max-width: 800px;
  z-index: 1;
}

.logo-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  filter: invert(100%);
}

.logo-hero.bottom {
  margin-top: 1rem;
  margin-bottom: 0;
}

.logo-large {
  width: 120px;
  height: auto;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-text h1 span {
  font-size: 3rem;
  display: block;
}

/* Delicias Section */
.delicias-section {
  padding: 4rem 0;
  background-color: var(--white);
  text-align: center;
}

.delicias-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.delicias-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--gold);
}

.delicias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.delicia-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.delicia-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.delicia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.delicia-img:hover img {
  transform: scale(1.05);
}

.delicia-item h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* Menu Section */
.menu-section {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.menu-section a {
  font-size: 2.5rem;
  width: 100%;
  height: 100%;
  display: block;
  padding: 100px;
}

.menu-section:hover {
  background-color: #820507;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0rem;
  align-items: center;
}

.about-text {
  font-size: 1.5rem;
  text-align: center;
  position: relative;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  overflow: hidden;
  position: absolute;
  display: flex;
  right: 0;
  z-index: 0;
}
.about-image img {
  position: relative;
  max-width: 100%;
  top: 0;
  left: 50%;
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--footer-text);
  padding: 3rem 0 2rem;
  z-index: 2;
  position: relative;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 30px;
  height: 30px;
  filter: invert(92%) sepia(12%) saturate(655%) hue-rotate(332deg)
    brightness(97%) contrast(91%);
}

.contact-item p {
  font-size: 1rem;
}

.contact-item a {
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--gold);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    
.container {
    width: 90%;
}
  .hero-image {
    background-size: 250% 100%;
    background-position: -1000px 100%;
    filter: brightness(0.3);
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    padding: 2rem;
  }

  .nav-list.active {
    right: 0;
  }

  .hero-text {
    top: 25%;
    left: 25%;
    width: 50%;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h1 span {
    font-size: 2.5rem;
  }

  .delicias-grid {
    grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text h1 span {
    font-size: 2rem;
  }

  .delicias-section h2,
  .menu-section h2 {
    font-size: 2rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-image {
    background-size: 400% 100%;
    background-position: 60%;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h1 span {
    font-size: 1.8rem;
  }

  .logo-large {
    width: 60px;
  }

  .delicias-section h2 {
    font-size: 1.8rem;
  }
  .menu-section a {
    padding: 50px 0;
    font-size: 25px;
  }

  .delicias-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .delicia-img {
    height: 200px;
  }

  .about-section,
  .about-section > .container {
    width: 100%;
    padding: 24px 12px 0;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 550px;
  }

  .about-image {
    bottom: -20%;
    right: 20%;
    left: 20%;
  }

  .about-image img {
    left: 0;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}
