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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#FFF8F2;
    color:#333;
    overflow-x:hidden;
}

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

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ==========================
   Navbar
========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    z-index:1000;
}

.navbar{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    color:#5C3A21;
    font-size:28px;
    font-weight:700;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    color:#444;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#5C3A21;
}

.order-btn{
    background:#5C3A21;
    color:#fff;
    padding:12px 25px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.order-btn:hover{
    background:#FFF8F2;
}
/* ================= BRAND LOGO ================= */

.brand{
    display:flex;
    align-items:center;
    gap:10px;

    text-decoration:none;
    color:#5C3A21;
}

.brand img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:50%;
}

.brand span{
    font-size:21px;
    font-weight:700;
    white-space:nowrap;
}


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

@media(max-width:600px){

    .brand img{
        width:40px;
        height:40px;
    }

    .brand span{
        font-size:16px;
    }

}
/* ==========================
   Hero Section
========================== */

.hero{
    width:90%;
    margin:auto;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding-top:120px;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
    color:#222;
}

.hero-text p{
    font-size:18px;
    color:#666;
    line-height:1.8;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    background:#5C3A21;
    color:#fff;
    padding:14px 35px;
    border-radius:40px;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#5C3A21;
    transform:translateY(-3px);
}

.hero-image{
    flex:1;
}

.hero-image img{
    width:90%;
    margin:auto;
    animation:float 3s ease-in-out infinite;
}

@keyframes float{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-20px);
    }
    100%{
        transform:translateY(0);
    }
}

/* ==========================
   Common Section
========================== */

section{
    padding:90px 10%;
}

.section-title{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#5C3A21;
}

/* ==========================
   Responsive
========================== */

@media(max-width:992px){

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

.hero-text h1{
    font-size:42px;
}

.nav-links{
    display:none;
}

.order-btn{
    display:none;
}

}

@media(max-width:576px){

.hero-text h1{
    font-size:34px;
}

.hero-text p{
    font-size:16px;
}

.section-title{
    font-size:32px;
}

.logo{
    font-size:24px;
}

}
/* ==========================
   CAKES SECTION
========================== */

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

.cake-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
}

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

.cake-card img{
    height:250px;
    object-fit:cover;
}

.cake-card h3{
    margin:20px 0 10px;
    color:#333;
    font-size:24px;
}

.cake-card p{
    color:#666;
    padding:0 20px;
    margin-bottom:15px;
}

.cake-card h4{
    color:#5C3A21;
    font-size:24px;
    margin-bottom:20px;
}

/* ==========================
   ABOUT SECTION
========================== */

.about{
    display:flex;
    align-items:center;
    gap:60px;
}

.about-image,
.about-content{
    flex:1;
}

.about-image img{
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.about-content h2{
    font-size:42px;
    color:#5C3A21;
    margin-bottom:20px;
}

.about-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:30px;
}

/* ==========================
   GALLERY
========================== */
/* ================= GALLERY ================= */

.gallery{
    padding:80px 8%;
    background:#FFF8F2;
}

.gallery-container{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;
}

.gallery-container img{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:12px;
    display:block;
    transition:transform .3s ease;
}

.gallery-container img:hover{
    transform:scale(1.03);
}


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

@media(max-width:600px){

    .gallery{
        padding:60px 15px;
    }

    .gallery-container{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
    }

    .gallery-container img{
        border-radius:8px;
    }

}



/* ================= CAKE CATEGORIES ================= */

.categories{
    padding:80px 8%;
    background:#FFF8F2;
}

.cat-container{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;
}

.cat{
    background:#ffffff;
    padding:28px 20px;

    border-radius:15px;

    text-align:center;

    font-size:17px;
    font-weight:600;

    color:#5C3A21;

    box-shadow:0 6px 20px rgba(0,0,0,0.07);

    transition:all .3s ease;
}

.cat:hover{
    transform:translateY(-5px);
    background:#5C3A21;
    color:#ffffff;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}


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

@media(max-width:900px){

    .cat-container{
        grid-template-columns:repeat(2, 1fr);
    }

}


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

@media(max-width:600px){

    .categories{
        padding:60px 15px;
    }

    .cat-container{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
    }

    .cat{
        padding:22px 8px;
        font-size:14px;
        border-radius:12px;
    }

}
/* ==========================
   REVIEWS
========================== */

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

.review-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.review-card i{
    font-size:35px;
    color:#5C3A21;
    margin-bottom:15px;
}

.review-card p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.review-card h3{
    color:#ffc107;
    margin-bottom:5px;
}
.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    text-align:center;
    background:#5C3A21;
    color:#fff;
    padding:60px 10%;
    border-radius:20px;
}

.stats h2{
    font-size:40px;
}

/* ==========================
   CONTACT
========================== */

.contact-box{
    max-width:700px;
    margin:auto;
}

.contact form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact input,
.contact textarea{
    width:100%;
    padding:16px;
    border:2px solid #eee;
    border-radius:12px;
    outline:none;
    font-size:16px;
}

.contact textarea{
    resize:none;
    height:170px;
}

.contact input:focus,
.contact textarea:focus{
    border-color:#5C3A21;
}

.contact button{
    background:#5C3A21;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:12px;
    cursor:pointer;
    font-size:17px;
    transition:.3s;
}

.contact button:hover{
    background:#5C3A21;
}

.floating{
    position:fixed;
    bottom:20px;
    right:20px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.floating a{
    width:50px;
    height:50px;
    background:#5C3A21;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:.3s;
}

.floating a:hover{
    transform:scale(1.1);
}

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

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

footer{
    width:100%;
    box-sizing:border-box;

    background:#5C3A21;
    color:#fff;
    text-align:center;
    padding:40px 20px;

    margin:0;
}


footer h2{
    margin:0 0 10px;
}


footer p{
    margin:10px 0;
}


.social{
    margin:20px 0;
}


.social a{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    width:45px;
    height:45px;

    background:#fff;
    color:#5C3A21;

    border-radius:50%;
    margin:0 8px;

    font-size:20px;

    transition:.3s;
}


.social a:hover{
    transform:translateY(-5px);
}


/* Remove browser default spacing */

html,
body{
    margin:0;
    padding:0;
    width:100%;
}

*{
    box-sizing:border-box;
}
/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

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

.about-content h2{
    font-size:34px;
}

.cake-card img,
.gallery-container img{
    height:220px;
}

}

/* Scroll Animation */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Active Navbar */

.nav-links a.active{
    color:#5C3A21;
    font-weight:600;
}
.menu-section{
    background:#FFF8F2;
    padding:90px 8%;
}

.tabs{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:35px;
}

.tab-btn{
    border:none;
    padding:13px 22px;
    border-radius:30px;
    background:#f0e6dc;
    color:#5C3A21;
    font-weight:600;
    cursor:pointer;
}

.tab-btn.active{
    background:#5C3A21;
    color:#fff;
}
/* ================= LOCATION ================= */

.location{
    padding:80px 8%;
    background:#FFF8F2;
    text-align:center;
}

.location .section-title{
    margin-bottom:35px;
}

.map-container{
    max-width:1200px;
    margin:auto;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.10);
}

.map-container iframe{
    width:100%;
    height:450px;
    display:block;
    border:0;
}


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

@media(max-width:600px){

    .location{
        padding:60px 15px;
    }

    .map-container{
        border-radius:12px;
    }

    .map-container iframe{
        height:350px;
    }

}
/* ================= OUR BRANCHES ================= */

.branches{
    padding:80px 8%;
    background:#ffffff;
    text-align:center;
}

.branches-subtitle{
    color:#777;
    margin:-15px auto 40px;
    max-width:600px;
}

.branch-container{
    max-width:1000px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:25px;
}

.branch-box{
    background:#FFF8F2;
    padding:35px 25px;
    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,0.07);

    transition:all .3s ease;
}

.branch-box:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

.branch-icon{
    font-size:32px;
    margin-bottom:10px;
}

.branch-box h3{
    color:#5C3A21;
    font-size:24px;
    margin-bottom:15px;
}

.branch-box p{
    color:#666;
    line-height:1.7;
}

.branch-time{
    font-size:14px;
    margin:15px 0 22px;
}

.branch-btn{
    display:inline-block;
    padding:12px 22px;

    background:#5C3A21;
    color:#fff;

    text-decoration:none;
    border-radius:25px;

    font-size:14px;
    font-weight:600;

    transition:.3s;
}

.branch-btn:hover{
    background:#B8864A;
}


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

@media(max-width:600px){

    .branches{
        padding:60px 15px;
    }

    .branch-container{
        grid-template-columns:1fr;
        gap:18px;
    }

    .branch-box{
        padding:28px 20px;
    }

}


/* ================= CAKE VIDEO ================= */

.cake-video{
    padding:80px 8%;
    background:#FFF8F2;
    text-align:center;
}

.video-subtitle{
    color:#777;
    margin:-15px auto 35px;
}

.video-container{
    width:100%;
    max-width:420px;
    margin:auto;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.video-container video{
    width:100%;
    aspect-ratio:9 / 16;
    object-fit:cover;
    display:block;
}


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

@media(max-width:600px){

    .cake-video{
        padding:60px 15px;
    }

    .video-container{
        max-width:100%;
        border-radius:15px;
    }

}