:root {
    --primary-color: #323c56;
    --secondary-color: #ecded1;
    --tertiary-color: #366c6a;
    --overlay-color: rgba(
        50,
        60,
        86,
        0.5
    ); /* Color primario con transparencia */
}

@font-face {
    font-family: 'axiforma';
    src: url('../font/Axiforma-SemiBold.woff2') format('woff2'),
         url('../font/Axiforma-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'axiforma-light';
    src: url('../font/Axiforma-Light.woff2') format('woff2'),
         url('../font/Axiforma-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Estilos para el swiper */
.seccion-inicio {
    position: relative;
    width: 100%;
    height: 70vh;
}

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

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Difumina ligeramente la imagen */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.swiper-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--secondary-color);
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.title {
    font-family: "axiforma", serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-family: "axiforma-light", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: "axiforma-light", sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Flechas de navegación */
.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
}

/* Puntos de paginación */
.swiper-pagination-bullet {
    background: var(--secondary-color);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
}

/* estadisticas */
.playfair-display {
    font-family: "axiforma", serif;
}

.montserrat {
    font-family: "axiforma-light", sans-serif;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-0.25rem);
}

.transition-all {
    transition: all 0.3s ease;
}

/* Usamos tus variables de color */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--secondary-color) !important;
}

/* Estilos específicos para los círculos */
.feature-circle {
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
}

@media (max-width: 768px) {
    .feature-circle {
        width: 120px;
        height: 120px;
    }
}

/* Sección Comodidad */
.diseno-moderno-section {
    background-color: var(--secondary-color);
    position: relative;
}

.diseno-moderno-section h2{
    font-size: 50px;
}

/* Texto superior */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Lista de características con iconos */
.descripcion-diseno {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
}

/* Botones redondeados como en tu diseño original */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: "axiforma-light", sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    font-family: "axiforma-light", sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: #2a344d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.disenoSwiper {
    height: 500px;
    border-radius: 16px !important;
}

.disenoSwiper .swiper-slide {
    position: relative;
}

.disenoSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 100%
    );
    color: white;
}

.disenoSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 10px;
    height: 10px;
}

.disenoSwiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.disenoSwiper .swiper-button-next,
.disenoSwiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.disenoSwiper .swiper-button-next:hover,
.disenoSwiper .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

.disenoSwiper .swiper-button-next::after,
.disenoSwiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sección Amenidades */
.amenidades-section {
    background-color: var(--secondary-color);
}

.amenidades-section h2 {
    font-size: 50px;
}

.descripcion-amenidades {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
}

.amenidadesSwiper {
    height: 500px;
    border-radius: 16px !important;
}

.amenidadesSwiper .swiper-slide {
    position: relative;
}

.amenidadesSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenidadesSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 10px;
    height: 10px;
}

.amenidadesSwiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.amenidadesSwiper .swiper-button-next,
.amenidadesSwiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.amenidadesSwiper .swiper-button-next:hover,
.amenidadesSwiper .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

.amenidadesSwiper .swiper-button-next::after,
.amenidadesSwiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Sección Tipologías Mejorada */
.tipologias-section {
    margin-top: -2rem;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    border-top-left-radius: 3rem !important;
    border-top-right-radius: 3rem !important;
}

.tipologias-section h2 {
    font-size: 50px;
}

.tipologias-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('{{ asset("img/patterns/dot-pattern.png") }}') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.divider {
    width: 80px;
    height: 2px;
    margin: 1.5rem auto;
}

.tipologia-card {
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: none;
    position: relative;
    overflow: hidden;
}

.tipologia-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tertiary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tipologia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tipologia-card:hover::after {
    transform: scaleX(1);
}

.icon-container {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tipologia-card:hover .icon-container {
    transform: scale(1.1);
}

.tipologia-col-linea {
    border-left: 2px solid var(--secondary-color);
}

.bg-primary-light {
    background-color: rgba(236, 222, 209, 0.2);
}

.cta-button-outline-light {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--secondary-color);
    font-family: "axiforma-light", sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.4s ease;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button-outline-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-button-outline-light:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button-outline-light:hover::before {
    width: 100%;
}

/* Ajustes responsive */
@media (max-width: 992px) {
    .tipologias-section {
        border-radius: 0 !important;
    }

    .tipologia-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Sección Ubicación Mejorada */
.ubicacion-section {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    margin-top: -2rem;
}

.ubicacion-section h2 {
    font-size: 50px;
}

.ubicacion-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('{{ asset("img/patterns/dot-pattern-light.png") }}')
        center/cover;
    opacity: 0.05;
    z-index: 0;
}

.divisor-ubicacion {
    border-top: 1.5px solid var(--secondary-color);
}

.contenedor-ubicacion {
    border: 2px solid var(--secondary-color);
    border-radius: 1.5rem;
    padding: 2rem;
}

.ubicacion-list {
    list-style: none;
    padding: 0;
}

.ubicacion-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.ubicacion-list li:hover {
    transform: translateX(5px);
    border-left: 2px solid var(--secondary-color);
}

.ubicacion-list i {
    transition: all 0.3s ease;
}

.ubicacion-list li:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.cta-button-outline-light {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--secondary-color);
    font-family: "axiforma-light", sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.4s ease;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.cta-button-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 992px) {
    .playfair-display.display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ubicacion-section {
        text-align: center;
    }

    .ubicacion-list {
        display: inline-block;
        text-align: left;
    }
}

/* Sección Contacto */
.contacto-section {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    margin-top: -2rem;
    border-top-left-radius: 3rem !important;
    border-top-right-radius: 3rem !important;
    z-index: 1; /* Asegura posición en el flujo */
}

.contacto-section h2 {
    font-size: 50px;
}

.contacto-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('{{ asset("img/patterns/texture-light.png") }}') center/cover;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none; /* ✅ Permite clics a través del fondo */
}

.contacto-info {
    border-left: 3px solid var(--primary-color);
}

.contacto-info a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.contacto-info a:hover {
    opacity: 1 !important;
    color: var(--primary-color);
}

.contacto-form {
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    position: relative;
    z-index: 2; /* ✅ Por encima del fondo */
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer !important;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.enlace-redes {
    cursor: pointer !important;
}

.enlace-redes:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.form-floating label {
    font-family: "axiforma-light", sans-serif;
    color: #6c757d;
}

.form-control {
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    font-family: "axiforma-light", sans-serif;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(50, 60, 86, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-family: "axiforma-light", sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2a344d;
    border-color: #2a344d;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .contacto-section .display-4 {
        font-size: 2.5rem;
    }

    .contacto-info {
        margin-bottom: 3rem !important;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        text-align: center;
    }

    .contacto-info div {
        justify-content: center;
    }

    .social-links {
        justify-content: center !important;
        margin-bottom: 2rem;
    }
}

/* Footer Mejorado */
.footer-section {
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.top-rounded-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5rem;
    background-color: var(--primary-color);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    z-index: -1;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: 100%;
    height: calc(100% - 1.5rem);
    background-color: var(--primary-color);
    z-index: -1;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-contact i {
    min-width: 20px;
}

.footer-divider {
    height: 1px;
    background-color: rgba(236, 222, 209, 0.2);
}

.hover-secondary {
    transition: all 0.3s ease;
    text-decoration: none;
}

.hover-secondary:hover {
    color: var(--secondary-color) !important;
    opacity: 1 !important;
}

.hover-white:hover {
    color: white !important;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-section {
        padding-top: 3rem;
    }
    
    .top-rounded-shape {
        height: 1rem;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
    
    .footer-section::before {
        top: 1rem;
        height: calc(100% - 1rem);
    }
}

@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* Estilos para ambos botones */
.scroll-top-btn,
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    right: 30px;
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Posicionamiento específico */
.scroll-top-btn {
    bottom: 30px;
    display: none; /* Oculto por defecto */
}

.whatsapp-float {
    bottom: 100px;
    text-decoration: none;
}

/* Efectos hover */
.scroll-top-btn:hover,
.whatsapp-float:hover {
    background-color: #2a5553;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

/* Mostrar botón de subir cuando se hace scroll */
.scroll-top-btn.visible {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-top-btn,
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        right: 20px;
    }
    
    .scroll-top-btn {
        bottom: 90px;
    }
    
    .whatsapp-float {
        bottom: 20px;
    }
}

/* Galería Doble Carrusel */
.galeria-doble-section {
    background-color: var(--secondary-color);
}

.galeria-doble-section h2 {
    font-size: 50px;
}

/* Estilos para ambos carruseles */
.galeria-unica {
    padding: 20px;
}

.galeria-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 280px; /* Altura fija para miniaturas */
}

.galeria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galeria-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(50,60,86,0.9) 0%, transparent 100%);
    padding: 20px;
    color: white;
}

/* Carrusel derecho (muestra 3 slides, gira a la derecha) */
.galeria-unica .swiper-slide {
    width: calc(100% / 3 - 20px);
    margin-right: 20px;
}

/* Botones de navegación */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #2a344d;
    transform: scale(1.1);
}

/* Fancybox personalización */
.fancybox__container {
    --fancybox-bg: rgba(50, 60, 86, 0.95);
}

.fancybox__toolbar {
    background: rgba(0,0,0,0.5);
}

.fancybox__caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 80px 20px 20px;
    text-align: center;
    font-family: 'axiforma-light', sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
    .galeria-unica .swiper-slide {
        width: calc(100% / 2 - 15px);
    }
    
    .galeria-card {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .galeria-unica .swiper-slide{
        width: 100%;
    }
    
    .galeria-doble-section .display-4 {
        font-size: 2.5rem;
    }
    
    .galeria-card {
        height: 220px;
    }
}

.line-primary-horizontal {
    border: 0.9px solid var(--primary-color);
}
.line-secondary-horizontal {
    border: 0.9px solid var(--secondary-color);
}