/* RESET & GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Spinnaker';
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.3px;
  color: #63667a;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.parent {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: auto 560px auto auto auto auto auto auto auto auto auto auto;
}

/* HEADER */

.div1 {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
}

.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  padding: 20px 40px;
  box-sizing: border-box;
}

.nav-container {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
}

.nav-container ul {
  grid-column: 3 / 10;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 20px;
  padding: 0;
}

.nav-container ul li a {
  color: white;
  text-decoration: none;
  font-family: 'Spinnaker';
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}

.nav-container ul li a:hover,
.nav-container ul li a:focus,
.nav-container ul li a:active {
  color: #cd9540;
  transition: color 0.3s ease;
}

.container-logo img {
  height: 80px;
}

/* ---------- SLIDER FIJO ----------*/

.slider-container {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  height: 560px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.fw-fade-slider-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  color: white;
  font-size: 90px;
  line-height: 1.2;
  font-family: 'Cormorant Garamond', serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
}

.fw-fade-slider-title.enter {
  opacity: 1;
}

/* ---------- CONTENIDO PRINCIPAL ----------*/

main {
  grid-column: 3 / 10;
  grid-row: 2 / 11;
  display: grid;
  gap: 24px;
  padding-top: 60px;
  padding-bottom: 250px;
}

/* TIPOGRAFÍAS */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #1e252d;
}

h2 {
  font-family: 'Spinnaker', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 26px;
  color: #cd9540;
  margin-top: 40px;
}

ul {
  padding-left: 20px;
}

a {
  color: #cd9540;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----------  BOTÓN FLOTANTE SCROLL  ----------*/

.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #cd9540;
  color: white;
  padding: 12px;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: none;
}

.scroll-to-top:hover {
  background-color: #a87b2f;
  transform: translateY(-4px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  display: block;
}


/* ---------- FOOTER ----------*/

.footer {
  grid-column: 1 / 12;
  grid-row: 11 / 12;
  background-color: #1e252d;
  color: #ffffff;
  padding: 60px 0px 30px;
  font-family: 'Spinnaker', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr); 
}

.footer-content {
  grid-column: 3 / 11;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  max-width: 100%;
}

.footer-content > div:first-child {
  grid-column: 1 / 13;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Cormorant Garamond';
  font-size: 20px;
  font-weight: 500;
  line-height: 34px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #cd9540;
}

.footer-contact,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links {
  font-family: "Spinnaker";
  font-size: 13px;
  text-transform: uppercase;
  line-height: 34px;
}

.footer-contact a,
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #cd9540;
}

.footer-bottom {
  grid-column: 1 / 12;
  grid-row: 12 / 13;
  display: grid;
  place-items: center;
  margin-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  color: #aaaaaa;
  text-align: center;
}

.footer-text {
font-size: 12px;
}

/* **¡MEDIA QUERY ** */

@media screen and (max-width: 768px) {
  .parent {
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: repeat(12, auto);
  }

h3 {
  font-size: 35px;
}

h4 {
  font-size: 50px;
  line-height: 60px;
}

h6 {
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- RESPONSIVE NAV MENU ----------*/

.main-header {
  position: static;
  width: 100%;
  margin: 20px 0;
  padding: 0;
  background-color: white;
  z-index: auto;
}

.nav-container {
  display: flex;
  justify-content: center;
}

.nav-container ul {
  margin: 0;
  padding: 0;
}

.nav-container ul li {
    display: none;
}

.nav-container ul li#logo {
  display: block;
  grid-column: 1 / -1;
  text-align: center;
  justify-self: center;
}

.container-logo img {
  height: 50px;
  display: block;
  margin: 0 auto;
}

/* ---------- RESPONSIVE SLIDER ----------*/

.slider-container {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  position: relative;
  z-index: 1;
  height: 30vh;
}

.slider-container img {
  height: 50vh;
}

.fw-fade-slider-title {
  font-size: 40px;
}

.fw-fade-slider-subtitle {
  font-size: 25px;
}

/* ---------- CONTENIDO ----------*/

main {
  grid-column: 3 / 10;
  grid-row: 3 / 11;
}

/* ---------- RESPONSIVE FOOTER ----------*/

.footer-content {
  display: block;
  text-align: center;
}

.footer-column-direccion,
.footer-column-politicas {
  width: 100%;
}

.footer-column-direccion {
  margin-bottom: 40px;
}

.footer-address br {
  display: none;
}

.footer-column-web {
  display: none;
}

.footer-address {
  font-size: 18px;
}

.footer-logo {
  max-width: 120px;
  margin: 0 auto;
}

.footer-address,
.footer-contact,
.footer-links {
  margin: 0 auto;
  padding: 0;
}

.footer-links li {
  margin: 0.5rem 0;
}

.footer-bottom {
  font-size: 10px;
}

}


@media screen and (min-width: 769px) and (max-width: 1024px) {
  .parent {
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: repeat(12, auto);
  }

  h3 {
    font-size: 40px;
  }

  h4 {
    font-size: 55px;
    line-height: 60px;
  }

  h6 {
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-container ul li {
    display: none;
  }

  .nav-container ul li#logo {
    display: block;
    grid-column: 1 / -1;
    text-align: center;
    justify-self: center;
  }

  .container-logo img {
    height: 65px;
    margin: 0 auto;
  }

  .fw-fade-slider-title {
    font-size: 48px;
    top: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fw-fade-slider-subtitle {
    font-size: 28px;
    top: 58%;
  }

  .carousel-wrapper {
    width: 100vw;
    height: 500px;
    overflow: hidden;
  }

  .carousel-item {
    flex: 0 0 100vw;
    height: 100%;
    object-fit: cover;
  }

  .breakfast-section {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    height: auto;
  }

  .breakfast-image {
    grid-column: 1 / 13;
    height: auto;
  }

  .breakfast-content {
    grid-column: 3 / 11;
    padding: 2rem;
    margin-top: 40px;
  }

  .localizacion-grid {
    flex-direction: column;
  }

  .localizacion-distancia {
    flex-direction: column-reverse;
  }

  .footer-content {
    display: block;
    text-align: center;
  }

  .footer-column-direccion {
    margin-bottom: 40px;
  }

  .footer-column-web {
    display: none;
  }

  .footer-address br {
    display: none;
  }
}