/* ==========================================================
   2ND STITCH HAUS
   GLOBAL DESIGN SYSTEM
========================================================== */



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

:root{

    --maroon:#512B1C;
    --brown:#502C1F;
    --dark:#4B3A2A;

    --beige:#D3C1A2;
    --gold:#C6A77D;

    --earth:#6B5526;
    --sage:#ACA183;
    --olive:#6E6D48;
    --moss:#5B562F;

    --container:1280px;

}



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

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}



html{

    scroll-behavior:smooth;

}



body{

    background:

    linear-gradient(

        180deg,

        #D9C8AA 0%,

        #D3C1A2 55%,

        #CFB998 100%

    );

    color:var(--maroon);

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

    line-height:1.7;

    overflow-x:hidden;

}



/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3{

    font-family:"Cormorant Garamond",serif;

    font-weight:600;

}



p{

    line-height:1.8;

}



a{

    color:inherit;

    text-decoration:none;

}



img{

    width:100%;

    display:block;

}



button{

    font-family:inherit;

    cursor:pointer;

    border:none;

    background:none;

}



/* ==========================================================
   SHARED LAYOUT
========================================================== */

section{

    padding:130px 8%;

}



.section-divider{

    width:100%;

    height:1px;

    background:

    linear-gradient(

        90deg,

        transparent,

        rgba(81,43,28,.18),

        transparent

    );

}



/* ==========================================================
   SHARED SECTION TITLES
========================================================== */

.section-title{

    max-width:720px;

    margin:0 auto 90px;

    text-align:center;

}



.section-tag{

    letter-spacing:6px;

    font-size:12px;

    text-transform:uppercase;

    opacity:.60;

    margin-bottom:18px;

}



.section-title h2{

    font-size:clamp(48px,6vw,76px);

    line-height:1;

    margin-bottom:26px;

    letter-spacing:-2px;

}



.section-description{

    max-width:620px;

    margin:auto;

    font-size:19px;

    opacity:.78;

}



/* ==========================================================
   BUTTONS
========================================================== */

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:16px 34px;

    border-radius:999px;

    font-size:15px;

    font-weight:500;

    transition:.35s ease;

}



.btn-primary{

    background:var(--maroon);

    color:white;

}



.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:

    0 14px 34px rgba(81,43,28,.22);

}



.btn-secondary{

    border:1px solid rgba(81,43,28,.22);

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

    backdrop-filter:blur(12px);

}



.btn-secondary:hover{

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

}



/* ==========================================================
   ANNOUNCEMENT BAR
========================================================== */

.announcement{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:35px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#512B1C;

    color:#F7F3EC;

    letter-spacing:.7px;

    font-size:11px;

    z-index:1200;

}



/* ==========================================================
   NAVIGATION
========================================================== */

.navbar{

    position:fixed;

    top:35px;

    left:50%;

    transform:translateX(-50%) translateY(-18px);

    width:92%;

    max-width:1280px;

    height:62px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:999px;

    background:

    linear-gradient(

        135deg,

        rgba(255,255,255,.34),

        rgba(255,255,255,.12)

    );

    border:1px solid rgba(255,255,255,.22);

    backdrop-filter:blur(28px);

    -webkit-backdrop-filter:blur(28px);

    box-shadow:

    0 12px 50px rgba(0,0,0,.08),

    inset 0 1px 1px rgba(255,255,255,.35);

    opacity:0;

    pointer-events:none;

    transition:.45s ease;

    z-index:1000;

}



.navbar.show{

    opacity:1;

    pointer-events:auto;

    transform:translateX(-50%) translateY(0);

}



.nav-links{

    display:flex;

    align-items:center;

    gap:42px;

}



.nav-links a{

    position:relative;

    font-size:15px;

    font-weight:500;

    transition:.30s;

}



.nav-links a:hover{

    opacity:.72;

}



.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:1px;

    background:var(--maroon);

    transition:.35s;

}



.nav-links a:hover::after{

    width:100%;

}



.navbar.scrolled{

    box-shadow:

    0 18px 45px rgba(0,0,0,.12);

}



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

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:1s ease;

}



.reveal.active{

    opacity:1;

    transform:none;

}



/* ==========================================================
   KEYFRAMES
========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:none;

    }

}



@keyframes fadeImage{

    from{

        opacity:0;

        transform:scale(.96);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}



@keyframes floatBag{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}



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

.footer{

    background:#4B2B1F;

    color:#F7F3EC;

    margin-top:60px;

    padding:90px 8% 60px;

}



.footer-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

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

    gap:70px;

}



.footer-brand{

    max-width:320px;

    position:relative;

}



.footer-logo{

    width:95px;

    margin-bottom:24px;

}



.footer-description{

    color:rgba(247,243,236,.74);

    font-size:15px;

    line-height:1.9;

    margin-bottom:28px;

}



.footer-copyright{

    color:rgba(247,243,236,.58);

    font-size:13px;

}



.footer-column{

    display:flex;

    flex-direction:column;

}



.footer-column h4{

    font-family:"Cormorant Garamond",serif;

    font-size:28px;

    margin-bottom:22px;

    color:white;

}



.footer-column a{

    color:rgba(247,243,236,.74);

    margin-bottom:14px;

    transition:.30s;

}



.footer-column a:hover{

    color:white;

    transform:translateX(5px);

}



.footer-column p{

    color:rgba(247,243,236,.74);

    margin-bottom:10px;

}



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

@media(max-width:900px){

    section{

        padding:100px 8%;

    }

    .navbar{

        width:94%;

        height:58px;

    }

    .nav-links{

        gap:20px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:45px;

        text-align:center;

    }

    .footer-logo{

        margin:auto auto 25px;

    }

}