@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root{
    --vinotinto:#6D0F2D;
    --vinotinto-hover:#8B1E3F;
    --gris-oscuro:#2B2B2B;
    --gris-medio:#666666;
    --gris-claro:#F3F3F3;
    --blanco:#FFFFFF;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background-color:var(--gris-claro);
    color:var(--gris-oscuro);
    font-size:16px;
    line-height:1.7;
    padding-top:80px;
}

/* NAVBAR */

.navbar,
.modern-navbar{
    background-color:rgba(43,43,43,0.97)!important;
    backdrop-filter:blur(10px);
    box-shadow:0 2px 15px rgba(0,0,0,.15);
    transition:transform .3s ease-in-out;
}

.nav-hidden{
    transform:translateY(-100%);
}

.navbar-brand{
    color:white!important;
    font-weight:700;
    font-size:1.4rem;
}

.navbar-brand img{
    height:45px;
    border-radius:50%;
}

.nav-link{
    color:white!important;
    font-weight:500;
    margin:0 8px;
    position:relative;
    transition:.3s;
}

.nav-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:0;
    height:2px;
    background:var(--vinotinto);
    transition:.3s;
}

.nav-link:hover::after{
    width:100%;
}

.nav-link:hover{
    color:var(--vinotinto-hover)!important;
}

.btn-nav-login {
    background-color: #6D0F2D!important;
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-nav-login:hover {
    background-color: #8B1E3F!important;
    color: white;
}

/* HERO */

.hero-section{
    background:
    linear-gradient(
        rgba(43,43,43,.85),
        rgba(109,15,45,.85)
    ),
    url('../assets/hero-bg.jpg');

    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:180px 0 120px;
}

.hero-section h1{
    font-size:3.5rem;
    font-weight:700;
    margin-bottom:20px;
}

.hero-section p{
    max-width:800px;
    margin:auto;
    font-size:1.2rem;
}

/* BOTONES */

.btn-primary-custom,
.btn-plan,
.btn-lg{
    background-color:var(--vinotinto);
    border-color:var(--vinotinto);
    color:white;
    border-radius:30px;
    transition:.3s;
}

.btn-primary-custom:hover,
.btn-plan:hover,
.btn-lg:hover{
    background-color:var(--vinotinto-hover);
    border-color:var(--vinotinto-hover);
    color:white;
}

/* SECCIONES */

.section-spacing{
    padding:90px 0;
}

.section-spacing h2{
    color:var(--vinotinto);
    font-weight:700;
}

/* TARJETAS */

.card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    background:white;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.card-title{
    color:var(--vinotinto);
    font-weight:600;
}

/* ICONOS */

.icon-feature{
    font-size:3rem;
    color:var(--vinotinto);
    margin-bottom:15px;
}

/* PLANES */

.plan-card{
    border-radius:18px;
    overflow:hidden;
}

.plan-header{
    background:var(--vinotinto);
    color:white;
    text-align:center;
    padding:20px;
}

.plan-price{
    font-size:2.5rem;
    font-weight:700;
}

.plan-features{
    padding:20px;
}

.plan-features ul{
    list-style:none;
    padding:0;
}

.plan-features li{
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.plan-features li:last-child{
    border-bottom:none;
}

.plan-button{
    margin:20px;
}

/* FONDOS */

.bg-light{
    background-color:#fafafa!important;
}

/* CONTACTO */

.contact-section{
    background:
    linear-gradient(
        135deg,
        var(--vinotinto),
        var(--gris-oscuro)
    );
    color:white;
}

.contact-section h2,
.contact-section p,
.contact-section li,
.contact-section strong{
    color:white;
}

/* FORMULARIOS */

input,
textarea,
.form-control{
    border-radius:10px!important;
    border:1px solid #ddd!important;
    padding:12px!important;
}

input:focus,
textarea:focus,
.form-control:focus{
    border-color:var(--vinotinto)!important;
    box-shadow:0 0 0 .2rem rgba(109,15,45,.15)!important;
}

/* CARRUSELES */

.carousel-item img{
    object-fit:cover;
}

/* TESTIMONIOS */

blockquote{
    font-style:italic;
}

.blockquote-footer{
    color:var(--vinotinto);
    font-weight:600;
}

/* FOOTER */

footer{
    background-color:var(--gris-oscuro);
    color:white;
    padding:35px 0;
}


.social-icons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    color:white;
    transition:.3s;
}

.social-icons a:hover{
    background:var(--vinotinto);
    transform:translateY(-4px);
}

/* RESPONSIVE */

@media (max-width:768px){

    .hero-section{
        padding:140px 20px 90px;
    }

    .hero-section h1{
        font-size:2.2rem;
    }

    .hero-section p{
        font-size:1rem;
    }

    .navbar-nav{
        text-align:center;
        padding-top:15px;
    }

    .btn-nav-login{
        width:100%;
        margin-top:10px;
    }

    .carousel-item img{
        height:250px!important;
    }
}