/* ==========================================================
   PickleJoy
   Main Stylesheet
   ========================================================== */

/* ===========================
   RESET
=========================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    font-size:16px;

    line-height:1.7;

    color:#334155;

    background:#F8FAFC;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

button,
input{

    font-family:inherit;

}


/* ===========================
   VARIABLES
=========================== */

:root{

    --primary:#0F172A;

    --secondary:#A8D51D;

    --secondary-hover:#97C317;

    --light:#F8FAFC;

    --white:#FFFFFF;

    --text:#334155;

    --muted:#64748B;

    --border:#E2E8F0;

    --radius:16px;

    --shadow:

        0 15px 40px rgba(15,23,42,.08);

}


/* ===========================
   CONTAINER
=========================== */

.container{

    width:min(1200px,92%);

    margin:auto;

}


/* ===========================
   NAVBAR
=========================== */

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(0,0,0,.05);

}

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo img{

    height:52px;

}

.nav-links{

    display:flex;

    gap:28px;

}

.nav-links a{

    font-weight:600;

    color:var(--primary);

    transition:.3s;

}

.nav-links a:hover{

    color:var(--secondary);

}

.nav-buttons{

    display:flex;

    gap:15px;

}

.btn-login{

    padding:10px 18px;

    font-weight:600;

}

.btn-register{

    background:var(--secondary);

    color:var(--primary);

    padding:12px 22px;

    border-radius:999px;

    font-weight:700;

    transition:.3s;

}

.btn-register:hover{

    background:var(--secondary-hover);

}


/* ===========================
   HERO
=========================== */

.hero{

    position:relative;

    height:100vh;

    min-height:850px;

    display:flex;

    align-items:center;

    overflow:hidden;

}
.hero-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        90deg,

        rgba(15,23,42,.68) 0%,

        rgba(15,23,42,.55) 25%,

        rgba(15,23,42,.15) 55%,

        rgba(15,23,42,0) 100%

    );

}

.hero-content{

    position:relative;

    color:white;

    max-width:720px;

    margin-left:0;

}

.hero .container{

    width:min(1400px,92%);

    display:flex;

    justify-content:flex-start;

}

.hero h1{

    font-size:74px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:28px;

}

.tagline{

    color:var(--secondary);

    font-size:30px;

    font-weight:700;

    margin-bottom:22px;

}

.hero-text{

    font-size:24px;

    line-height:1.6;

    margin-bottom:42px;

    color:#E2E8F0;

}

.hero-search{

    display:flex;

    background:white;

    border-radius:999px;

    overflow:hidden;

    box-shadow:var(--shadow);

    margin-bottom:36px;

    width:760px;

    max-width:100%;

}

.hero-search input{

    flex:1;

    border:none;

    padding:22px 32px;

    font-size:18px;

    outline:none;

}

.hero-search button{

    background:var(--secondary);

    color:var(--primary);

    border:none;

    min-width:160px;

    font-size:20px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.hero-search button:hover{

    background:var(--secondary-hover);

}

.hero-buttons{

    display:flex;

    gap:24px;

    margin-top:12px;

}

.btn-primary{

    background:var(--secondary);

    color:var(--primary);

    padding:18px 40px;

    border-radius:999px;

    font-size:18px;

    font-weight:700;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

.btn-secondary{

    background:rgba(255,255,255,.18);

    color:white;

    border:1px solid rgba(255,255,255,.4);

    backdrop-filter:blur(8px);

    padding:18px 40px;

    border-radius:999px;

    font-size:18px;

    transition:.3s;

}

.btn-secondary:hover{

    background:white;

    color:var(--primary);

}


/* ===========================
   SECTIONS
=========================== */

.section{

    padding:90px 0;

}

.light{

    background:white;

}

.section-title{

    font-size:38px;

    color:var(--primary);

    font-weight:800;

    margin-bottom:45px;

}


/* ===========================
   STATS
=========================== */

.stats{

    padding:70px 0;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-card{

    background:white;

    border-radius:var(--radius);

    text-align:center;

    padding:45px 20px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-10px);

}

.stat-card h2{

    color:var(--secondary);

    font-size:52px;

    font-weight:800;

}

.stat-card p{

    color:var(--muted);

    font-weight:600;

}


/* ===========================
   CARDS
=========================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.card{

    background:white;

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

}

.card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.card-content{

    padding:25px;

}

.card h3{

    color:var(--primary);

    margin-bottom:10px;

}

.card p{

    color:var(--muted);

    margin-bottom:8px;

}

.card-link{

    display:inline-block;

    margin-top:18px;

    color:var(--secondary);

    font-weight:700;

}


/* ===========================
   MAP
=========================== */

.map-placeholder{

    background:white;

    border-radius:var(--radius);

    height:520px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--muted);

    font-size:24px;

    box-shadow:var(--shadow);

}


/* ===========================
   NEWSLETTER
=========================== */

.newsletter{

    background:var(--primary);

    color:white;

    text-align:center;

    padding:70px 20px 90px;

}

.newsletter h2{

    font-size:42px;

    margin-bottom:15px;

}

.newsletter p{

    color:#CBD5E1;

    margin-bottom:35px;

}

.newsletter form{

    display:flex;

    max-width:700px;

    margin:auto;

    border-radius:999px;

    overflow:hidden;

}

.newsletter input{

    flex:1;

    border:none;

    padding:18px 25px;

    outline:none;

}

.newsletter button{

    background:var(--secondary);

    color:var(--primary);

    border:none;

    padding:0 35px;

    font-weight:700;

    cursor:pointer;

}


/* ===========================
   FOOTER
=========================== */

footer{

    background:#09111F;

    color:#CBD5E1;

    padding:50px 0 20px;

}

.footer-grid{

    display:grid;

    grid-template-columns:240px 1fr 1fr 1fr;

    gap:30px;

}

.footer-logo{

    width:120px;

    margin-bottom:20px;

}

footer h4{

    color:white;

    margin-bottom:18px;

}

footer a{

    display:block;

    margin-bottom:12px;

    transition:.3s;

}

footer a:hover{

    color:var(--secondary);

}

.copyright{

    margin-top:60px;

    text-align:center;

    color:#64748B;

    font-size:14px;

}


/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

    .nav-links{

        display:none;

    }

    .hero h1{

        font-size:46px;

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-grid{

        grid-template-columns:1fr 1fr;

    }

}

@media(max-width:768px){

    .hero{

        min-height:700px;

    }

    .hero-search{

        flex-direction:column;

        border-radius:18px;

    }

    .hero-search button{

        padding:18px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .newsletter form{

        flex-direction:column;

        border-radius:18px;

    }

    .newsletter button{

        padding:18px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-logo{

        margin:auto auto 20px;

    }

}

@media(max-width:576px){

    .hero h1{

        font-size:38px;

    }

    .tagline{

        font-size:20px;

    }

    .section-title{

        font-size:30px;

    }

}