*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Funnel Display", sans-serif;
    font-weight: 500;
}

body{
    background: #ffffff;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navbar */
.navbar{
    position: relative;
    z-index: 10;
    background-color: #333;
    height: 101px;
    display: flex;
    justify-content: center;
}

.container{
    max-width: 1440px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.logo img{
    height: 55px;
    filter: invert(1);
}

.menu{
    display: flex;
    gap: 20px;
}

.menu a{
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover{
    color: #f52d2d;
}

.hamburger{
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span{
    display: block;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2){
    opacity: 0;
}

.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Video */
.video-container{
    border-top: 2px solid black;
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.video-container video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    border: none;
}

.video-container .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.logo-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.logo-center img{
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.5));
    filter: invert(1);
}

/* Seccion eventos */
.eventos{
    text-align: center;
    padding: 40px 20px;
}

.eventos h3{
    color: red;
    font-weight: 700;
}

.cards{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card{
    position: relative;
    width: 450px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.card::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.7);
    transition: transform 0.4s ease, filter 0.4s ease;
    z-index: 1;
}

.card h4{
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.card:hover::before{
    transform: scale(1.05);
    filter: none;
}

.card.classic::before{
    background-image: url("../assets/img/cards/classic-casual.png");
}

.card.pizza::before{
    background-image: url("../assets/img/cards/pizza-party.png");
}

.aviso{
    background: #333;
    padding: 10px;
}

.aviso p{
    color: #fafafa;
    text-align: center;
    font-family: "Birthstone", cursive;
    font-weight: 500;
    font-size: 35px;
}

.aviso p span{
    color: #8aa76b;
    text-align: center;
    font-family: "Birthstone", cursive;
    font-weight: 500;
    font-size: 35px;
}

/* Heros */
.servicios{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    background: #e0dfdf;
}

.hero-card img{ /* Imagen dentro de los heroes */
    width: 70px;
    filter: invert(1);
}

.hero-card{
    padding: 20px;
    background: #333;
    color: #e0dfdf;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    height: 150px;
    width: 300px;
    border-radius: 10px;
}

.hero-inner{ /* Separacion titulo/texto */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-inner h4{
    font-weight: 700;
}

/* Cards fiestas */
.evento-cards-section{
    margin-top: 15px;
    text-align: center;
    font-family: sans-serif;
}

.evento-cards-container{
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.evento-card{
    position: relative;
    width: 200px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.evento-card:hover{
    transform: scale(1.05);
}

.evento-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evento-card-overlay{
    position: absolute;
    bottom: 0;
    height: 120%;
    width: 100%;
    background: linear-gradient(to top, rgba(255, 128, 0, 0.3), transparent 40%);
    transition: background 0.5s ease;
}

.evento-card:hover .evento-card-overlay{
    background: linear-gradient(to top, rgba(255, 128, 0, 0.5), transparent 40%);
}

.evento-card p{
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
    font-size: 19px;
    color: rgb(255, 255, 255);
    font-weight: 700;
    z-index: 2;
    text-decoration: overline 1.5px;
}

/* Instalaciones seccion */
.instalaciones{
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
}

.titulo{
    font-size: 2rem;
    margin-bottom: 5px;
}

.subtitulo{
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Kava Experience */
.kava{
    padding: 40px 0px 40px 0px;
    display: flex;
    justify-content: center;
}

.kava a{
    display: block;
    width: 100%;
    max-width: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kava img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kava a:hover{
    transform: scale(1.01);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.kava a:hover img{
    transform: scale(1.01);
}

/* Seccion formulario, info e iframe */
.contacto{
    padding: 40px;
    background-color: #f4f5f8;
}

.contacto__contenido{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.formulario{
    flex: 1 1 400px;
    max-width: 500px;
}

.formulario h2{
    font-size: 2em;
    margin-bottom: 10px;
}

.formulario p{
    margin-bottom: 20px;
    color: #333;
}

.formulario form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group{
    display: flex;
    gap: 10px;
}

.input-group input{
    flex: 1;
}

input, textarea{
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

textarea{
    resize: vertical;
    min-height: 100px;
}

button{ /* Boton submit */
    background: #333333;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

button:hover{
    background-color: #333333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.informacion{ /* Casilla info */
    flex: 1 1 400px;
    max-width: 500px;
    position: relative;
    padding: 20px;
}

.info-box{
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    background: linear-gradient(145deg, #3a3a3a, #2c2c2c);
    padding: 24px;
    border-radius: 14px;
    color: #ffffff;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

i.fas{
    vertical-align: middle;
    margin-right: 15px;
}

.info-box:hover{
    transform: scale(1.01);
    box-shadow: 0 3px 10px #333;
}

.info-box p{
    margin: 10px 0;
    font-size: 1.05em;
    line-height: 1.6;
    color: #f0f0f0;
}

.info-box p span{
    font-weight: bold;
    color: #d58e5d;
}

/* Seccion QR */
.qr{
    padding: 40px;
    background: #333;
}

.qr-container{
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.qr-logo{
    filter: invert(1);
}

.qr-img{
    width: 50%;
}

.qr-info h3{
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fafafa;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.qr-info h3 span{
    color: #8aa76b;
}

.qr-info a{
    text-decoration: none;
}

/* Footer */
.footer{
    background-color: #f4f5f8;
    padding: 40px 20px 20px;
    text-align: center;
    font-family: sans-serif;
}

.footer-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-box{
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 4px;
    min-width: 250px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.footer-box:hover{
    transform: scale(1.05);
    cursor: pointer;
}

.footer-icon{
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.footer-box span{
    color: #333;
    font-size: 14px;
}

.footer-copy{
    font-size: 13px;
    color: #444;
}

/* ######### */
/* ######### */
/* ######### */
/* XV.HTML */
/* Hero */
.hero-section{
    position: relative;
    background: url('../assets/img/banner-hero.png') center/cover no-repeat;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay{
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end; /* 👈 lo baja */
    justify-content: center;
    padding-bottom: 20px; /* opcional: espacio desde el borde */
}

.hero-overlay h2{
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    font-family: 'Times New Roman', Times, serif
}

.wedding-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px 180px;
}

.wedding-info h2{
    font-size: 2rem;
    margin-bottom: 15px;
}

.wedding-info p{
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    color: #333;
}

/* Grid de servicios */
.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f2f3f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
    max-height: 280px;
}

.service-card img{
    max-width: 60px;
    margin-bottom: 15px;
}

.service-card h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p{
    font-size: 0.95rem;
    color: #555;
}

/* Grid boda */
.galeria-bodas{
    padding: 20px 160px;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-galeria{
    gap: 10px;
    column-count: 3;
    column-gap: 10px;
}

.grid-galeria img{
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    display: block;
    break-inside: avoid;
}

/* MediaQuerys */
/*Tablet */
@media screen and (max-width: 800px){
    .galeria{
        width: 95%;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        grid-template-rows: 200px;
    }

    .galeria .box-img:nth-child(1){
        grid-column-start: span 1;
    }

    .grid-galeria{
        column-count: 2;
    }

    .hamburger{
        display: flex;
    }

    .menu{
        flex-direction: column;
        position: absolute;
        top: 101px;
        right: 0;
        width: 100%;
        background-color: #333;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .menu.show{
        max-height: 300px;
        transition: max-height 0.4s ease-in;
    }

    .menu a{
        padding: 12px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .galeria-bodas{
    padding: 5px 60px;
    max-width: 1400px;
    margin: 0 auto;
    }

    .wedding-info{
        padding: 5px 60px;
    }
}

/* Celular */
@media screen and (max-width: 500px){
    .galeria{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
    }

    .galeria .box-img img{
        height: 200px;
    }

    .grid-galeria{
        column-count: 1;
    }
}



