/* ======================================================
   Sri Bahari Hainan Chicken Rice
   Main Stylesheet
   Part 1
====================================================== */

/*==============================
Root Variables
==============================*/

:root{

    --primary:#c41e23;
    --primary-dark:#9d161b;
    --gold:#b08a3c;
    --dark:#252525;
    --text:#555;
    --light:#f8f8f8;
    --section:#faf8f5;
    --border:#ececec;
    --white:#ffffff;
    --shadow:0 15px 45px rgba(0,0,0,.08);
    --transition:.35s ease;
    --yellow:#f2d996;
}



/*==============================
Global
==============================*/

html{

    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
    line-height:1.8;
}

img{

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

a{

    text-decoration:none;
    transition:var(--transition);
}

section{

    position:relative;
}

.section{

    padding:110px 0;
}

.bg-light{

    background:var(--section)!important;
}

.text-gold {
    color: var(--yellow)!important;
}

/*==============================
Typography
==============================*/

h1,h2,h3,h4,h5{

    font-family:'Cormorant Garamond',serif;
    color:var(--dark);
    font-weight:700;
}

.section-title{

    margin-bottom:70px;

}

.section-title span{

    display:inline-block;
    
    font-size:.82rem;
    font-weight:600;
    letter-spacing:3px;
    margin-bottom:10px;
}

.section-title h2{

    font-size:3.2rem;
    line-height:1.1;
        color:var(--primary);
}

.cn-title{

    font-family:'Noto Serif SC',serif;
    font-size:1.6rem;
    color:var(--dark);
    margin-bottom:20px;
}

.cn{

    font-family:'Noto Serif SC',serif;
    color:#666;
}


/*==============================
Divider
==============================*/

.divider{

    width:80px;
    height:2px;
    background:var(--gold);
    margin:40px 0;
}


/*==============================
Buttons
==============================*/

.btn{

    border-radius:50px;
    padding:13px 34px;
    font-weight:600;
    transition:.35s;
}

.btn-brand{

    background:var(--primary);
    color:#fff;
    border:none;
    box-shadow:0 8px 25px rgba(196,30,35,.25);
}

.btn-brand:hover{

    background:var(--primary-dark);
    color:#fff;
    transform:translateY(-3px);
}

.btn-outline-light{

    border:2px solid rgba(255,255,255,.75);
}

.btn-outline-light:hover{

    background:#fff;
    color:var(--dark);
}

.btn-outline-dark{

    border-radius:50px;
}


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

.custom-navbar{

    padding:18px 0;
    transition:.4s;
    background:transparent;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.custom-navbar.scrolled{

    background:#fff;
    box-shadow:0 8px 35px rgba(0,0,0,.08);
    padding:12px 0;
}

.navbar-brand{

    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.brand-main{

    font-family:'Cormorant Garamond',serif;
    font-size:2rem;
    font-weight:700;
    color:#fff;
    transition:.35s;
}

.navbar-brand small{

    color:#eee;
    letter-spacing:2px;
    font-size:.7rem;
    transition:.35s;
}

.custom-navbar.scrolled .brand-main{

    color:var(--dark);
}

.custom-navbar.scrolled .navbar-brand small{

    color:#777;
}

.nav-link{

    color:#fff;
    margin-left:18px;
    font-weight:500;
    position:relative;
}

.custom-navbar.scrolled .nav-link{

    color:var(--dark);
}

.nav-link::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.35s;
}

.nav-link:hover::after{

    width:100%;
}

.nav-link:hover{

    color:var(--primary);
}


/*==============================
Hero
==============================*/

#hero{

    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background: #000;
}

.hero-image{

    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
    transform:scale(1.05);
    opacity:1;
    transition:opacity 0.7s ease;
}


.hero-overlay{

    position:absolute;
    width: 100%;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.45)
    );
    z-index:1;
}

.hero-content{

    position:relative;
    z-index:2;
    color:#fff;
    max-width:760px;
    text-align:center;
    margin:auto;
}

.hero-badge{

    display:inline-block;
    padding:10px 22px;
    border:1px solid rgba(255,255,255,.3);
    border-radius:30px;
    letter-spacing:3px;
    font-size:.75rem;
    margin-bottom:30px;
    backdrop-filter:blur(10px);
}

.hero-content h1{

    color:#fff;
    font-size:5.5rem;
    line-height:.95;
    margin-bottom:30px;
}

.hero-content h1 span{

    display:block;
    font-size:2.2rem;
    font-family:'Inter';
    letter-spacing:3px;
    font-weight:300;
    margin-top:18px;
}

.hero-subtitle{

    max-width:650px;
    margin:auto;
    font-size:1.2rem;
    color:rgba(255,255,255,.9);
}

.hero-divider{

    width:120px;
    height:2px;
    background:var(--gold);
    margin:40px auto;
}

.hero-chinese{

    font-family:'Noto Serif SC',serif;
    font-size:1.6rem;
    line-height:2;
    color:#fff;
}


/*==============================
Story Section
==============================*/

.story-image{

    box-shadow:var(--shadow);
    transition:.5s;
}

.story-image:hover{

    transform:scale(1.03);
}

.story-card{

    background:#fff;
    border-radius:24px;
    padding:50px;
    box-shadow:var(--shadow);
}

.story-card h3{

    margin-bottom:30px;
    font-size:2rem;
}

.story-card p{

    margin-bottom:20px;
}

/*======================================================
  Promise Cards
======================================================*/

.promise-card{

    background:#fff;
    border-radius:26px;
    padding:50px 35px;
    text-align:center;
    height:100%;
    box-shadow:var(--shadow);
    transition:.35s;
    border-top:4px solid transparent;
}

.promise-card:hover{

    transform:translateY(-10px);
    border-color:var(--primary);
}

.promise-card .icon{

    font-size:3rem;
    margin-bottom:25px;
}

.promise-card h4{

    font-size:2rem;
    margin-bottom:15px;
}

.promise-card p{

    color:#666;
    margin-bottom:0;
}


/*======================================================
  Visit Us
======================================================*/

.visit-section{

    background:var(--section);
}

.visit-info{

    background:#fff;
    border-radius:24px;
    padding:45px;
    box-shadow:var(--shadow);
}

.visit-info p{

    margin-bottom:18px;
    font-size:1.05rem;
}

.visit-info strong{

    font-size:1.3rem;
    color:var(--dark);
}


/*======================================================
  Footer
======================================================*/

footer{

    background:#202020;
    color:#bbb;
    padding:70px 0;
}

footer h3{

    color:#fff;
    font-size:2.5rem;
    margin-bottom:15px;
}

footer p{

    margin-bottom:10px;
    color:#ccc;
}

footer small{

    color:#888;
}


/*======================================================
  Image Hover
======================================================*/

img{

    transition:.5s;
}

.story-image:hover{

    transform:scale(1.04);
}

.visit-section img:hover{

    transform:scale(1.04);
}


/*======================================================
  Selection
======================================================*/

::selection{

    background:var(--primary);
    color:#fff;
}


/*======================================================
  Scrollbar
======================================================*/

::-webkit-scrollbar{

    width:10px;
}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-track{

    background:#f3f3f3;
}



/*======================================================
  PART 3
  Animation
======================================================*/

.fade-up{

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

.fade-up.show{

    opacity:1;
    transform:none;
}


/*======================================================
  Hero Animation
======================================================*/

.hero-content>*{

    opacity:0;
    transform:translateY(40px);
    animation:heroFade .8s forwards;
}

.hero-content>*:nth-child(1){

    animation-delay:.2s;
}

.hero-content>*:nth-child(2){

    animation-delay:.4s;
}

.hero-content>*:nth-child(3){

    animation-delay:.6s;
}

.hero-content>*:nth-child(4){

    animation-delay:.8s;
}

.hero-content>*:nth-child(5){

    animation-delay:1s;
}

.hero-content>*:nth-child(6){

    animation-delay:1.2s;
}

@keyframes heroFade{

    to{

        opacity:1;
        transform:none;
    }

}


/*======================================================
  Decorative Line
======================================================*/

.section-title h2::after{

    content:"";
    display:block;
    width:80px;
    height:3px;
    background:var(--gold);
    margin-top:18px;
}

.section-title.text-center h2::after{

    margin-left:auto;
    margin-right:auto;
}


/*======================================================
  Utilities
======================================================*/

.rounded-4{

    border-radius:24px!important;
}

.shadow-lg{

    box-shadow:var(--shadow)!important;
}


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

@media (max-width:991px){

    .section{

        padding:80px 0;
    }

    .hero-content h1{

        font-size:4rem;
    }

    .hero-content h1 span{

        font-size:1.6rem;
    }

    .hero-chinese{

        font-size:1.2rem;
    }

    .section-title h2{

        font-size:2.5rem;
    }

    .timeline{

        display:block;
    }

    .timeline::before{

        display:none;
    }

    .timeline-item{

        margin-bottom:40px;
    }

    .timeline-item::before{

        display:none;
    }

    .story-card{

        padding:35px;
    }

}

@media (max-width:767px){

    .section{

        padding:65px 0;
    }

    .hero-content{

        padding:0 15px;
    }

    .hero-content h1{

        font-size:3rem;
    }

    .hero-content h1 span{

        font-size:1.25rem;
        letter-spacing:1px;
    }

    .hero-subtitle{

        font-size:1rem;
    }

    .hero-chinese{

        font-size:1.05rem;
        line-height:1.9;
    }

    .section-title{

        margin-bottom:50px;
    }

    .section-title h2{

        font-size:2rem;
    }

    .story-card{

        padding:30px;
    }

    .visit-info{

        padding:30px;
    }

    .btn{

        width:100%;
        margin-bottom:15px;
    }

    .navbar-brand .brand-main{

        font-size:1.6rem;
    }

    .navbar-collapse{

        background:#fff;
        border-radius:18px;
        margin-top:15px;
        padding:20px;
        box-shadow:var(--shadow);
    }

    .navbar-collapse .nav-link{

        color:var(--dark);
        margin:10px 0;
    }

    .navbar-collapse .btn-brand{

        width:100%;
        margin-top:15px;
    }

}

#heritage p{

    font-size:1.08rem;
    margin-bottom:25px;
}

#heritage img{

    transition:.5s;
}

#heritage img:hover{

    transform:scale(1.03);
}

/* Active navigation */

.scrolled .nav-link.active{

    color:var(--primary)!important;
}

 .nav-link.active{

    color: #fff!important;
}

.nav-link.active::after{

    width:100%;
}

/* Back To Top */

.back-to-top{

    position:fixed;
    right:85px;
    bottom:30px;
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:22px;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    z-index:9999;
}

.back-to-top.show{

    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{

    background:var(--primary-dark);
    transform:translateY(-3px);
}

/* =================================================== */

/* ==========================================================
   NEW MENU SHOWCASE
========================================================== */

.new-menu-section {
    position: relative;
    overflow: hidden;
    background: #000;
}

.new-menu-section .swiper {
    width: 100%;
    height: 70vh;
}

.menu-slide {
    position: relative;
    width: 100%;
    height: 70vh;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark gradient overlay */

.menu-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.58) 35%,
            rgba(0,0,0,.25) 65%,
            rgba(0,0,0,.10) 100%
        );
}

/* Content */

.menu-content {

    position: relative;
    z-index: 2;

    max-width: 620px;

    color: #fff;

    padding: 40px 0;
}

.menu-tag {

    display: inline-block;

    padding: 8px 18px;

    margin-bottom: 20px;

    border-radius: 50px;

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

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

    backdrop-filter: blur(12px);

    font-size: .9rem;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.menu-content h2 {

    font-size: clamp(2.5rem,5vw,4.5rem);

    line-height: 1.05;

    font-weight: 700;

    margin-bottom: 20px;

    text-shadow: 0 4px 20px rgba(0,0,0,.35);
    color: #fff;
}

.menu-content p {

    font-size: 1.15rem;

    line-height: 1.9;

    color: rgba(255,255,255,.88);

    margin-bottom: 30px;
}

/* Price badge */

.menu-price {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 24px;

    border-radius: 50px;

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

    backdrop-filter: blur(16px);

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

    color: #fff;

    font-size: 1.45rem;

    font-weight: 700;

    letter-spacing: .5px;
}

/* Button */

.menu-content .btn {

    border-radius: 50px;

    padding: 14px 36px;

    font-weight: 600;

    transition: all .35s ease;

    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.menu-content .btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

/* Swiper Pagination */

.new-menu-section .swiper-pagination {

    bottom: 35px !important;
}

.new-menu-section .swiper-pagination-bullet {

    width: 12px;

    height: 12px;

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

    opacity: 1;

    transition: all .35s ease;
}

.new-menu-section .swiper-pagination-bullet-active {

    width: 42px;

    border-radius: 50px;

    background: #fff;
}

/* Ken Burns Animation */

.new-menu-section .swiper-slide-active .menu-slide {

    animation: kenburns 8s ease forwards;
}

@keyframes kenburns {

    from {

        transform: scale(1);

    }

    to {

        transform: scale(1.08);

    }

}

/* Mobile */

@media (max-width: 992px) {

    .new-menu-section .swiper,
    .menu-slide {

        height: 65vh;
    }

    .menu-content {

        max-width: 100%;

        text-align: center;

        padding: 20px;
    }

    .menu-content h2 {

        font-size: 2.6rem;
    }

    .menu-content p {

        font-size: 1rem;
    }

}

@media (max-width: 576px) {

    .new-menu-section .swiper,
    .menu-slide {

        height: 75vh;
    }

    .menu-content h2 {

        font-size: 2rem;
    }

    .menu-content p {

        line-height: 1.7;
    }

    .menu-content .btn {

        width: 100%;
    }

}

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

.menu-section{

    padding:120px 0;

    background:#faf8f5;
}

.menu-card{

    background:#fff;

    padding:18px;

    border-radius:24px;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.35s;
}

.menu-card:hover{

    transform:translateY(-8px);

    box-shadow:0 30px 60px rgba(0,0,0,.14);
}

.menu-card img{

    border-radius:16px;

    width:100%;

    display:block;
}

.menu-section .section-title{

    max-width:700px;

    margin:auto;
}

.menu-section h2{

    margin:20px 0;
}

.menu-section p{

    color:#777;
}

.menu-card{

    cursor:pointer;

    overflow:hidden;
}

.menu-card img{

    transition:transform .5s ease;
}

.menu-card:hover img{

    transform:scale(1.03);
}

/*==================================================
WHATSAPP BUTTON
==================================================*/

.btn-whatsapp{

    background:#1f9d55;

    color:#fff;

    border:none;

    padding:12px 24px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;
}

.btn-whatsapp:hover{

    background:#20bb5a;

    color:#fff;

    transform:translateY(-2px);
}


/*==================================================
PAYMENT
==================================================*/

.payment-info{

    padding:20px;

    border-left:4px solid var(--gold);

    background:#fff;

    border-radius:10px;

    margin-top:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.payment-info h6{

    margin-bottom:10px;

    font-weight:700;
}

.payment-info p{

    margin:0;

    color:#555;
}


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

.footer-social{

    margin-top:40px;
}

.instagram-link{

    color:#fff;

    text-decoration:none;

    font-size:1.1rem;

    transition:.3s;
}

.instagram-link:hover{

    color:var(--gold);
}

.instagram-qr img{

    width:140px;

    border-radius:16px;

    background:#fff;

    padding:10px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);
}


/*==================================================
FLOATING WHATSAPP
==================================================*/

.floating-whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#1f9d55;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

    text-decoration:none;

    z-index:9999;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    transition:.3s;
}

.floating-whatsapp:hover{

    color:#fff;

    transform:scale(1.08);
}

@media (min-width:992px){

    .floating-whatsapp{

        display:none;

    }

}


/*======================================================
  End of Stylesheet
======================================================*/