
/*===================================================
CLAVEL DEL AIRE
Landing 
Autor: Agus Pascal para LandingPro
====================================================*/

/* ==================================================
   GOOGLE FONTS
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==================================================
   VARIABLES
================================================== */

:root{

    --primary:#6B4FA3;
    --primary-dark:#56388A;
    --secondary:#B9A4D8;

    --light:#F8F6FB;
    --white:#ffffff;

    --text:#2f2f2f;
    --text-light:#777;

    --border:#ECE6F5;

    --shadow:0 12px 35px rgba(0,0,0,.08);

    --shadow-hover:0 25px 50px rgba(0,0,0,.15);

    --radius:22px;

    --transition:.35s ease;

}

/* ==================================================
   RESET
================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(180deg,#ffffff,#f8f6fb);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* ==================================================
   CONTAINER
================================================== */

.container{

    width:min(1200px,92%);
    margin:auto;

}

/* ==================================================
   SECTIONS
================================================== */

section{

    padding:110px 0;

}

.section-title{

    font-size:3rem;

    text-align:center;

    color:var(--primary);

    margin-bottom:70px;

    position:relative;

    font-weight:700;

}

.section-title::after{

    content:"";

    width:90px;

    height:5px;

    border-radius:30px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

    display:block;

    margin:18px auto;

}

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

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.4s;

    backdrop-filter:blur(12px);

    background:rgba(255,255,255,.80);

    box-shadow:0 5px 25px rgba(0,0,0,.06);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:85px;

}

.logo img{

    width:60px;

    height:60px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid white;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

}

.nav-title{

    font-size:1.4rem;

    color:var(--primary);

    font-weight:700;

    margin-left:15px;

}

.nav-menu{

    display:flex;

    gap:35px;

}

.nav-link{

    color:var(--text);

    font-weight:500;

    transition:var(--transition);

    position:relative;

}

.nav-link:hover{

    color:var(--primary);

}

.nav-link::after{

    content:"";

    position:absolute;

    bottom:-6px;

    left:0;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-link:hover::after{

    width:100%;

}

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

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

    background-size:cover;

    background-position:center;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(rgba(40,20,60,.45),rgba(40,20,60,.35));

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero-title{

    color:white;

    font-size:4.7rem;

    font-weight:800;

    margin-bottom:15px;

    animation:fadeUp 1s;

}

.hero-subtitle{

    color:white;

    font-size:1.5rem;

    font-weight:300;

    margin-bottom:45px;

    animation:fadeUp 1.3s;

}

/* ==================================================
   BUTTON
================================================== */

.btn{

    display:inline-block;

    padding:18px 42px;

    border-radius:60px;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:white;

    font-weight:600;

    transition:.35s;

    box-shadow:0 12px 30px rgba(107,79,163,.35);

}

.btn:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 45px rgba(107,79,163,.40);

}

/* ==================================================
   ANIMATIONS
================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
        ABOUT
==================================================*/

.about{

    background:linear-gradient(180deg,#ffffff,#faf8fd);

    position:relative;

    overflow:hidden;

}

.about::before{

    content:"";

    width:500px;

    height:500px;

    background:rgba(185,164,216,.15);

    border-radius:50%;

    position:absolute;

    top:-220px;

    right:-180px;

    filter:blur(50px);

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-description{

    font-size:1.08rem;

    color:#666;

    margin:30px 0 50px;

}

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

.stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.stat-item{

    background:#fff;

    padding:35px 20px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 12px 35px rgba(0,0,0,.07);

    transition:.35s;

    border:1px solid #eee;

}

.stat-item:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 45px rgba(0,0,0,.13);

}

.stat-number{

    display:block;

    font-size:2.6rem;

    font-weight:700;

    color:var(--primary);

    margin-bottom:10px;

}

.stat-label{

    font-size:.95rem;

    color:#777;

    line-height:1.5;

}

/*==================================================
      ABOUT IMAGE
==================================================*/

.about-image{

    position:relative;

}

.about-image::before{

    content:"";

    position:absolute;

    width:100%;

    height:100%;

    background:linear-gradient(135deg,var(--secondary),transparent);

    border-radius:35px;

    top:18px;

    left:18px;

    z-index:0;

    opacity:.30;

}

.about-carousel{

    position:relative;

    overflow:hidden;

    border-radius:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

    z-index:2;

    background:#fff;

}

.carousel-slide{

    display:none;

    width:100%;

    height:620px;

    object-fit:cover;

    animation:fadeImage .8s;

}

.carousel-slide.active{

    display:block;

}

@keyframes fadeImage{

    from{

        opacity:0;

        transform:scale(1.05);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/*==================================================
       DECORATION
==================================================*/

.about::after{

    content:"";

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(107,79,163,.08);

    position:absolute;

    bottom:-100px;

    left:-120px;

    filter:blur(35px);

}

/*==================================================
                PRODUCTOS
==================================================*/

.products{

    background:linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)), url('./img/clavel-fondo1.jpg');
    background-size:cover;
    background-position:center;

    position:relative;

    overflow:hidden;

}

.products::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(185,164,216,.18);

    top:-250px;

    left:-180px;

    filter:blur(80px);

}

.product-list{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.product-item{

    background:white;

    border-radius:28px;

    padding:35px;

    transition:.4s;

    position:relative;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    border:1px solid rgba(107,79,163,.08);

}

.product-item::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:6px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

}

.product-title{

    font-size:1.35rem;

    color:var(--primary);

    margin-bottom:22px;

    line-height:1.4;

}

.product-benefits,
.product-use,
.product-ingredients,
.product-presentation{

    color:#666;

    margin-bottom:18px;

    font-size:.95rem;

}

.product-benefits strong,
.product-use strong,
.product-ingredients strong,
.product-presentation strong{

    color:var(--primary);

}

.product-presentation{

    margin-top:25px;

    display:inline-block;

    padding:8px 18px;

    border-radius:40px;

    background:#EFE9F8;

    font-weight:600;

}

.products .section-title{
    margin-bottom:40px;
}

.product-category{

margin-bottom:110px;

}

.product-category:last-child{

margin-bottom:0;

}

/*==================================================
      PRODUCT CATEGORY
==================================================*/

.category-title{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:14px 28px;
    border-radius:50px;
    background:linear-gradient(135deg,#ede6f7,#ffffff);
    color:var(--primary);
    font-size:1.45rem;
    font-weight:600;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:45px;
}



.product-image{
    width:100%;
    height:200px;
    overflow:hidden;
    border-radius:12px;
    margin-bottom:15px;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-image{
    position:relative;
}

.product-item > *:not(.product-image){
    display:none;
}

.product-more{
    position:absolute;
    bottom:10px;
    right:10px;
    width:36px;
    height:36px;
    border-radius:50%;
    border:none;
    background:var(--primary);
    color:var(--white);
    font-size:1.4rem;
    font-weight:600;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 3px 12px rgba(0,0,0,.25);
    transition:var(--transition);
    z-index:2;
}

.product-more:hover{
    transform:scale(1.15);
    background:var(--secondary);
}

/* ==================================================
   FAQ
================================================== */

.faq{
    background:linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)), url('./img/clavel-fondo3.png');
    background-size:cover;
    background-position:center;
}

.faq-list{
    max-width:800px;
    margin:0 auto;
}

.faq-item{
    background:var(--white);
    border-radius:var(--radius);
    margin-bottom:15px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

.faq-question{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 25px;
    background:none;
    border:none;
    font-family:'Poppins',sans-serif;
    font-size:1rem;
    font-weight:500;
    color:var(--text);
    cursor:pointer;
    text-align:left;
    transition:.3s;
}

.faq-question:hover{
    color:var(--primary);
}

.faq-toggle{
    font-size:1.5rem;
    font-weight:700;
    color:var(--primary);
    transition:.3s;
    flex-shrink:0;
    margin-left:15px;
}

.faq-item.active .faq-toggle{
    transform:rotate(45deg);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease, padding .4s ease;
}

.faq-item.active .faq-answer{
    max-height:300px;
    padding:0 25px 20px;
}

.faq-answer p{
    font-size:.95rem;
    color:var(--text-light);
    line-height:1.8;
}

/* ==================================================
   CONTACT
================================================== */

.contact{
    background:linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)), url('./img/clavel-fondo2.png');
    background-size:cover;
    background-position:center;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:40px;
    max-width:600px;
    margin:0 auto;
    text-align:center;
}

.btn-instagram{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    max-width:700px;
    margin:20px auto 0;
    padding:16px;
    border-radius:10px;
    background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
    color:#fff;
    font-size:17px;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.btn-instagram:hover{
    transform:translateY(-2px);
    box-shadow:0 5px 20px rgba(131,58,180,.4);
}

.btn-instagram img{
    height:28px;
    width:auto;
}

.contact-form{
    max-width:700px;
    margin:0 auto 40px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    padding:16px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    transition:.3s;
    outline:none;
    background:var(--white);
    color:var(--text);
    width:100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
    border-color:var(--primary);
    box-shadow:0 0 10px rgba(107,79,163,.2);
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{
    padding:18px;
    border:none;
    border-radius:10px;
    background:var(--primary);
    color:white;
    font-size:17px;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

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

.footer{
    background:var(--primary);
    color:var(--white);
    text-align:center;
    padding:40px 0;
}

.footer p{
    font-size:.9rem;
    opacity:.9;
}

/* ==================================================
   WHATSAPP FLOAT
================================================== */

.whatsapp-float{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    z-index:9998;
    animation:whatsapp-float 2s ease-in-out infinite;
    transition:transform .3s;
}

.whatsapp-float img{
    width:100%;
    height:auto;
    display:block;
}

.whatsapp-float:hover{
    animation:whatsapp-heartbeat 2s ease-in-out infinite;
}

@keyframes whatsapp-float{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-8px)}
}

@keyframes whatsapp-heartbeat{
    0%,100%{transform:scale(1)}
    20%{transform:scale(1.2)}
    40%{transform:scale(1)}
    65%{transform:scale(1.15)}
}

/* ==================================================
   MODAL
================================================== */

.modal-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    z-index:99999;
    justify-content:center;
    align-items:center;
    padding:30px;
    backdrop-filter:blur(4px);
}

.modal-overlay.active{
    display:flex;
}

.modal-content{
    background:var(--white);
    border-radius:var(--radius);
    max-width:700px;
    width:100%;
    max-height:85vh;
    overflow-y:auto;
    padding:40px;
    position:relative;
    box-shadow:0 25px 60px rgba(0,0,0,.3);
    animation:modalIn .3s ease;
}

@keyframes modalIn{
    from{opacity:0;transform:scale(.95) translateY(20px);}
    to{opacity:1;transform:scale(1) translateY(0);}
}

.modal-header{
    position:sticky;
    top:0;
    z-index:10;
    display:flex;
    justify-content:flex-end;
    margin-bottom:-40px;
    pointer-events:none;
}

.modal-close{
    background:rgba(255,255,255,.85);
    border:none;
    font-size:1.8rem;
    cursor:pointer;
    color:var(--text);
    transition:.2s;
    line-height:1;
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
    pointer-events:auto;
}

.modal-close:hover{
    background:var(--white);
}

.modal-body .product-item{
    background:none;
    padding:0;
    box-shadow:none;
    border-radius:0;
}

.modal-body .product-image{
    height:auto;
    margin-bottom:20px;
}

.modal-body .product-image img{
    width:100%;
    max-height:400px;
    object-fit:cover;
    border-radius:12px;
}

.modal-body .product-item:hover{
    transform:none;
    box-shadow:none;
}

.modal-body .product-item > *{
    display:block !important;
}

.modal-body .product-title{
    font-size:1.4rem;
    margin-bottom:20px;
}

.modal-body .product-item p{
    font-size:.95rem;
    margin-bottom:12px;
}

/* ==================================================
   SCROLL PADDING
================================================== */

#about,#products,#contact{
    scroll-margin-top:100px;
}

/*==================================================
       TABLET
==================================================*/

@media(max-width:991px){

.navbar .container{
    position:relative;
}

.nav-menu{
    position:absolute;
    top:100%;
    right:5%;
    flex-direction:column;
    background:var(--white);
    padding:20px 30px;
    gap:15px;
    border-radius:0 0 var(--radius) var(--radius);
    box-shadow:var(--shadow-hover);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9997;
    min-width:220px;
    text-align:right;
}

.nav-link::after{
    left:auto;
    right:0;
}

.nav-menu.active{
    opacity:1;
    visibility:visible;
}

.menu-toggle{
    display:flex;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:5px;
    z-index:9998;
}

.menu-toggle span{
    display:block;
    width:26px;
    height:3px;
    background:var(--text);
    border-radius:3px;
    transition:.3s;
}

.about-grid{

grid-template-columns:1fr;

}

.about-image{

order:-1;

}

.stats{

grid-template-columns:repeat(3,1fr);

}

.carousel-slide{

height:500px;

}

section{
    padding:60px 0;
}

.section-title{
    margin-bottom:40px;
}

.modal-content{
    padding:30px;
    margin:15px;
}

}

/*==================================================
      CELULAR
==================================================*/

@media(max-width:768px){

.stats{

grid-template-columns:1fr;

}

.carousel-slide{

height:360px;

}

.section-title{

font-size:2.2rem;

}

.about-description{

font-size:1rem;

}

.product-list{

grid-template-columns:1fr;

}

.product-item{

padding:28px;

}

.product-title{

font-size:1.2rem;

}

.hero{
    min-height:90vh;
}

.hero-title{
    font-size:2.8rem;
}

.hero-subtitle{
    font-size:1.1rem;
}

.nav-title{
    font-size:1.1rem;
}

.logo img{
    width:50px;
    height:50px;
}

.modal-content{
    padding:20px 18px;
    margin:10px;
    max-height:90vh;
}

.modal-body .product-title{
    font-size:1.2rem;
}

section{
    padding:40px 0;
}

.category-title{
    font-size:1.3rem;
}

.product-category{
    margin-bottom:20px;
}

.whatsapp-float{
    display:none;
}

}
