:root {
    --gray-title: #4a4a4a;
    --gray-text: #6c757d;
    --white: #ffffff;
}

/* =====================
   BASE
===================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PT Serif', serif;
    margin: 0;
}

.btn-lg{
    padding: 14px 38px;
    font-size: 1.2rem;
}

/* Hint flotante para indicar interacción 360 */
.panorama-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    z-index: 10;
    pointer-events: none; /* no bloquea la interacción */
    animation: floatHint 2s ease-in-out infinite;
}

@keyframes floatHint {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.panorama-hint img {
    width: 24px;
    height: 24px;
}

/* Cursor interactivo para panorama */
#golf-section #panorama1,
#panorama1 {
    cursor: grab;
}

    #panorama1:active {
        cursor: grabbing;
    }

/* =====================
   FONTS
===================== */

@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/Blackney-Regular-Exfont72dc.woff2') format('woff2'), url('../fonts/Blackney-Regular-Exfont72dc.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/Blackney-Bold-Exfont9845.woff2') format('woff2'), url('../fonts/Blackney-Bold-Exfont9845.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* =====================
   WHATSAPP
===================== */

ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: transform 0.25s ease;
}

    .whatsapp-float img {
        width: 60px;
        height: auto;
        display: block;
    }

    .whatsapp-float:hover {
        transform: scale(1.08);
    }

/* =====================
   NAVBAR
===================== */

.custom-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.logo-navbar {
    height: 60px;
    width: auto;
}

.custom-navbar .navbar-nav {
    display: flex;
    align-items: center;
}

.custom-navbar .nav-item {
    display: flex;
    align-items: center;
}

/* Links */
.custom-navbar .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    color: #365136 !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: none;
    border: none;
}

    /* Hover elegante */
    .custom-navbar .nav-link:hover {
        background-color: #f2f2f2;
        border-radius: 4px;
    }

/* =====================
   SOCIAL ICONS
===================== */

.social-link {
    padding: 0 8px;
    height: 44px;
    display: flex;
    align-items: center;
}

.social-icon {
    width: 22px;
    height: 22px;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    .social-icon:hover {
        opacity: 0.7;
        transform: scale(1.05);
    }

/* =====================
   CONTACTO
===================== */

.custom-navbar .nav-item:last-child .nav-link {
    padding: 0 16px;
    letter-spacing: 2px;
    font-size: 0.9rem;
}


/* OVERLAY PROMO */
#promoOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.promo-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

    .promo-content img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        display: block;
    }


/* Botón cerrar */
.promo-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 38px;
    cursor: pointer;
}

    .promo-close:hover {
        background: #333;
    }


/* =====================
   HERO
===================== */

.hero-section {
    position: relative; /* CLAVE */
    min-height: 100svh;
    background-color: #000; /* fallback */
    background-image: url('../img/fondointro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}



.logo-intro {
    display: block;
    margin: 2.9rem auto 0 auto;
    height: 400px;
    width: auto;
}



.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.9rem;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 4px; 
}
.hero-subtitle2 {
    font-size: 1.9rem;
    letter-spacing: 4px;
    font-weight: 700;
    margin-top:0px;
}


.hero-text-box p{
    margin: 0;
}
.hero-text-box{
    display: inline-block;
    padding: 10px 20px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-radius: 12px;
}



/* =====================
   TEXT STYLES
===================== */

.section-title {
    font-weight: 700;
    color: var(--gray-title);
}

.section-text {
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--gray-text);
    margin-bottom: 1.2rem;
}


.section-title-white {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 50px;
    margin-bottom: 10px;
    color: #fff;
}

.section-text-white {
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 45px;
    color: #fff;
}

.features-section .section-text {
    text-align: center;
    letter-spacing: 1.5px;
}


/* =====================
   CAROUSEL
===================== */

/* Imagen base */
.carousel-item img {
    height: 420px;
    object-fit: cover;
    border-radius: 0px;
}

/* Indicadores */
.carousel-indicators [data-bs-target] {
    background-color: #333;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Flechas */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* FULL WIDTH (se conserva por si lo usas en otro lado) */
.carousel-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

    .carousel-full .carousel-item img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

/* CAPTION */
.carousel-caption-custom {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 0;
    z-index: 3;
}

/* Caja del texto */
.carousel-box {
    background: rgba(0, 0, 0, 0.55);
    padding: 14px 18px;
    max-width: 360px;
    border-radius: 0px;
}

    /* Título */
    .carousel-box h2 {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }

    /* Texto */
    .carousel-box p {
        font-size: 14px;
        line-height: 1.3;
        margin: 0;
    }


.carousel-item .card {
    flex: 1 0 23%; /* 4 por renglón, deja margen entre ellas */
}

    .carousel-item .card img {
        height: 180px;
        object-fit: cover;
    }

@media (max-width: 992px) {
    .carousel-item .card {
        flex: 1 0 48%; /* tablet: 2 por renglón */
    }
}

@media (max-width: 576px) {
    .carousel-item .card {
        flex: 1 0 100%; /* móvil: 1 por renglón */
    }
}

/* =====================
   SCROLL ANIM
===================== */

.scroll-anim {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

    .scroll-anim.show {
        opacity: 1;
        transform: translateY(0);
    }

/* =====================
   GOLF SECTION
===================== */

.golf-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

#panorama1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.golf-section .container {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.golf-box {
    background: rgba(0, 0, 0, 0.55);
    padding: 40px 50px;
    max-width: 600px;
    pointer-events: none;
}

/* =====================
   AMENIDADES
===================== */

.section-header {
    text-align: center;
    margin-bottom: 0px;
}

.header-image img {
    width: 100%;
    height: auto;
    display: block;
}

.header-title .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-top: 20px;
}

.section-header {
    background-color: #e9e9e9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-title .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.amenities-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en desktop */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.amenity-item {
    text-align: center;
}

    .amenity-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 0; /* recto */
    }

    .amenity-item h3 {
        margin-top: 10px;
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

/* =====================
   ICONS
===================== */
.icon-anim {
    width: 100px;
    margin: 0 auto;
    display: block;
}

/* =====================
   STATS SECTION
===================== */

.stats-section {
    background-color: #e9e9e9;
}


.counter-box {
    padding: 20px 10px;
}

.counter {
    display: block;
    font-family: 'PT Serif';
    font-size: 56px;
    font-weight: 700;
    color: var(--gray-title);
    line-height: 1;
}

.counter-label {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-text);
}

.counter-wrap {
    display: inline-flex;
    align-items: baseline; 
}


.counter-unit {
    font-size: 1.1rem;
    margin-left: 6px;
    color: var(--gray-title);
    font-weight: 600;
}

.lote-item img {
    max-height: 180px;
    object-fit: contain;
}

.lote-item .counter {
    font-size: 1.1rem;
    font-weight: 600;
}

.lote-label {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    font-weight: 700;
}




/* =====================
   FOOTER
===================== */

.footer {
    background: #555;
}

/* Imagen de fondo para hero arriba de amenidades */
.amenidades-hero {
    position: relative;
    width: 100%;
    height: 650px; /* ajusta la altura a tu gusto */
    background: url('../img/divisor.jpeg') no-repeat center top;
    background-size: cover;
}

    /* Overlay difuminado para la transición al carrusel */
    .amenidades-hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80%; /* altura del degradado en la parte superior */
        background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    }

.amenidades-title {
    position: absolute;
    top: 20px; /* ajusta según necesites */
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    font-weight: 700;
    z-index: 2; /* que esté sobre el degradado */
    text-align: center;
}


.amenidades-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.amenidades-swiper .card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.amenidades-swiper .card-img-top {
    object-fit: cover;
    height: 200px;
}

.swiper-button-prev,
.swiper-button-next {
    color: #333;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 */
    position: relative;
    height: 0;
}

    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
.atractivos-title {
    margin-bottom: 1.2rem;
}


.form-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

    .form-msg.show {
        opacity: 1;
        transform: translateY(0);
    }

    .form-msg.success {
        color: #3f5337; /* verde secundario */
    }

    .form-msg.error {
        color: #a94442;
    }

/* =====================
   RESPONSIVE (MOBILE)
===================== */

/* Tamaño de letra del menú (desktop) */
@media (min-width: 992px) {
    .custom-navbar .nav-link {
        font-size: 4rem;
        letter-spacing: 0.4px;
        font-weight: 600;
    }

    .amenities-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 768px) {

    .atractivos-section {
        padding-top: 0.5rem !important;
    }

    /* Navbar */
    .logo-navbar {
        height: 45px;
    }

    .custom-navbar .navbar-nav {
        gap: 12px;
    }

    .social-link {
        justify-content: center;
        padding: 6px 0;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .custom-navbar .nav-link {
        padding: 10px 0;
    }
    /* Hero */
    .logo-intro {
        height: 180px;
    }

    .hero-subtitle {
        font-size: 1.0rem;
        letter-spacing: 1.1px;
    }
    
.hero-subtitle2 {
    font-size: 1.0rem;
    letter-spacing: 1.1px;
    
}

    /* Text */
    .section-title {
        font-size: 22px;
    }

    .section-text {
        font-size: 15px;
    }

    .section-title-white {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .section-text-white {
        font-size: 18px;
    }

    /* Carousel */
    .carousel-item img {
        height: 260px;
    }

    .carousel-caption-custom {
        left: 10px;
        bottom: 10px;
    }

    .carousel-box {
        padding: 10px 14px;
        max-width: 90%;
    }

        .carousel-box h2 {
            font-size: 16px;
        }

        .carousel-box p {
            font-size: 12px;
        }

    .row.align-items-center > .col-md-6:first-child {
        margin-bottom: 24px;
    }
    /* Icons */
    .icon-anim {
        width: 60px;
    }

    /* Stats*/
    .counter {
        font-size: 42px;
    }

    .header-title .section-title {
        font-size: 28px;
        margin-top: 15px;
    }
}

.col-md-6 .carousel-full {
    width: 100%;
    margin-left: 0;
}

@media (max-width: 576px) {
    .whatsapp-float img {
        width: 52px;
    }

    .amenities-gallery {
        grid-template-columns: 1fr;
    }

    .amenity-item img {
        height: 180px;
    }

    .amenity-item h3 {
        font-size: 16px;
    }
}

/* Imagen de fondo */
.amenidades-hero {
    position: relative;
    width: 100%;
    height: 500px; /* ajusta altura */
    background: url('../img/divisor.jpeg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* Título arriba */
.amenidades-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    z-index: 3;
    text-align: center;
}

/* Degradado superior */
.amenidades-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%; /* altura del degradado superior */
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    z-index: 1;
}

/* Degradado inferior */
.amenidades-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* altura del degradado inferior */
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0.1));
    display: flex;
    align-items: flex-end;
    padding: 20px 40px;
    z-index: 2;
}

/* Lista de amenidades */
.amenidades-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en desktop */
    gap: 8px 40px; /* separación entre filas y columnas */
    list-style-type: disc; /* viñetas clásicas */
    padding-left: 20px; /* espacio para las viñetas */
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-text); /* mismo color que section-text */
    font-family: 'PT Serif', serif; /* misma tipografía que section-text */
}

    .amenidades-list li {
        line-height: 1.5;
        position: relative;
    }

        .amenidades-list li::before {
            content: "•"; /* viñeta */
            position: absolute;
            left: 0;
            color: var(--gray-text); /* mismo color que el texto */
            font-size: 18px; /* tamaño de la viñeta */
            line-height: 1.5;
        }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .amenidades-title {
        font-size: 28px;
        top: 15px;
    }

    .amenidades-bottom {
        height: 60%; /* un poco más grande si la lista ocupa más espacio */
        padding: 15px 20px;
    }

    .amenidades-list {
        grid-template-columns: 1fr;
        gap: 6px 20px;
        font-size: 13px;
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .amenidades-title {
        font-size: 24px;
        top: 10px;
    }

    .amenidades-bottom {
        height: 65%;
        padding: 10px 15px;
    }

    .amenidades-list {
        font-size: 12px;
        gap: 5px 15px;
        padding-left: 15px;
    }
}


