/* Old World Door | Shared luxury palette */
:root {
  --owd-carbon: #252522;
  --owd-carbon-soft: #393630;
  --owd-champagne: #E8DCC8;
  --owd-champagne-light: #F6F1E8;
  --owd-copper: #A56B49;
  --owd-copper-dark: #845038;
  --owd-gold: #B49A6C;
  --owd-wood: #80634D;
  --owd-ivory: #FBF8F2;
  --owd-border: #DCD0BF;
  --owd-shadow: 0 12px 32px rgba(37, 37, 34, .09);
}

/* Inician Styles of cover page */
.cover-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--owd-ivory);
  opacity: 0.2;
  transform: translateY(-20px);
  animation: fadeIn 1s ease-in-out forwards;
}

.cover-container img {
  display: block;
  width: 100%;
  height: clamp(280px, 45vh, 650px);
  object-fit: cover;
}

.title-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(20px, 4vw, 70px);
  text-align: left;
  color: var(--owd-ivory);
  background: linear-gradient(to top, rgba(20,20,19,.78), rgba(20,20,19,.24) 55%, transparent);
}

.title-container h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  line-height: 1.1;
  letter-spacing: .025em;
  color: var(--owd-ivory);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.title-container p {
  margin: .6em 0 0;
  font-size: clamp(.95rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  max-width: 65ch;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.fondo-color { background-color: rgba(0,0,0,.35); }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .cover-container img { height: clamp(260px, 38vh, 440px); }
  .title-container { padding: 20px 18px 24px; }
  .title-container h1 { font-size: clamp(1.6rem, 7vw, 2.5rem); letter-spacing: .01em; }
  .title-container p { font-size: clamp(.9rem, 3.6vw, 1.1rem); margin-top: .45em; }
}

/* Terminan Styles cover page */

.advises-button {
    position: absolute;
    bottom: 1em;
    right: 2em;
    background: rgba(244, 165, 96, 0);
    color: lightgoldenrodyellow;
    border-radius: 25px;
    padding: 10px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    background: #0000008a;
}

.advises-button:hover {
    filter: brightness(125%);
    }

.modal-advises {
    display: none;
    position: fixed;
    top: 2em;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    }

.modal-advises-content {
    width: 90%;
    background: var(--owd-ivory);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    height: auto;
    max-height: 600px;
    text-align: center;
    overflow: auto;
    opacity: 0.5;
    transform: translateY(-20px);
    animation: fadeIn 1s ease-in-out forwards;            
    }

.modal-advises-content p {
    text-align: justify;
    }

.modal-advises-content h2 {
    margin-top: 20px;
    color: var(--owd-copper);
    text-align: center;
    }

.close-modal-advises {
    position: absolute;    
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--owd-copper);
    font-size: x-large;
    cursor: pointer;
    display: flex;
    justify-content: center;    
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    }

.close-modal-advises:hover {
    color: var(--owd-copper-dark);
    background-color: lightgray;
}

  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--owd-ivory);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 10px;
  }
  
.gallery-item h2 {
  font-size: medium;
  padding-top: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
      
.gallery .gallery-item img {
  width: 100%;
  height: 250px;
  margin-top: 10px;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 0;
}
  
.gallery .gallery-item:hover img {
  /*filter: grayscale(50%);*/
  filter: brightness(115%);
  transition: all 0.3s ease-in-out 0s;
  transform: scale(1.1);
  overflow: hidden;
  cursor: pointer;
}

#modalTitle {
  text-align: center;
  position: absolute;
  z-index: 1;
  bottom: 5em;
  left: 0;
  width: fit-content;
  color: #fff;
  font-size: medium;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.795);
  right: 0;
  border-radius: 5px;
  margin: auto;
  }

@media (max-width: 768px) {
.gallery {
  padding: 5px; 
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}

.title-container h1 {
  font-size: 2.5em;
}

}
/* Terminan Styles Modal */
  
  /*Inician Styles para Container more choices */
    .container-more-choices {
      max-width: 1300px;
      left: 0;
      right: 0;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 20px;
      padding-bottom: 10px;
      background-color: var(--owd-champagne-light);
    }
  
    .image-button {
      position: relative;
      margin: 10px;
      overflow: hidden;
      cursor: pointer;
    }
  
    .image-button img {
      width: 300px;
      height: 150px;
      overflow: hidden;
      object-fit: contain;
      transition: transform 0.3s ease;
    }
      .image-button:hover img {
      transition: 0.3s;
      filter: brightness(1.2);
      filter: sepia(50%);
      }
  
    .image-button .text {
      position: absolute;
      display: flex;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 10px;
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      font-weight: bold;
      justify-content: center;
      align-items: center;
      transition: bottom 0.3s ease;
      text-decoration: none;
    }
  
    .image-button:hover .text {
      text-decoration: none;
    }
  /* Terminan Styles More Choices */
  
  /* Inician Styles container-categories */
    .container-categories {
      width: auto;
      margin: 1em;
      padding: 1em;
      background: var(--owd-ivory);
    }

    .slick-next:before, .slick-prev:before {
    color: var(--owd-copper) !important;
    font-size: xx-large !important;
    margin-left: -5px;    
    }

    .swiper-button-next, .swiper-button-prev {
    transition: 0.3s;
    color: black !important;
    background: rgba(255, 255, 255, 0.527);
    top: 5em !important;
    padding: 30px !important;
    border-radius: 50%;
    }
    
/*
.swiper-pagination-bullet {
  background: #999 !important;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #000 !important;
}
*/

/* ===== Links ===== */
.interest-item a {
  text-decoration: none;
}
/* Terminan styles Interest*/

/* Style for individual category items */
    .interest-item {
      padding: 10px;
      text-align: center;
      transition: 0.3s;
      margin-bottom: 1.5em;
    }
  
    .interest-item img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      object-fit: cover;
      transition: transform 0.3s ease;
    }
  
    .interest-item h3 {
      margin-top: 10px;
      font-size: 18px;
      text-align: center;
      color: var(--owd-carbon);
    }
  
.interest-item:hover img {
      transform: scale(1.05);
    }

    .interest-item a {
      text-decoration: none;
    }
  
  @media (max-width: 768px) {
    .interest-item img {
      padding: 5px;
      width: 125px;
      height: 125px;
    }

    .container-categories {
      margin: 0;
      padding: 5px;
    }

  }
  /*Terminan Styles Interest Categories */
  
  /* Inician Styles Modal touch slider zoom */

.mymodal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      margin: auto;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
    }

#zoomImage img {
  width: 100vw;
  height: auto;
  transition: transform 0.3s ease-in-out;
  cursor: zoom-in;  
}

.mymodal-close {
      position: absolute;
      z-index: 1;      
      top: 1em;
      left: 1em;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 20px;
      cursor: pointer;
      background-color: rgba(102, 102, 102, 0.845);
      color: white;
      border: none;
      border-radius: 50%;
      padding: 5px;
      width: 40px;
      height: 40px;
      text-align: center;   
    }

    .mymodal-close:hover, #playPauseBtn:hover {
      filter: brightness(150%);
    }

    .mymodal-arrow {
      font-family: Arial, Helvetica, sans-serif;
      user-select: none;
      position: absolute;
      z-index: 1;
      top: 50%;
      width: auto;
      margin-top: -30px;
      padding: 16px;
      color: white;
      font-size: 20px;
      cursor: pointer;
      background-color: #333333ba;
      border: none;
      border-radius: 4px;
      transition: background-color 0.3s;
    }

    .mymodal-prev {
      left: 10px;
    }

    .mymodal-next {
      right: 10px;
    }

.mymodal-content {
  max-width: 100vw;
  margin: auto; 
  }
    

a {
  text-decoration: none;
}


@media (max-width: 768px) {
  #modalTitle {
  left: 0;
  right: 0;
  margin: auto;
  font-size: large;
}

.mymodal-arrow {
  display: none;
  }

  .mymodal-content {
  max-width: 100vw;
  padding: 10px;
  }

  .mymodal {
  padding: 0;
  }

}

#playPauseBtn {
    position: absolute;
    z-index: 1;
    top: 1em;   
    right: 20px;
    width: 50px;
    height: 50px;
    color: white;
    background-color: var(--owd-copper);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}

/* Terminan Styles modal sliderzoom */

/* Refinamientos luxury: mantener la superficie champagne uniforme */
html, body {
  background: var(--owd-champagne);
  color: var(--owd-carbon);
}


.gallery-item {
  background: var(--owd-ivory);
  border: 1px solid var(--owd-border);
  box-shadow: var(--owd-shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--owd-gold);
  box-shadow: 0 16px 36px rgba(37,37,34,.14);
}
.gallery-item h2, .interest-item h3 { color: var(--owd-carbon); }
.gallery .gallery-item:hover img { filter: sepia(.12) brightness(1.03); transform: scale(1.045); }
.interest-item img { border: 2px solid var(--owd-border); }
.interest-item:hover img { border-color: var(--owd-copper); }
.image-button .text {
  background: linear-gradient(0deg, rgba(37,37,34,.88), rgba(37,37,34,.52));
  color: var(--owd-ivory);
}
.image-button:hover img { filter: sepia(.28) brightness(1.04); }
.modal-advises-content {
  background: var(--owd-ivory);
  color: var(--owd-carbon);
  border: 1px solid var(--owd-border);
  box-shadow: 0 24px 65px rgba(0,0,0,.24);
}
.modal-advises-content h2, .close-modal-advises { color: var(--owd-copper); }
.close-modal-advises:hover { color: var(--owd-copper-dark); background: var(--owd-champagne); }
.advises-button { background: rgba(37,37,34,.82); color: var(--owd-ivory); border: 1px solid rgba(232,220,200,.45); }
.advises-button:hover { background: var(--owd-copper-dark); }

.slick-next:before, .slick-prev:before { color: var(--owd-copper) !important; }
.swiper-button-next, .swiper-button-prev {
  color: var(--owd-carbon) !important;
  background: rgba(246,241,232,.88);
}
#modalTitle { background: rgba(37,37,34,.9); color: var(--owd-ivory); }
.mymodal-close, .mymodal-arrow { background-color: rgba(37,37,34,.82); color: var(--owd-ivory); }
#playPauseBtn { background-color: var(--owd-copper); color: var(--owd-ivory); }
