/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#fafafa;
    color:#111;
    line-height:1.6;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(1100px,92%);
    margin:auto;
}

section{
    padding:80px 0;
}


/* =========================
   HERO
========================= */

.hero{
    text-align:center;
    padding:70px 0 50px;
}

.logo{
    width:90px;
    margin:auto;
    margin-bottom:20px;
}

.tag{
    display:inline-block;
    background:#EAF7EE;
    color:#1C8C56;
    padding:8px 18px;
    border-radius:999px;
    font-weight:600;
    font-size:.9rem;
    margin-bottom:20px;
}

.brand-title{
    font-size:clamp(3rem,8vw,5rem);
    font-weight:800;
    letter-spacing:-3px;
    line-height:1;
}

.brand-tagline{
    color:#1C8C56;
    font-size:clamp(1.1rem,3vw,1.8rem);
    font-weight:600;
    margin:15px 0 25px;
}

.hero h1{
    font-size:clamp(2rem,6vw,3rem);
    line-height:1.1;
    margin-bottom:18px;
}

.subtitle{
    max-width:650px;
    margin:auto;
    color:#666;
    font-size:1.08rem;
}

.primary-btn{
    display:inline-block;
    margin-top:35px;
    background:#1C8C56;
    color:#fff;
    padding:16px 32px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.primary-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}


/* =========================
   PHOTO STACK
========================= */

.gallery{
    display:flex;
    justify-content:center;
    padding:40px 0 70px;
}

.photo-stack{
    position:relative;
    width:340px;
    height:260px;
}

.card{
    position:absolute;
    width:220px;
    height:260px;
    object-fit:cover;
    border-radius:22px;
    border:10px solid #fff;
    box-shadow:0 18px 40px rgba(0,0,0,.15);
    transition:.3s;
}

.one{
    left:0;
    transform:rotate(-8deg);
    z-index:1;
}

.two{
    left:60px;
    z-index:3;
}

.three{
    left:120px;
    transform:rotate(8deg);
    z-index:2;
}

.photo-stack:hover .one{
    transform:rotate(-12deg) translateY(-10px);
}

.photo-stack:hover .two{
    transform:translateY(-18px);
}

.photo-stack:hover .three{
    transform:rotate(12deg) translateY(-10px);
}


/* =========================
   ABOUT
========================= */

.about{
    text-align:center;
}

.about h2{
    font-size:2.4rem;
    margin-bottom:20px;
}

.about p{
    max-width:760px;
    margin:auto;
    color:#666;
}


/* =========================
   STATS
========================= */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.stat-card{
    background:#fff;
    border-radius:22px;
    padding:30px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.stat-card h3{
    color:#1C8C56;
    font-size:2.3rem;
}

.stat-card p{
    color:#666;
}


/* =========================
   FEATURES
========================= */

.features h2{
    text-align:center;
    margin-bottom:45px;
    font-size:2.3rem;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.feature{
    background:#fff;
    border-radius:22px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
}

.feature:hover{
    transform:translateY(-8px);
}

.icon{
    font-size:2rem;
    margin-bottom:15px;
}

.feature p{
    color:#666;
}


/* =========================
   NEXT HIKE
========================= */

.next-hike{
    background:#1C8C56;
    color:#fff;
    text-align:center;
}

.next-hike h2{
    font-size:2.5rem;
    margin-bottom:15px;
}

.next-hike p{
    max-width:650px;
    margin:auto;
}

.next-hike .primary-btn{
    background:#fff;
    color:#1C8C56;
}


/* =========================
   DOWNLOAD
========================= */

.download{
    text-align:center;
}

.download h2{
    font-size:2.2rem;
    margin-bottom:15px;
}

.download p{
    color:#666;
}

.download-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:30px;
}

.download-buttons a{
    background:#111;
    color:#fff;
    text-decoration:none;
    padding:16px 30px;
    border-radius:14px;
}


/* =========================
   SOCIAL
========================= */

.social{
    text-align:center;
}

.social-grid{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:25px;
}

.social-grid a{
    text-decoration:none;
    color:#111;
    background:#fff;
    padding:15px 24px;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}


/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:40px 20px;
    color:#666;
}


/* =========================
   FLOAT BUTTON
========================= */

.floating{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:999;
}

.floating a{
    display:inline-block;
    background:#1C8C56;
    color:#fff;
    text-decoration:none;
    padding:16px 22px;
    border-radius:999px;
    font-weight:700;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}


/* =========================
   AUTO SLIDER
========================= */

.gallery{
    overflow:hidden;
}

.slider{
    width:100%;
    overflow:hidden;
    position:relative;
}

.slide-track{
    display:flex;
    width:max-content;
    gap:22px;
    animation:scroll 35s linear infinite;
}

.slide-track:hover{
    animation-play-state:paused;
}

.slide-track img{
    width:260px;
    height:340px;
    object-fit:cover;
    border-radius:24px;
    flex-shrink:0;
    transition:.3s;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.slide-track img:hover{
    transform:translateY(-8px);
}

.slider::before,
.slider::after{
    content:"";
    position:absolute;
    top:0;
    width:100px;
    height:100%;
    z-index:5;
    pointer-events:none;
}

.slider::before{
    left:0;
    background:linear-gradient(to right,#fafafa,transparent);
}

.slider::after{
    right:0;
    background:linear-gradient(to left,#fafafa,transparent);
}

@keyframes scroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}


/* =========================
   TABLET
========================= */

@media (max-width:768px){

section{
    padding:60px 0;
}

.hero{
    padding-top:50px;
}

.subtitle{
    font-size:1rem;
}

.photo-stack{
    width:280px;
    height:220px;
}

.card{
    width:170px;
    height:220px;
}

.two{
    left:45px;
}

.three{
    left:90px;
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

.feature-grid{
    grid-template-columns:1fr;
}

.slide-track{
    gap:15px;
    animation-duration:24s;
}

.slide-track img{
    width:180px;
    height:250px;
}

}


/* =========================
   PHONE
========================= */

@media (max-width:480px){

.container{
    width:94%;
}

.hero{
    padding-top:40px;
}

.brand-title{
    letter-spacing:-1px;
}

.subtitle{
    font-size:.95rem;
}

.primary-btn{
    width:100%;
    text-align:center;
}

.photo-stack{
    transform:scale(.88);
    transform-origin:center;
}

.stats{
    grid-template-columns:1fr;
}

.stat-card{
    padding:24px;
}

.download-buttons{
    flex-direction:column;
}

.download-buttons a{
    width:100%;
}

.social-grid{
    flex-direction:column;
}

.social-grid a{
    width:100%;
}

.slide-track img{
    width:150px;
    height:210px;
}

.slider::before,
.slider::after{
    width:40px;
}

.floating{
    left:15px;
    right:15px;
}

.floating a{
    display:block;
    width:100%;
    text-align:center;
}

}