/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES DE COLOR */
:root {
    --gris-oscuro: #2f2f2f;
    --gris-medio: #6b6b6b;
    --gris-claro: #f4f4f4;
    --verde-suave: #7a8f85;
    --dorado: #c1a45f;
    --blanco: #ffffff;
}

/* GENERAL */
body {
    font-family: 'Inter', sans-serif;
    color: var(--gris-oscuro);
    background-color: var(--gris-claro);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    background-color: var(--blanco);
    border-bottom: 1px solid #ddd;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}


/* Botón hamburguesa oculto en ordenador */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}


.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #918266;
}

.logo :hover {
     color: var(--dorado);
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--gris-medio);
    font-weight: 400;
}

.nav a:hover {
    color: var(--dorado);
}

/* HERO */
.hero {
    height: 70vh;
    background-image: url("../img/banner_portada_1.jpg");
    background-size: cover;
    background-position: center;
    
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--blanco);
    max-width: 1200px;
}



.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* INTRO */
.intro {
    text-align: center;
    padding: 60px 0;
    
}

.intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
    margin-bottom: 15px;
}

.intro p {
    max-width: 700px;
    margin: auto;
    color: var(--gris-medio);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.card {
    background-color: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px;

}

.card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--verde-suave);
    margin: 15px;
}

.card p {
    margin: 0 15px 20px;
    color: var(--gris-medio);
}

/* FOOTER */
.footer {
    background-color: var(--gris-oscuro);
    color: var(--blanco);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: var(--dorado);
}

.footer p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer a {
    font-size: 0.9rem;
}



.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-social img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: 0.7;
}


.footer-social a:hover img {
    filter: none;
    opacity: 1;
}

.footer-social a:hover {
    color: #fff;
}



.footer-info-informativo {
    color:#ccc;
} 


.footer-info-informativo p a {
    color: #ccc;
    text-decoration: none;
}

.footer-info-informativo p a:hover {
    color: #fff;
}



.video-bienvenida {
    text-align: center;
    margin-bottom: 50px;
}



.video-player {
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}




/* GALERÍA DE VÍDEOS CON SWIPER */
.video-galeria {
    background-color: var(--gris-claro);
    margin-bottom: 50px;
}

.video-galeria h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
    margin-bottom: 40px;
}

/* Slides */
.video-item {
    text-align: center;
}

.video-item a {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.video-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Play */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    color: var(--blanco);
    background: rgba(0,0,0,0.45);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item p {
    margin-top: 12px;
    color: var(--gris-medio);
    font-size: 0.95rem;
}

/* Swiper personalizado */
.video-swiper {
    padding-bottom: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--verde-suave);
}

.swiper-pagination-bullet {
    background: var(--verde-suave);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}






/* COMUNIDAD - ESTILOS FORMULARIO COMUNIDAD REGISTRO*/
.comunidad {
    background-color: var(--blanco);
    padding: 80px 0;
    text-align: center;
}

.comunidad h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
    margin-bottom: 10px;
}

.comunidad p {
    color: var(--gris-medio);
    margin-bottom: 40px;
}

.form-comunidad {
    max-width: 420px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-comunidad input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.form-comunidad input:focus {
    outline: none;
    border-color: var(--verde-suave);
}

.form-comunidad button {
    padding: 14px;
    border-radius: 8px;
    border: none;
    background-color: var(--dorado);
    color: var(--blanco);
    font-size: 1rem;
    cursor: pointer;
}

.form-comunidad button:hover {
    background-color: var(--gris-oscuro);
}



.texto_centrado {
    justify-content: center;
    text-align: center;
}



.btn_cotizacion {
    background: linear-gradient(135deg, #378181, #3f6363);
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn_cotizacion:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 18px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--dorado), var(--dorado));
}

.btn_cotizacion:active {
    transform: scale(0.97);
}



.wallapop {
    
    height: 600px;
}


.instagram-feed{
    padding:60px 20px;
    text-align:center;
}

.instagram-feed h3{
    margin-bottom:10px;
}

.instagram-feed p{
    margin-bottom:40px;
    color:#666;
}





.contacto{
    padding:60px 20px;
    background:#f5f5f5;
    text-align:center;
}

.contacto-intro{
    max-width:600px;
    margin:0 auto 40px;
}

.contacto-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.contacto-item{
    background:white;
    padding:25px;
    border-radius:6px;
    box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

.contacto-item h4{
    margin-bottom:10px;
}

.contacto-item a{
    color:#333;
    text-decoration:none;
    font-weight:500;
}

.contacto-item a:hover{
    color:#000;
}











/* POPUP */
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.popup-contenido {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 450px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    animation: aparecer 0.4s ease;
}

.popup-contenido img {
    width: 100%;
    border-radius: 6px;
}


.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cerrar:hover {
    background: red;
    color: white;
}




@keyframes aparecer {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}




@media (max-width: 768px) {
    
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    
    
    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav a {
        margin: 10px 0;
        display: block;
        font-size: 18px;
    }

    .nav.active {
        display: flex;
    }
    
    
}