/* =====================================================
   BIGGER
   style.css
===================================================== */

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

:root{

    --primary:#20384A;
    --secondary:#6C8C45;
    --accent:#C97C3B;

    --white:#ffffff;

    --light:#F7F7F5;

    --gray:#6F7680;

    --shadow:0 20px 50px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}

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

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

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

    color:var(--primary);

    background:#fff;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}

/*=========================
HEADER
=========================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.4s;

}

header.scrolled{

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

    backdrop-filter:blur(12px);

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.navigation{

    height:84px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo img{

    height:56px;

}

nav ul{

    display:flex;

    gap:38px;

    list-style:none;

}

/* Color normal del menú */
nav a{
    color:var(--secondary);   /* Verde oliva */
    font-size:15px;
    font-weight:500;
    transition:0.3s ease;
}

/* Al pasar el mouse */
nav a:hover{
    color:#ffffff;
}

/* Cuando el header tenga fondo blanco */
header.scrolled nav a{
    color:var(--secondary);
}

header.scrolled nav a:hover{
    color:#ffffff;

}

.header-button{

    padding:14px 28px;

    border-radius:40px;

    background:var(--secondary);

    color:white;

    font-weight:600;

    transition:.3s;

}

.header-button:hover{

    transform:translateY(-2px);

    background:#59743B;

}

/*=========================
MENU MOVIL
=========================*/

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:34px;

    cursor:pointer;

}

header.scrolled .menu-toggle{

    color:var(--primary);

}

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

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    background:url("assets/hero.jpg") center center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(18,28,36,.30);

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero-text{

    max-width:700px;

    color:white;

}

.hero-text h1{

    font-family:'Cormorant Garamond',serif;

    font-size:88px;

    line-height:.95;

    font-weight:500;

    letter-spacing:2px;

}

.hero-text h2{

    margin-top:18px;

    color:#D6E0C5;

    font-size:34px;

    font-weight:300;

}

.hero-divider{

    width:90px;

    height:3px;

    background:var(--secondary);

    margin:35px 0;

}

.hero-text p{

    max-width:560px;

    font-size:20px;

    line-height:1.8;

    color:rgba(255,255,255,.92);

}

/*=========================
BOTONES
=========================*/

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:50px;

}

.btn-primary{

    padding:18px 42px;

    border-radius:50px;

    background:var(--secondary);

    color:white;

    font-weight:600;

    transition:.35s;

}

.btn-primary:hover{

    transform:translateY(-3px);

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

}

.btn-secondary{

    padding:18px 42px;

    border-radius:50px;

    border:2px solid rgba(255,255,255,.7);

    color:white;

    transition:.35s;

}

.btn-secondary:hover{

    background:white;

    color:var(--primary);

}

/*=========================
ANIMACIONES
=========================*/

.hidden{

    opacity:0;

    transform:translateY(50px);

}

.show{

    opacity:1;

    transform:translateY(0);

    transition:1s;

}/*=====================================================
SERVICIOS
=====================================================*/

.services{

    padding:120px 0;

    background:#ffffff;

}

.section-title{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-title span{

    display:inline-block;

    margin-bottom:18px;

    font-size:13px;

    letter-spacing:3px;

    font-weight:600;

    color:var(--secondary);

}

.section-title h2{

    font-family:'Cormorant Garamond',serif;

    font-size:56px;

    color:var(--primary);

    margin-bottom:22px;

}

.section-title p{

    font-size:18px;

    color:var(--gray);

    line-height:1.8;

}

/* GRID */

.services-grid{

    display:grid;

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

    gap:35px;

}

/* TARJETAS */

.service-card{

    background:#fff;

    border-radius:var(--radius);

    padding:45px 35px;

    text-align:center;

    transition:.35s;

    box-shadow:var(--shadow);

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-icon{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:28px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#F5F7F2;

}

.service-icon img{

    width:44px;

}

.service-card h3{

    margin-bottom:18px;

    font-size:24px;

    color:var(--primary);

}

.service-card p{

    color:var(--gray);

    line-height:1.8;

}

/*=====================================================
MARKETPLACE
=====================================================*/

.marketplace{

    padding:130px 0;

    background:#F8F8F6;

}

.marketplace-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.marketplace-image{

    position:relative;

}

.marketplace-image img{

    width:100%;

    border-radius:24px;

    box-shadow:var(--shadow);

}

.marketplace-content span{

    display:inline-block;

    margin-bottom:18px;

    font-size:13px;

    letter-spacing:3px;

    color:var(--secondary);

    font-weight:600;

}

.marketplace-content h2{

    font-family:'Cormorant Garamond',serif;

    font-size:56px;

    color:var(--primary);

    line-height:1.1;

    margin-bottom:30px;

}

.marketplace-content p{

    color:var(--gray);

    font-size:18px;

    line-height:1.9;

    margin-bottom:35px;

}

.marketplace-list{

    list-style:none;

    margin-bottom:45px;

}

.marketplace-list li{

    padding:12px 0;

    color:var(--primary);

    font-size:17px;

    border-bottom:1px solid #e7e7e7;

}

/* BOTÓN */

.marketplace .btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:240px;

}

/*=====================================================
EFECTOS
=====================================================*/

.service-card,
.marketplace-image,
.marketplace-content{

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}

.service-card.show,
.marketplace-image.show,
.marketplace-content.show{

    opacity:1;

    transform:translateY(0);

}/*=====================================================
NOSOTROS
=====================================================*/

.about{

    padding:140px 0;

    background:#ffffff;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.about-content span{

    display:inline-block;

    margin-bottom:18px;

    font-size:13px;

    letter-spacing:3px;

    color:var(--secondary);

    font-weight:600;

}

.about-content h2{

    font-family:'Cormorant Garamond',serif;

    font-size:56px;

    color:var(--primary);

    line-height:1.1;

    margin-bottom:28px;

}

.about-content p{

    margin-bottom:20px;

    font-size:18px;

    color:var(--gray);

    line-height:1.9;

}

.about-image img{

    width:100%;

    border-radius:24px;

    box-shadow:var(--shadow);

}

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

.contact{

    padding:140px 0;

    background:var(--light);

}

.contact-grid{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:60px;

    margin-top:60px;

}

.contact-info h3{

    font-size:32px;

    color:var(--primary);

    margin-bottom:18px;

}

.contact-info p{

    color:var(--gray);

    margin-bottom:20px;

    line-height:1.8;

}

.contact-item{

    margin-top:25px;

}

.contact-item strong{

    display:block;

    margin-bottom:8px;

    color:var(--primary);

}

.contact-item a{

    color:var(--secondary);

    font-weight:600;

}

.contact-form{

    display:grid;

    gap:22px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:18px 22px;

    border:1px solid #d9d9d9;

    border-radius:14px;

    background:#ffffff;

    font-size:16px;

    font-family:inherit;

    transition:var(--transition);

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:var(--secondary);

    box-shadow:0 0 0 4px rgba(108,140,69,.12);

}

.contact-form textarea{

    resize:vertical;

    min-height:180px;

}

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

footer{

    background:#20384A;

    color:#ffffff;

    padding-top:70px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    padding-bottom:50px;

}

.footer-logo{

    width:170px;

    margin-bottom:20px;

}

.footer-grid h4{

    margin-bottom:20px;

    font-size:18px;

}

.footer-grid ul{

    list-style:none;

}

.footer-grid li{

    margin-bottom:12px;

}

.footer-grid a{

    color:#ffffff;

    transition:.3s;

}

.footer-grid a:hover{

    color:#d6e0c5;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.12);

    padding:25px 0;

    text-align:center;

    font-size:14px;

    color:rgba(255,255,255,.7);

}

/*=====================================================
RESPONSIVE
=====================================================*/

@media (max-width:992px){

    .services-grid{

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

    }

    .marketplace-grid,
    .about-grid,
    .contact-grid,
    .footer-grid{

        grid-template-columns:1fr;

    }

    .marketplace-image{

        order:-1;

    }

}

@media (max-width:768px){

    .navigation{

        height:72px;

    }

    .menu-toggle{

        display:block;

        z-index:1001;

    }

    .header-button{

        display:none;

    }

    nav{

        position:fixed;

        top:72px;

        right:-100%;

        width:280px;

        height:calc(100vh - 72px);

        background:#ffffff;

        box-shadow:-10px 0 30px rgba(0,0,0,.08);

        transition:.35s;

        padding:40px 30px;

    }

    nav.active{

        right:0;

    }

    nav ul{

        display:flex;

        flex-direction:column;

        gap:24px;

    }

    nav a{

        color:var(--primary);

        font-size:18px;

    }

    .hero{

        text-align:center;

    }

    .hero-text{

        margin:auto;

    }

    .hero-text h1{

        font-size:56px;

    }

    .hero-text h2{

        font-size:26px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .btn-primary,
    .btn-secondary{

        width:100%;

        max-width:320px;

        justify-content:center;

    }

    .section-title h2,
    .marketplace-content h2,
    .about-content h2{

        font-size:40px;

    }

}

@media (max-width:576px){

    .hero-text h1{

        font-size:44px;

    }

    .hero-text p{

        font-size:17px;

    }

    .services-grid{

        grid-template-columns:1fr;

    }

    section{

        padding:90px 0;

    }

}