/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--off-white);
    color:var(--charcoal);
    line-height:1.6;
    overflow-x:hidden;
}

/* =========================
   COLOR PALETTE
========================= */
:root{

    /* Brand Colors */
    --beige:#E8DCC8;
    --cream:#F5F0E8;
    --light-yellow:#F6EFCF;
    --khaki:#C8B896;
    --tan:#B8A07A;
    --camel:#A08060;
    --light-brown:#886848;
    --brown:#5C4030;
    --taupe:#887060;

    /* Neutral Colors */
    --white:#FFFFFF;
    --off-white:#FAF7F2;
    --light-gray:#E8E4DC;
    --silver:#C8C4BC;
    --gray:#9A9690;
    --dark-gray:#5C5850;
    --charcoal:#2C2A26;

}

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

img{
    max-width:100%;
    display:block;
}

section{
    padding:80px 8%;
}

.title{
    text-align:center;
    font-size:2rem;
    font-weight:700;
    color:var(--brown);
    margin-bottom:40px;
    letter-spacing:2px;
}

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

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(245,240,232,.95);
    backdrop-filter:blur(12px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    border-bottom:1px solid var(--light-gray);
    z-index:1000;
}

.logo{
    font-size:1.7rem;
    font-weight:800;
    letter-spacing:3px;
    color:var(--brown);
}

.desktop-nav{
    display:flex;
    align-items:center;
    gap:25px;
}

.desktop-nav a{
    text-decoration:none;
    color:var(--dark-gray);
    font-weight:500;
    transition:.3s;
}

.desktop-nav a:hover{
    color:var(--camel);
}

.desktop-nav i{
    color:var(--camel);
    font-size:1.1rem;
}

.hamburger{
    display:none;
    background:none;
    border:none;
    font-size:1.5rem;
    color:var(--brown);
    cursor:pointer;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-nav{
    display:none;
    flex-direction:column;
    background:var(--cream);
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    border-top:1px solid var(--light-gray);
}

.mobile-nav a{
    padding:15px 8%;
    text-decoration:none;
    color:var(--dark-gray);
    border-bottom:1px solid var(--light-gray);
}

.mobile-nav.open{
    display:flex;
}

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

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px 80px;
    color:white;

    background:
    linear-gradient(
    rgba(44,42,38,.45),
    rgba(44,42,38,.45)),
    url("images/hero.jpg")
    center/cover no-repeat;
}

.hero h1{
    font-size:4rem;
    margin-bottom:15px;
}

.hero p{
    max-width:700px;
    margin:auto;
    font-size:1.1rem;
}

.hero .btn{
    margin-top:25px;
}

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

.btn{
    display:inline-block;
    padding:14px 30px;
    background:var(--camel);
    color:white;
    text-decoration:none;
    border:none;
    border-radius:50px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:var(--brown);
    transform:translateY(-3px);
}

/* =========================
   GRID
========================= */

.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

/* =========================
   CARD
========================= */

.card{
    background:var(--white);
    border:1px solid var(--light-gray);
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.card:hover{
    transform:translateY(-6px);
}

.card img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

.card-content h3{
    color:var(--charcoal);
    margin-bottom:8px;
}

.card-content p{
    color:var(--gray);
}

.price{
    color:var(--camel)!important;
    font-size:1.1rem;
    font-weight:700;
    margin-top:10px;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter{
    background:var(--beige);
    border-radius:25px;
    text-align:center;
}

.newsletter p{
    margin-bottom:20px;
}

.newsletter-form{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.newsletter input{
    width:320px;
    max-width:100%;
    padding:14px;
    border:none;
    border-radius:50px;
    outline:none;
}

.newsletter button{
    padding:14px 25px;
    border:none;
    border-radius:50px;
    background:var(--brown);
    color:white;
    cursor:pointer;
}

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

footer{
    background:var(--charcoal);
    color:var(--silver);
    padding:70px 8%;
}

.footer-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

footer h4{
    color:var(--khaki);
    margin-bottom:15px;
}

footer p{
    color:var(--gray);
}

footer a{
    display:block;
    text-decoration:none;
    color:var(--gray);
    margin-bottom:8px;
    transition:.3s;
}

footer a:hover{
    color:var(--khaki);
}

/* =========================
   SOCIAL
========================= */

.social{
    display:flex;
    gap:12px;
    margin-top:15px;
}

.social div{
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--dark-gray);
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    transition:.3s;
}

.social div:hover{
    background:var(--camel);
}

.social i{
    color:var(--cream);
}

/* =========================
   ICON COLORS
========================= */

.fa-cart-shopping,
.fa-heart,
.fa-facebook,
.fa-instagram,
.fa-telegram{
    color:var(--camel);
}

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

@media (max-width:992px){

.hero h1{
    font-size:3rem;
}

section{
    padding:70px 6%;
}

}

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

@media (max-width:768px){

.desktop-nav{
    display:none;
}

.hamburger{
    display:block;
}

.hero h1{
    font-size:2.4rem;
}

.hero p{
    font-size:.95rem;
}

.title{
    font-size:1.6rem;
}

.grid{
    grid-template-columns:1fr;
}

.card img{
    aspect-ratio:1/1;
}

.newsletter-form{
    flex-direction:column;
    align-items:center;
}

section{
    padding:60px 5%;
}

}

/* =========================
   SMALL PHONES
========================= */

@media (max-width:480px){

.logo{
    font-size:1.2rem;
}

.hero h1{
    font-size:2rem;
}

.hero p{
    font-size:.9rem;
}

.btn{
    width:100%;
    text-align:center;
}

}