*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: "Inter", sans-serif;
}

:root {
    --bg-color: #F5E9DD;        
    --text-color: #2E2A26;      
    --main-color: #FF8C42;      
    --other-color: #653f21;    
    --second-color: #D9CFC4;   
    --alt-color: #8B5E3C;       

    --h1-font: 7.5rem;
    --h2-font: 5.5rem;
    --p-font: 1.1rem;
}

.fade-out {
  animation: fadeOut .4s ease forwards;
}
@keyframes fadeOut {
  to { opacity: 0; transform: scale(.98); }
}

.fade-in {
  animation: fadeIn .4s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}

@font-face {
    font-family: "Croogla 4F";
    src: url("https://db.onlinewebfonts.com/t/3906224246f0b3dde8c3700ab84067a2.eot");
    src: url("https://db.onlinewebfonts.com/t/3906224246f0b3dde8c3700ab84067a2.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/3906224246f0b3dde8c3700ab84067a2.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/3906224246f0b3dde8c3700ab84067a2.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/3906224246f0b3dde8c3700ab84067a2.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/3906224246f0b3dde8c3700ab84067a2.svg#Croogla 4F")format("svg");
}

body {
    color: var(--text-color);
    background: linear-gradient(
        250.55deg,
        #F5E9DD 0%,
        #EBD9C8 28.55%,
        #F5E9DD 75.55%
    );
}


header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.7s ease;
}

.logo img{
    width: 130px;
    height: auto;
}

.navlinks a{
    display: inline-block;
    font-size: var(--p-font);
    color: var(--other-color);
    font-weight: 500;
    margin: 0 32px;
    transition: all .6s ease;
}

.navlinks a:hover{
    color: var(--main-color);
}

.nav-side{
    display:flex;
    align-items: center;
}

.n-btn{
    display: inline-block;
    padding: 14px 25px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    border-radius: 0.8rem;
    background: transparent;
    transition: all 0.7s ease;
}

.n-btn:hover{
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: var(--bg-color);
    transform: scale(1.07) translateY(-5px);
}

#menu-icon{
    font-size: 42px;
    z-index: 10001;
    cursor: pointer;
    margin-left: 20px;
    display: none;
}

section{
    padding: 90px 17% 80px;
    margin-bottom: 40px; /* Add spacing between sections */
}

.home{
    position: relative;
    width: 100%;
    /* height: 100vh; removed for responsiveness */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}

.home-img img{
    width: 400px;
    height: auto;
}

.home-text h1{
    font-family: "Forum", serif;
    font-size: var(--h1-font);
    font-weight: 500;
    margin: 22px 0;
}

.home-text h4{
    font-size: 30px;
    font-weight: 500;
    color: var(--main-color);
    font-family: "Forum", serif;
}

.home-text p{
    font-size: var(--p-font);
    font-weight: 400;
    line-height: 32px;
}

.social{
    position:absolute;
    top:50%;
    padding: 0 8%;
    transform: translateY(-50%);
}

.social i{
    display: block;
    color: var(--text-color);
    margin: 28px 0;
    font-size: 22px;
    transition: all .7s ease;
}

.social i:hover{
    transform: scale(1.1) translateY(-5px);
    color: var(--main-color);
}

.arrow-box{
    position: absolute;
    bottom: 12%;
    right: 20%;
}

.arrow-box i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 50%;
    font-size: 35px;
    transition: all 0.7s ease;
}

.arrow-box i:hover{
    background: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    transform: scale(0.9);
}

header.sticky {
    background: linear-gradient(250.55deg, #EBD9C8 0%, #F5E9DD 75.55%);
    padding: 8px 4%;
}
.about{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    /* height: 100vh; removed for responsiveness */
    gap: 3rem;
}

.about img{
    width: 100%;
    height: auto;
}

.about-text h2{
    font-family: "Forum", serif;
    font-size: var(--h2-font);
    font-weight: 500;
    margin-bottom: 22px;
}

.about-text p{
    font-size: var(--p-font);
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 40px;
}

.btn{
    display:inline-block;
    padding: 14px 25px;
    font-size: 14px;
    font-weight: 500;
    background: var(--main-color);
    color: var(--bg-color);
    text-transform: uppercase;
    border: 1px solid var(--main-color);
    border-radius: 0.8rem;
    transition: all 0.7s ease;
}

.btn:hover{
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    transform: scale(1.1);
    letter-spacing: 2px;
}

.head-text{
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.head-left h4{
    font-size: var(--h2-font);
    font-weight: 500;
    font-family: "Forum", serif;
}

.head-right h4{
    font-size: 25px;
    font-weight : 500;
}

.product-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-top: 4rem;
}

.box-img img{
    max-width: 250px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.7s ease;
}

.box{
    position:relative;
    background: linear-gradient(180deg, rgba(255, 140, 66, 0.25) 0%, rgba(224, 193, 162, 0.7) 100%);
    padding: 40px 60px;
    border: 1px solid #352317;
    border-radius: 0.8rem;
}

.box h3{
    font-size: 35px;
    font-weight: 500;
}

.box h5{
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.7s ease;
}

.cart i{
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 40px;
    background: var(--main-color);
    color: var(--bg-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 0px 0.8rem 0px 0px;
    transition: all 0.7s ease;
}

.box:hover img{
    transform: scale(1.03) translateY(-6px);
    cursor: pointer;
}

.box:hover h5{
    color: var(--main-color);
    transition: all 0.7s ease;
}

.collab-content{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}

.collab-img img{
    max-width: 630px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.8rem;
}

.collab-text{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 20px;
}

.row:not(:last-child){
    border-bottom: 1px solid var(--main-color);
    border-width: 40%;
    padding-bottom: 30px;
    cursor: pointer;
}

.row h5{
    font-family: "Forum", serif;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 7px;
    transition: all .7s ease;
}

.row a{
    color: var(--main-color);
    font-size: var(--p-font);
    font-weight: 500;
}

.row:hover h5{
    color: var(--main-color);
}

.contact-content{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.contact-content h2{
    font-family: "Forum", serif;
    font-weight: 500;
    margin-bottom: 40px;
    font-size: var(--h2-font);
}

.contact-content hr{
    width: 15.3333%;
    border: 1px solid var(--main-color);
    margin-bottom: 50px;
    cursor: pointer;
    transition: all .7s ease;
}

.contact-content:hover hr{
    width: 20.3333%;
}

.contact-content p{
    color: var(--other-color);
    font-size: var(--p-font);
    font-weight: 500;
    margin-bottom: 40px;
}

.s-links{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.s-links a{
    display: inline-block;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 500;
    color: var(--main-color);
    border: 1px solid var(--second-color);
    border-radius: 0.8rem;
    margin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .7s ease;
}

.s-links a:hover{
    background: var(--main-color);
    color:var(--bg-color);
}

.contact-form{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-box{
    background: linear-gradient( 180deg, rgba(255, 168, 106, 0.15) 0%, rgba(141, 98, 55, 0.25) 100% );
    padding: 36px;
    border-radius: 0.8rem;
    border: 1px solid #352317;
    width: 100%;
    max-width: 560px;
}

.form-box h3{
    font-family: "Forum", serif;
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.form-box .input-group{
    margin-bottom: 16px;
}

.form-box input,
.form-box textarea{
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    border-radius: 0.6rem;
    font-size: var(--p-font);
}

.form-box textarea{
    min-height: 140px;
    resize: vertical;
}

.form-box input:focus,
.form-box textarea:focus{
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 8px 20px rgba(255,168,106,0.06);
}

.form-box .btn{
    width: 100%;
    padding: 14px 18px;
    text-align: center;
}

.form-box .btn:hover{
    cursor:pointer;
}

.footer{
    padding: 20px 14%;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.copyright a{
    color: var(--other-color);
    font-size: 15px;
    font-weight: 400;
}

.scroll-btnn i{
    display:inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 50%;
    font-size: 24px;
}

@media(max-width: 1880px){
    header{
        padding: 20px 4%;
    }
    .social{
        padding: 0 4%;
    }
    .arrow-box{
        bottom: 15%;
        right: 20%;
    }
    section{
        padding: 80px 13% 70px;
    }
    .header.sticky{
        padding: 13px 4%;
    }
    .footer{
        padding: 15px 4%;
    }
}

@media(max-width: 1670px){
    :root{
        --h1-font: 6.5rem;
        --h2-font: 4.8rem;
        --p-font: 1rem;
    }
}

@media(max-width: 1460px){
    header{
        padding: 20px 2%;
    }
    .social{
        padding: 0 2%;
    }
    section{
        padding: 80px 10% 70px;
    }
    .header.sticky{
        padding: 13px 2%;
    }
    .footer{
        padding: 10px 2%;
    }
}

@media(max-width: 1350px){
    .social{
        display:none;
    }
    section{
        padding: 80px 5% 70px;
    }
}

@media(max-width: 1200px){
    .home{
        /* height:90vh; removed for responsiveness */
    }
    :root{
        --h1-font: 5.2rem;
        --h2-font: 3.5rem;
    }
    .home-img img{
        max-width: 500px;
        height:100%;
        width:100%;
        object-fit: contain;
    }
    .about-img img{
        max-width: 500px;
        height:100%;
        width:100%;
        object-fit: contain;
    }
    .arrow-box{
        bottom: -5%;
        right: 30%;
    }
    .arrow-box i{
        height: 50px;
        width: 50px;
        font-size: 25px;
    }
}

@media(max-width: 1100px){
    .product-content{
        grid-template-columns:repeat(auto-fit, minmax(300px, auto));
    }
    .collab-content{
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .collab-img{
        margin: 0 auto;
        text-align: center;
        order: 2;
    }
    .row h5{
        font-size: 35px;
    }
}

@media(max-width: 960px){
    section{
        padding: 80px 2% 80px;
    }
    .footer{
        padding: 10px 2%;
    }
    .home-img img{
        max-width: 380px;
        height: 100%;
        width: 100%;
        object-fit: contain;
    }
    .about-img img{
        max-width: 380px;
        height: 100%;
        width: 100%;
        object-fit: contain;
    }
    .home{
        /* height: 85vh; removed for responsiveness */
    }
    :root{
        --h1-font: 4.5rem;
        --h2-font: 3rem;
        --p-font: 15px;
     }
}

@media(max-width: 830px){
    .arrow-box{
        display: none;
    }
    .home{
        grid-template-columns: 1fr;
        /* height: 105vh; removed for responsiveness */
    }
    .home-text{
        padding-top: 50px;
    }
    .home-img{
        text-align: center;
        margin: 0 auto;
    }
    .home-img img{
        max-width:335px;
        height:100%;
        width:100%;
        object-fit: contain;
    }
    .about{
        grid-template-columns: 1fr;;
    }
    .about-img{
        order: 2;
        text-align: center;
        margin: 0 auto;
    }
    .about-img img{
        max-width:650px;
        height:100%;
        width:100%;
        object-fit: contain;
    }
    #menu-icon{
        display:initial;
    }
    .navlinks{
        position:absolute;
        width:100%;
        height: 100vh;
        padding: 70px 50px;
        top: 0;
        right: 0;
        left: 100%;
        display: flex;
        flex-direction: column;
        backdrop-filter: blur(30px);
        transition: all .7s ease-in-out;
    }
    .navlinks a{
        display:block;
        padding: 0;
        margin: 0px 0px 32px 0px;
        font-size: 1.8rem;
        font-weight: 400;
    }
    .navlinks.open{
        left:0;

    }
}

@media(max-width: 700px){
    .home{
        /* height: 95vh; removed for responsiveness */
    }
    section{
        padding: 70px 2%;
    }
    .contact-content{
        padding: 10px;
    }
    .s-links a{
        padding: 10px 18px;
        font-size: 12px;
        margin: 5px 4px;
    }
    .logo img{
        max-width: 130px;
    }
    .n-btn{
        padding: 10px 20px;
        font-size: 13px; 
    }
}