/* =========================
   THE FLOUR PANTRY
   STYLE.CSS
========================= */

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

:root{
    --brown:#5A3B20;
    --dark-brown:#6B4A2B;
    --cream:#FCF8F2;
    --light-cream:#F8F4E8;
    --gold:#C89B3C;
    --terracotta:#B86F4B;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#FCF8F2;
    color:#333;
    line-height:1.6;
}

/* HEADER */

header{
    background:#F8F4E8;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
   text-decoration:none;
color:inherit;
}

.logo img{
    width:150px;
    height:150px;
}

.logo-text h1{
    font-family:"Times New Roman", serif;
    font-size:42px;
    color:#5A3B20;
    letter-spacing:2px;
    text-transform:uppercase;
}

.logo-text p{
    color:#8A6A44;
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:15px;
}

nav a{
    color:#5A3B20;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
    position:relative;
}

nav a:hover{
    color:var(--gold);
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0;
    height:2px;
    background:var(--gold);
    transition:.3s ease;
}

nav a:hover::after{
    width:100%;
}
/* HERO */

.hero{
    padding:100px 8%;
    background:linear-gradient(rgba(252,248,242,.9),rgba(252,248,242,.9)),
               url("images/wheat-bg.jpg");
    background-size:cover;
    background-position:center;
}
.hero-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.hero-text{
    flex:1;
}

.hero h2{
    font-family:"Times New Roman", serif;
    font-size:58px;
    color:#5A3B20;
    line-height:1.2;
    margin-bottom:35px;
}
.hero h2::after{
    content:"";
    display:block;
    width:100%;
    height:4px;
    background:var(--gold);
    margin-top:35px;
    border-radius:10px;
}
.hero p{
    font-size:22px;
    color:#8A6A44;
    margin-bottom:35px;
}

.hero a{
    display:inline-block;
    padding:16px 45px;
    background:var(--terracotta);
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:bold;
    letter-spacing:1px;
    transition:.3s ease;
    box-shadow:0 8px 18px rgba(184,111,75,.25);
}

.hero a:hover{
    background:var(--gold);
    color:#fff;
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(200,155,60,.3);
}
* =========================
   FEATURES
========================= */

.features{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
    padding:70px 8%;
    background:#FCF8F2;
}

.feature-box{
    width:170px;
    text-align:center;
}

.feature-box i{
    width:80px;
    height:80px;
    margin:0 auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#F2E2B8;
    color:var(--brown);
    font-size:34px;
    transition:.4s ease;
    box-shadow:0 6px 15px rgba(200,155,60,.15);
}

.feature-box:hover i{
    background:var(--gold);
    color:#fff;
    transform:translateY(-7px) scale(1.05);
    box-shadow:0 10px 20px rgba(200,155,60,.25);
}

.feature-box p{
    color:#5A3B20;
    font-weight:bold;
    text-transform:uppercase;
    font-size:15px;
}

/* =========================
   PRODUCTS
========================= */

.products{
    padding:90px 8%;
}

.products h2{
    text-align:center;
    font-family:"Times New Roman", serif;
    font-size:42px;
    color:var(--brown);
    margin-bottom:20px;
    position:relative;
}
.products h2::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:var(--gold);
    margin:15px auto 0;
    border-radius:10px;
}
.product-subtitle{
    text-align:center;
    color:#8A6A44;
    font-size:18px;
    margin-bottom:50px;
}

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

.card{
    background:#fff;
    border-radius:24px;
    padding:30px;
    text-align:center;
    border:1px solid #EADCC7;
    box-shadow:0 10px 25px rgba(0,0,0,.07);
    transition:.4s ease;
    display:flex;
    flex-direction:column;
    min-height:430px;
}

.card:hover{
    transform:translateY(-10px);
    border-color:var(--gold);
    box-shadow:0 18px 35px rgba(90,59,32,.12);
}
.product-image{
    width:110px;
    height:110px;
    margin:0 auto 25px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F2E2B8;
    border-radius:50%;
    border:4px solid #F8F0DD;
    box-shadow:0 6px 15px rgba(200,155,60,.15);
}

.product-image i{
    font-size:44px;
    color:var(--brown);
    transition:.3s ease;
}
.card:hover .product-image i{
    color:var(--terracotta);
    transform:scale(1.1);
}
.card h3{
    color:var(--brown);
    font-size:24px;
    margin-bottom:15px;
    position:relative;
}
.card h3::after{
    content:"";
    display:block;
    width:35px;
    height:2px;
    background:var(--gold);
    margin:10px auto 0;
    border-radius:10px;
}
.card p{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
    flex-grow:1;
}

.card a{
    display:inline-block;
    padding:14px 30px;
    background:#6B4A2B;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}
.card strong{
    display:block;
    color:var(--brown);
    font-size:21px;
    margin-bottom:20px;
    font-weight:700;
}
.card a:hover{
    background:#8B5E34;
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(107,74,43,.3);
}
.card .add-to-cart{
    display:inline-block;
    padding:14px 30px;
    background:#6B4A2B;
    color:#fff;
    border:none;
    border-radius:40px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
    font-size:16px;
}

.card .add-to-cart:hover{
    background:#8B5E34;
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(107,74,43,.3);
}
/* =========================
   ABOUT
========================= */

.about{
    padding:90px 8%;
    background:#F6EBDD;
}
.about-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.about h2{
    font-family:"Times New Roman", serif;
    font-size:42px;
    color:var(--brown);
    margin-bottom:35px;
    position:relative;
}
.about h2::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:var(--terracotta);
    margin:15px auto 0;
    border-radius:10px;
}
.about p{
    font-size:18px;
    color:#666;
    line-height:1.8;
    margin-bottom:20px;
}

.about a{
    display:inline-block;
    margin-top:20px;
    padding:15px 40px;
    background:#6B4A2B;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}

.about a:hover{
    background:#8B5E34;
}
/* =========================
   WHY CHOOSE US
========================= */

.why-choose{
    padding:90px 8%;
    background:#FFF9EF;
    text-align:center;
}
.why-choose h2{
    font-family:"Times New Roman", serif;
    font-size:42px;
    color:var(--brown);
    margin-bottom:50px;
    position:relative;
}
.why-choose h2::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:var(--gold);
    margin:15px auto 0;
    border-radius:10px;
}
.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.why-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
   transition:.4s ease;
}

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

.why-card i{
    font-size:42px;
    color:var(--terracotta);
    margin-bottom:20px;
    transition:.3s ease;
}
.why-card:hover i{
    color:var(--gold);
    transform:scale(1.1);
}
.why-card h3{
    color:#5A3B20;
    margin-bottom:15px;
}

.why-card p{
    color:#666;
    line-height:1.7;
}
/* =========================
   TESTIMONIALS
========================= */

.testimonials{
    padding:90px 8%;
    background:#F8F0E2;
    text-align:center;
}
.testimonials h2{
    font-family:"Times New Roman", serif;
    font-size:42px;
    color:var(--brown);
    margin-bottom:50px;
    position:relative;
}
.testimonials h2::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:var(--terracotta);
    margin:15px auto 0;
    border-radius:10px;
}
.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#FFFDF9;
    padding:35px;
    border-radius:22px;
    border:1px solid #EADCC7;
    box-shadow:0 10px 25px rgba(90,59,32,.07);
    transition:.4s ease;
}

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

.testimonial-card p{
    font-style:italic;
    color:#666;
    margin-bottom:20px;
    line-height:1.8;
}

.testimonial-card h4{
    color:var(--gold);
    font-size:22px;
    letter-spacing:3px;
}/* =========================
   CONTACT
========================= */

.contact{
    padding:90px 8%;
    background:#FFF8ED;
    text-align:center;
}
.contact h2{
    font-family:"Times New Roman", serif;
    font-size:42px;
    color:var(--brown);
    margin-bottom:35px;
    position:relative;
}
.contact h2::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:var(--gold);
    margin:15px auto 0;
    border-radius:10px;
}
.contact-subtitle{
    color:#8A6A44;
    font-size:18px;
    margin-bottom:50px;
}

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

.contact-card{
    background:#fff;
    padding:35px;
    border-radius:22px;
    border:1px solid #EADCC7;
    box-shadow:0 10px 25px rgba(90,59,32,.07);
    transition:.4s ease;
   text-decoration:none;
color:inherit;
}

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

.contact-card i{
    font-size:40px;
    color:var(--terracotta);
    margin-bottom:20px;
    transition:.3s ease;
}
.contact-card:hover i{
    color:var(--gold);
    transform:scale(1.1);
}
.contact-card h3{
    color:#5A3B20;
    margin-bottom:10px;
}

.contact-card p{
    color:#666;
}

/* Add this here */
section{
    scroll-margin-top:100px;
}

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

footer{
    background:#5A3B20;
    color:#fff;
    text-align:center;
    padding:25px;
    font-size:15px;
    margin-top:0;
}

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

@media (max-width:768px){

header{
    flex-direction:column;
    text-align:center;
    padding:20px;
}

.logo{
    flex-direction:column;
    gap:10px;
}

.logo img{
    width:100px;
    height:100px;
}
.logo-text h1{
    font-size:30px;
}

.logo-text p{
    font-size:13px;
    letter-spacing:2px;
}

nav{
    margin-top:28px;
    flex-wrap:wrap;
    justify-content:center;
    gap:50px;
}
   nav a{
    font-size:25px;
    font-weight:600;
}
.hero{
    padding:100px 8%;
    background:linear-gradient(rgba(252,248,242,.9),rgba(252,248,242,.9)),
               url("images/wheat-bg.jpg");
    background-size:cover;
    background-position:center;
}

.hero-content{
    flex-direction:column;
    text-align:center;
}

.hero h2{
    font-size:34px;
}
.hero h2::after{
    width:100%;
    height:4px;
    margin-top:25px;
}   
.hero p{
    font-size:18px;
}

.hero a{
    width:100%;
    max-width:280px;
}

.features{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px 15px;
    padding:50px 20px;
}

.feature-box{
    width:auto;
}
.feature-box i{
    transition:.4s;
}

.feature-box:hover i{
    transform:rotate(12deg) scale(1.1);
}

.products,
.about,
.contact{
    padding:60px 20px;
}

.products h2,
.about h2,
.contact h2{
    font-size:32px;
}

.product-subtitle,
.contact-subtitle{
    font-size:16px;
}

.product-grid,
.contact-grid{
    grid-template-columns:1fr;
}

.card,
.contact-card{
    padding:22px;
}

.about p{
    font-size:16px;
}

.about a{
    width:100%;
    max-width:280px;
}

}
.whatsapp-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:25px;
    right:25px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    z-index:9999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    background:#1ebe5d;
}

.card a{
    width:100%;
    max-width:260px;
    margin:0 auto;
}
/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.hero-text,
.feature-box,
.card,
.why-card,
.testimonial-card,
.contact-card{
    animation:fadeUp .8s ease forwards;
}



   
