

:root {
    --dark-blue: #003C5F;
    --foam-blue: #CBE8F1;
    --sand-beige: #F4EFE6;
    --soft-gold: #C7A86F;
    --elegant-black: #111111;
    --white: #FFFFFF;
    --text-primary: var(--elegant-black);
}

/* Base Global y Tipografía */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-primary);
    background-color: var(--sand-beige);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
    
}

/* Tipografías específicas */
.serif {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    
}
/*nav menu principal*/

.top-nav {
    position: absolute; /* Para que flote sobre la imagen del hero */
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente oscuro */
    z-index: 20; /* Asegura que esté por encima de la capa de fondo del hero */
    display: flex;
    justify-content: center; /
}


.top-nav .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    margin-left: 25px; 
    transition: color 0.5s;
}

.top-nav .nav-links a:hover {
    color: var(--soft-gold);
}

/* Estilo especial para el enlace de WhatsApp */
.nav-link-whatsapp {
    font-weight: bold !important;
    color: #25d366 !important; /* Color verde de WhatsApp para destacarlo */
}

/* Ajuste al footer para centrar el copyright */
.footer-content.centered-copyright {
    display: flex;
    justify-content: center; /* Centra la sección Legal */
    max-width: 100%;
}

.footer-content.centered-copyright .footer-section {
    text-align: center;
}
/* Utilidades y Secciones */
.section-padding {
    padding: 80px 30px; /* Más padding en escritorio */
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.bg-beige { background-color: var(--sand-beige); }
.bg-white { background-color: var(--white); }
.bg-dark-blue { background-color: var(--dark-blue); color: var(--white); }
.color-dark-blue { color: var(--dark-blue); }

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    background: url('/assets/img/genericas/satelitar_mar.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); 
}

.hero-content {
    z-index: 10;
    color: var(--white);
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem; 
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Botón CTA (Dorado suave) */
.cta-button {
    display: inline-block;
    background-color: var(--soft-gold); 
    color: var(--dark-blue);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #d8c393; 
    transform: translateY(-2px);
}

/* --- WHY CHOOSE US  --- */
.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0, 60, 95, 0.1); 
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 60, 95, 0.2);
    background-color: #d8c393;
}

.card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- GALLERY HIGHLIGHT  --- */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    border: 3px solid transparent; 
    transition: border-color 0.3s;
}

.gallery-item img:hover {
    border-color: var(--soft-gold); 
}

.secondary-button {
    background-color: var(--dark-blue);
    color: var(--white);
    border: 2px solid var(--soft-gold);
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.secondary-button:hover {
    background-color: var(--soft-gold);
    color: var(--dark-blue);
}

/* --- FEATURES / CHECKLIST --- */
.checklist-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.checklist-container ul {
    list-style: none;
}

.checklist-container li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.check-icon {
    color: var(--soft-gold); 
    font-size: 1.3rem;
    margin-right: 10px;
    font-weight: bold;
}

/* --- FOOTER --- */





/* --- CHATBOT FLOTANTE (WhatsApp) --- */
.whatsapp-float {
    position: fixed; 
    width: 60px;
    height: 60px;
    bottom: 40px; 
    right: 40px;
    /* Estilos */
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; 
}


.whatsapp-float img {
    width: 100%; 
    height: 100%;
    
    padding: 10px; 
    box-sizing: border-box;
}


.whatsapp-float:hover {
    background-color: #128C7E; 
    transform: scale(1.05); 
}

body .depto1 {
  display: flex;
  justify-content: center; 
  gap: 12px;               
  flex-wrap: wrap;        
  margin: 1.5rem 0 4rem 0;
}

.botom {
  flex: 1 1 120px; 
  max-width: 200px; 
  padding: 10px 20px;
  font-size: 1rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: white;
  background-color: var(--dark-blue); 
  border: 2px solid var(--dark-blue); 
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  margin-bottom: 40px; 
  display: inline-block; 

}



.botom:hover {
  background-color: #e4d5b7;
  color: #0c3c78;
}



  

/* --- GALERÍA  --- */
.page-content {
    min-height: 80vh;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 30px;
    text-align: center;
}

.gallery-section {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--soft-gold);
    padding-bottom: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.gold-border {
    border: 5px solid var(--soft-gold) !important; 
}

/* --- FAQ (faq.html) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--soft-gold);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 60, 95, 0.05);
}

.accordion-header {
    background-color: var(--foam-blue); 
    color: var(--dark-blue);
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover, .accordion-header[aria-expanded="true"] {
    background-color: #bcd4dc; 
}

.accordion-content {
    padding: 0 25px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
    padding: 15px 0;
    color: var(--elegant-black);
}

.accordion-content.active {
    max-height: 500px; 
    padding-top: 15px;
    padding-bottom: 15px;
}


.content-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.content-2-col.reverse-col {
    grid-template-areas: "a b"; 
}

.content-2-col.reverse-col > div:nth-child(1) {
    grid-area: a;
}

.content-2-col.reverse-col > div:nth-child(2) {
    grid-area: b;
}

.image-box {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.image-box.gold-border {
    border: 5px solid var(--soft-gold);
}

.comodidades-list {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.comodidades-list ul {
    list-style: none;
    padding: 0;
}

.comodidades-list li {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--dark-blue);
    display: flex;
    align-items: flex-start;
}

.comodidades-list li span {
    font-size: 1.5rem;
    margin-right: 15px;
}

.content-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.target-card {
    padding: 25px;
    border: 1px solid var(--foam-blue);
    border-radius: 8px;
    background-color: var(--sand-beige);
    transition: background-color 0.3s;
}

.target-card:hover {
    background-color: var(--foam-blue);
}

.target-card h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- NAVEGACIÓN SIMPLE PARA SUBPÁGINAS  */

.simple-nav {
    display: flex;
    justify-content: center;
    padding: 15px 30px;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.simple-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.simple-nav a:hover {
    background-color: var(--soft-gold); 
    color: var(--dark-blue);
}

.nav-link-home {
    background-color: var(--soft-gold) !important;
    color: var(--dark-blue) !important;
    font-weight: bold;
    padding: 8px 15px;
}

.nav-link-home:hover {
    background-color: #d8c393 !important; 
}

/* Para la navegación de la galería  */
.gallery-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.gallery-nav .nav-link {
    color: var(--dark-blue);
    border: 1px solid var(--soft-gold);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.gallery-nav .nav-link:hover {
    background-color: var(--foam-blue);
}
.depto-grid {
    display: grid;
    grid-template-columns: repeat(10,1fr); 
    grid-template-rows: auto auto; 
    row-gap: 50px;
    column-gap: 20px;
    max-width: 1200px; 
    margin: 0 auto; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra elegante */
}

.grid-item.desc-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: left;
}

.grid-item.desc-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--soft-gold); 
}
.serif{
    text-align: center;
}

/* --- FILA 1 (MAR): 60% Carrusel | 40% Descripción --- */

.depto-grid .grid-item:nth-child(1) {
  
    grid-column: 7 / 11; 
    grid-row: 1 / 2;
}

.depto-grid .grid-item:nth-child(2) { 
    grid-column: 1 / 7; 
    grid-row: 1 / 2;
}
/* --- FILA 2 (ARENA): 40% Descripción | 60% Carrusel --- */

.depto-grid .grid-item:nth-child(3) { 
   
    grid-column: 1 / 5; 
    grid-row: 2 / 3;
}

.depto-grid .grid-item:nth-child(4) { 
    grid-column: 5 / 11; 
    grid-row: 2 / 3;
}

.carousel-box {
    height: 400px; 
    overflow: hidden; 
}

.swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.swiper-button-prev,
.swiper-button-next {
    color: var(--white) !important; 
    z-index: 10;
    font-size: 20px !important; 
}

/*.depto1-2{
    display: flex;
    justify-content: center; 
    gap: 30px; 
    background-color: transparent; 
    padding: 20px 0;
    margin: 40px auto;
    border-top: 3px solid var(--dark-blue);width: 80%;
    border-bottom: 3px solid var(--dark-blue);width: 80%;
    margin: 40px auto 40px auto;
    padding-bottom: 60px; 
}

.depto1-2 .cta-buttom { 
    
    min-width: 180px; 
    padding: 15px 30px; 
    font-size: 1.1rem; 
    font-weight: 700; 
    background-color: var(--dark-blue); 
    color: var(--white);
    border: none;
    border-radius: 8px; 
    text-decoration: none;
    transition: background-color 0.3s;
}

.depto1-2 .cta-buttom:hover {
    background-color: var(--soft-gold); 
    color: var(--dark-blue);
}

h1 {
  color: #0c3c78;
  margin-bottom: 1rem;
}*/

.swiper {
  width: 100%;
  max-width: 700px;
  height: 400px;
  margin: 0 auto 2rem auto;
}

.swiper-slide {
  background: #fff;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
  overflow: hidden;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  pointer-events: none;
  user-select: none;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #0c3c78;
  font-weight: 600;
  border: 2px solid #0c3c78;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.back-link:hover {
  background-color: #0c3c78;
  color: white;
}


/* Ajuste al footer para centrar el copyright */
.main-footer {
    padding: 40px 30px;
}



.footer-section h4 {
    color: var(--soft-gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-content.centered-copyright {
    display: flex;
    justify-content: center; /* Centra la sección Legal */
    max-width: 100%;
}

.footer-content.centered-copyright .footer-section {
    text-align: center;
}


/* MEDIA QUERIES - OPTIMIZACIÓN MÓVIL       */


@media (max-width: 768px) {
    body{padding: 0;}
    
    .section-padding {
        padding: 40px 5%; 
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    .image-box {
    height: 245px;
    max-width: 100%;
  }
  .content-2-col.reverse-col {
    flex-direction: column;
    gap: 15px;
  }


.content-2-col.reverse-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
}

.content-2-col.reverse-col > div {
  flex: 1;
  min-width: 0;
}

   
    .hero-content h1 {
        font-size: 2.5rem; 
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

   
    .cards-container {
        flex-direction: column; /* Apila las cards verticalmente */
        gap: 20px;
    }

    .highlight-grid {
        grid-template-columns: 1fr; 
    }

    .gallery-item img {
        height: 250px;
    }

   
    .checklist-container {
        flex-direction: column; 
        gap: 20px;
    }
    
    /* --- FOOTER --- */
   .footer-content {
        max-width: 100%; 
        padding: 0 15px; 
    }
   
    .gallery-grid {
        grid-template-columns: 1fr; 
    }
    
    
    .content-2-col {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    
    .content-2-col.reverse-col {
       
        grid-template-areas: none; 
        flex-direction: column-reverse; 
    }
    
    .content-3-col {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .comodidades-list {
        flex-direction: column; 
        gap: 20px;
    }

    .depto-grid {
        grid-template-columns: 1fr; /* Una sola columna al 100% */
        column-gap: 0;
        grid-template-rows: auto;
        box-shadow: none;
    }
    .depto-grid .grid-item:nth-child(1),
    .depto-grid .grid-item:nth-child(2),
    .depto-grid .grid-item:nth-child(3),
    .depto-grid .grid-item:nth-child(4) {
        grid-column: auto; 
        grid-row: auto;    
    }
}

