
/*
 * Stylesheet Documentation

 * This CSS file contains styling rules and configurations for the user interface.
 * It defines visual properties such as colors, layouts, typography, spacing,
 * and responsive design patterns used throughout the application.

 * Contents:
 * - Global styles and resets
 * - Component styles
 * - Layout utilities
 * - Color schemes and themes

 * Usage:
 * Import this stylesheet in your HTML file or main application entry point.
 * Ensure all selectors and classes are properly applied to relevant DOM elements.

 * Dependencies:
 * - None (standalone CSS file)

 * Browser Support:
 * - Modern browsers (Chrome, Firefox, Safari, Edge)

 * Author: [Mario Alberto Diaz Zetina]
*/

/* body */
body {
  background-color: #ffe6f8;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  width: 100%;
}

/* Main */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* main Header */
.main-header {
  background-image: url("/static/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid #ffd1f2;
  width: 100%;
  text-align: center;
  padding: 1rem 0;
}

/* navigation bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
  margin-top: 3rem;
  box-sizing: border-box;
  margin-right: 1rem;
}

/* logo */
.logo {
  flex: 0 0 auto;
  max-height: 125px;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  text-align: left;
  margin: 1rem;
}

/* navigation links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 1rem;
  padding: 0;
  font-weight: bold;
  flex: 1;
  flex-wrap: nowrap;
  margin-right: 1rem;
}

/* navigation links - list items */
.nav-links li {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

/* navigation links - anchor tags */
.nav-links li a {
  text-decoration: none;
  color: #6c2a6a;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* navigation links - hover effect */
.nav-links li a:hover {
  color: #f9c5ff;
}

/* call to action container */
.cta-container {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  margin-right: 1rem;
}

/* reservation button */
.btn-reserva {
  background-color: #fac8e9;
  color: #6c2a6a;
  padding: 1rem 1rem;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

/* reservation button - hover effect */
.btn-reserva:hover {
  background-color: #ffb2fb;
}

/* start */
.start {
  width: 100%;
  background-image: url("/static/images/Portada.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid #6c2a6a;
}

/* start overlay */
.start-overlay {
  padding: 2rem;
  border-radius: 15px;
  max-width: 100%;
}

/* start header text */
.start h1 {
  font-size: 4rem;
  color: #ffedfa;
  margin-bottom: 1rem;
}

/* start paragraph text */
.start p {
  font-size: 1.5rem;
  color: #ffedfa;
}

/* we are section */
.weare {
  padding: 4rem 2rem;
}

/* we are container */
.weare-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  gap: 2rem;
}

/* we are text */
.weare-text {
  flex: 1;
  text-align: center;
}

/* we are header text */
.weare-text h2 {
  border-bottom: 2px solid #6c2a6a;
  color: #6c2a6a;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

/* we are paragraph text */
.weare-text p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* we are image */
.weare-image {
  flex: 1;
  text-align: right;
}

/* we are image - img */
.weare-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}


/* services section */
.services {
  background-color: #ffedfa;
  padding: 3rem 1rem;
  width: 100%;
}

/* services header */
.services h2 {
  border-bottom: 2px solid #6c2a6a;
  color: #6c2a6a;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: left;
}

/* services container */
.services-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

/* service card */
.service {
  padding: 2rem;
  max-width: 300px;
  width: 100%;
  transition: transform 0.3s ease;
  position: relative;
  text-align: center;
  margin: 0 auto;
}

/* service card - hover effect */
.service:hover {
  transform: translateY(-5px);
}

/* service image */
.service img {
  width: 250px;
  height: auto;
  margin-bottom: 1rem;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

/* service header */
.service h3 {
  font-size: 1.5rem;
  color: #6c2a6a;
  margin-bottom: 1rem;
}

/* service link */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* service link - hover effect */
.service-link:hover .service {
  transform: translateY(-5px);
}

/* promo section */
.menu-services {
  position: relative;
}

/* submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffe6f8;
  border: 1px solid #ffd1f2;
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  z-index: 1000;
  min-width: 160px;
}

/* submenu links */
.submenu li a {
  color: #6c2a6a;
  text-decoration: none;
  display: block;
}

/* submenu links - hover effect */
.submenu li a:hover {
  background-color: #fac8e9;
  border-radius: 4px;
}

/* submenu display on hover */
.menu-services:hover .submenu {
  display: block;
}

/* submenu display*/
.menu-services:focus-within .submenu {
  display: block;
}

/* promo section */
.menu-promos {
  position: relative;
}

/* show submenu on hover */
.menu-promos:hover .submenu {
  display: block;
}

/* show submenu on focus for mobile */
.menu-promos:focus-within .submenu {
  display: block;
}

/* contact section menu */
.menu-contact {
  position: relative;
}

/* submenu list item padding */
.submenu li {
  padding: 0.5rem 1rem;
}

/* show submenu on hover */
.menu-contact:hover .submenu {
  display: block;
}

/* show submenu on focus for mobile */
.menu-contact:focus-within .submenu {
  display: block;
}

/* Promo section */
.promos {
  padding: 3rem 1rem;
  text-align: center;
}

/* promo section header */
.promos h2 {
  border-bottom: 2px solid #6c2a6a;
  color: #6c2a6a;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

/* promo cards container */
.promos-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  overflow: visible;
  position: relative
}

/* promo card */
.promo-card {
  border-radius: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  max-width: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
  will-change: transform;
  transform-origin: center center;
}

/* promo card - hover effect */
.promo-card:hover {
  transform: scale(2) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: #fff0f9;
  z-index: 100;
}

/* promo card image */
.promo-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* promo card header */
.promo-card h3 {
  font-size: 1.5rem;
  color: #6c2a6a;
  margin-bottom: 1rem;
}

/* promo card paragraph */
.promo-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

/* promo card price */
.price {
  font-size: 0.8rem;
  display: block;
  font-weight: bold;
  color: #6c2a6a;
  margin-bottom: 1rem;
}

/* promo card button */
.btn-promo {
  background-color: #fac8e9;
  color: #6c2a6a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* promo card button - hover effect */
.btn-promo:hover {
  background-color: #ffb2fb;
}

/* promo section - view more container */
.more-promos-container {
  margin-top: 2rem;
  text-align: center;
}

/* promo section - view more link */
.promos-link {
  background-color: #fac8e9;
  color: #6c2a6a;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

/* promo section - view more link hover effect */
.promos-link:hover {
  background-color: #ffb2fb;
}

/* location section */
.location {
  background-color: #ffedfa;
  padding: 3rem 1rem;
  text-align: center;
  width: 100%;
}

/* location section header */
.location h2 {
  border-bottom: 2px solid #6c2a6a;
  color: #6c2a6a;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: right;
}

/* location container */
.location-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
}

/* location text */
.location-text {
  flex: 1;
  font-size: 1.5rem;
  color: #333;
}

/*contact section */
.contact {
  padding: 3rem 1rem;
  text-align: center;
  color: #333;
}

/* contact section header */
.contact h2 {
  border-bottom: 2px solid #6c2a6a;
  color: #6c2a6a;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

/* contact section - social media icons container */
.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* contact section - social media links */
.iconos-redes a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* contact section - social media links hover effect */
.iconos-redes a:hover {
  transform: translateY(-5px);
  color: #d46fa3;
}

/* contact section - social media icons */
.iconos-redes img {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

/* contact section - social media icons hover effect */
.iconos-redes a:hover img {
  transform: scale(1.5);
}

/* phone media styles */
@media (max-width: 768px) {
  /* navigation bar */
  .navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0 1rem;
  }

  /* navigation links */
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    font-size: 0.85rem;
    flex-shrink: 1;
    margin: 0;
    padding: 0;
  }

  /* call to action container */
  .cta-container {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-right: 1rem;
  }

  /* reservation button */
  .btn-reserva {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* we are container */
  .iconos-redes {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* footer */
  footer {
    background-color: #ffedfa;
    padding: 1.5rem;
    text-align: center;
    color: #6c2a6a;
    border-top: 2px solid #ffd1f2;
  }

  /* footer paragraph */
  footer p {
    margin: 0;
    font-size: 1rem;
  }

  /* menu services */
  .menu-services {
    position: relative;
  }

  /* submenu */
  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffe6f8;
    border: 1px solid #ffd1f2;
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1000;
    min-width: 160px;
  }

  /* submenu list item padding */
  .submenu li {
    padding: 0.5rem 1rem;
  }

  /* submenu links */
  .submenu li a {
    color: #6c2a6a;
    text-decoration: none;
    display: block;
  }

  /* submenu links - hover effect */
  .submenu li a:hover {
    background-color: #fac8e9;
    border-radius: 4px;
  }

  /* show submenu on hover */
  .menu-services:hover .submenu {
    display: block;
  }

  /* show submenu on focus for mobile */
  .menu-services:focus-within .submenu {
    display: block;
  }

  /* menu promos */
  .menu-promos {
    position: relative;
  }

  /* show submenu on hover */
  .menu-promos:hover .submenu {
    display: block;
  }

  /* show submenu on focus for mobile */
  .menu-promos:focus-within .submenu {
    display: block;
  }

  /* menu contact */
  .menu-contact {
    position: relative;
  }

  /* show submenu on hover */
  .menu-contact:hover .submenu {
    display: block;
  }

  /* show submenu on focus for mobile */
  .menu-contact:focus-within .submenu {
    display: block;
  }

  /* promo card section */
  .promo-card {
    max-width: 100%;
    text-align: center;
  }

  /* promo card image */
  .promo-card img {
    max-width: 90%;
    border-radius: 6px;
  }

  /* promo card header */
  .promo-card h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  /* btn promo */
  .btn-promo {
    font-size: 1rem;
    padding: 10px 16px;
    display: block;
    margin: 1rem auto 0 auto;
    text-align: center;
  }

 /* start section */
  .start {
    padding: 2rem 1rem;
  }

  /* start header */
  .start h1 {
    font-size: 1.2rem;
  }

  /* start paragraph */
  .start p {
    font-size: 0.5rem;
  }

  /* we are container */
  .weare-container {
    flex-direction: column;
    text-align: center;
  }

  /* we are text */
  .weare-text {
    text-align: center;
  }

  /* we are image */
  .weare-image {
    text-align: center;
    margin-top: 1.5rem;
  }

  /*services container */
  .services-container {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  /* service */
  .service {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
    background-color: #fff0f9;
    border-radius: 12px;
    margin: 0 auto;
    text-align: center;
  }

  /* service image */
  .service img {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  /* service header */
  .service h3 {
    text-align: center;
  }

  /*promos container */
  .promos-container {
    flex-direction: column;
    align-items: center;
  }

  /* location container */
  .location-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

}
