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

:root{
    --bg-primary: #F57C00;
    --bg-secondary: #fff;
    --color-primary:#212121;
    --color-secondary:#333;
    --white-text: #fff;
}

html{
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
}

body{ width: 100%;}

p {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-secondary);
    line-height: 1.3;
}

section{padding: 7rem 0;}
.container{
    width: 100%;
    max-width: 98rem;
    margin: 0 auto;
    padding: 0 2.5rem;
}
header{
    width: 100%;
    background-color: var(--bg-primary);
    position: fixed;
    z-index: 90;
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header img {
    height: 7rem;
    padding: .5rem 0;
}

nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li{
    list-style: none;
    font-size: 1.6rem;
    padding: 0 1.5rem;
}

li a, li a:visited, li a:active, li button, li button:visited, li button:active{
    font-size: inherit;
    font-weight: 500;
    text-decoration: none;
    color: #16697a;
    transition: all .3s;
}

li button{
    border: none;
    background-color: var(--bg-primary);
}

li a:hover, ul li .current, li button:hover{
    color: var(--white-text);
    font-size: 1.7rem;
}

.intro-section{
    background: url(images/bg.png) no-repeat center;
    background-size: cover;
    height: 80vh;
    padding-top: 20vh;
}

.intro{
    width: 55%;
    color: var(--white-text);
    background-color: rgba(0, 0, 0, .5);
    padding: 5rem 2rem;
    border-radius: 5px;
}

.intro .intro-text{
    color: var(--bg-primary);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.p-head{
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.p-head span {display: block;}
.white-text{color: var(--white-text) !important; margin-bottom: 2.5rem;}

.btn{
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--white-text);
    border: 1px solid var(--bg-secondary);
    padding: .8rem 1.6rem;
    border-radius: 5px;
    background-color: transparent;
    transition: all .3s;
    display: inline-block;
}

.btn:hover{
    background-color: var(--bg-primary);
}

.about-section{
    background-color: var(--bg-secondary);
}

.about{
    width: 60%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about img{
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.s-head{
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: capitalize;
    margin-bottom: 1rem;
}

.menu-section{
    background-color: var(--bg-secondary);
}

.menu-heading{ text-align: center;}

.menu-items{
    display: flex;
    justify-content: stretch;
    align-items: stretch;
}

.menu-item{
    width: 100%;
    margin: 1rem;
    border: 1px solid var(--bg-secondary);
    border-radius: 5px;
    overflow: hidden;
}

.menu-item img{
    width: 100%;
    height: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.menu-item-text{
    padding: 1rem;
    margin-bottom: 3rem;
}

.t-head{
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: capitalize;
    margin-bottom: .5rem;
}

.menu-item-text p {
    font-size: 1.2rem;
}

.menu-mahal {
    box-shadow: 0 4px 6px 10px rgba(153, 27, 27, 0.06), 
        0 10px 15px 13px rgba(153, 27, 27, 0.08);
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);  
    
}

.menu-mahal::before{
    content: "HOT!!";
    position: absolute;
    width: 75px;
    height: auto;
    font-size: 1.7rem;
    padding: 0.5rem;
    background-color: #1876f2d2;
    color: #bb2205;
    font-weight: bold;
    border-radius: 0 0 20px 0;
}

.testimonial-section{
    background: url(images/bg.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-header p {
    color: var(--bg-primary);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.testimonial-header .s-head {
    color: var(--white-text);
    font-size: 3rem;
    margin-bottom: 0;
}

.testimonial-slider {
    position: relative;
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 6rem;
    user-select: none;
}

.slide img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

.slide .stars {
    color: #FFC107;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 3px;
}

.slide .slide-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.slide .testimonial-text {
    font-size: 1.6rem;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    max-width: 60rem;
    margin-bottom: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-primary);
    color: var(--white-text);
    border: none;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #D32F2F;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: -6.5rem;
}

.next-btn {
    right: -6.5rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--bg-primary);
    width: 24px;
    border-radius: 5px;
}

.q-head{
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: capitalize;
    margin-bottom: .5rem;
}

.order-section{
    background-color: #eee;
}

.order{
    width: 75%;
    margin: 0 auto;
    padding: 3rem 0;
}

.order-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
}

.order-item{
    width: 70%;
    display: flex;
    align-items: center;
}

.order-item img{
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    flex-shrink: 0;
}

.order-price{
    font-weight: 500;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.order-price p {
    margin: 0;
}

.btn-solid{
    width: 70%;
    background-color: #388E3C;
    padding: .8rem 1rem;
}

footer{
    background-color: var(--bg-primary);
    padding: 1rem 0;
}

.footer{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link ul li a { color: var(--white-text);}

.footer p {
    margin: 1rem 0;
}

.footer-sosmed {
    display: flex;
    gap: 15px; 
}

.sosmed-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease; 
}
.sosmed-link.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-5px) scale(1.1);
}

.sosmed-link.fb:hover {
    background-color: #1877F2;
    transform: translateY(-5px) scale(1.1);
}

.sosmed-link.tt:hover {
    background-color: #000000;
    box-shadow: 2px 2px 0px #fe2c55, -2px -2px 0px #25f4ee;
    transform: translateY(-5px) scale(1.1);
}

#btnBackToTop {
  display: none;
  position: fixed; 
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #F57C00;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Efek saat kursor diarahkan ke tombol */
#btnBackToTop:hover {
  background-color: #D32F2F; 
  transform: translateY(-5px);
}

/* Memastikan ikon di dalam tombol berada di tengah */
#btnBackToTop svg {
  display: block;
}



@media screen and (max-width: 900px) {
    .testimonial-slider {
        max-width: 90%;
    }
    .prev-btn {
        left: -4rem;
    }
    .next-btn {
        right: -4rem;
    }
}

@media screen and (max-width: 768px) {
    .prev-btn {
        left: 1rem;
        background-color: rgba(245, 124, 0, 0.7);
    }
    .next-btn {
        right: 1rem;
        background-color: rgba(245, 124, 0, 0.7);
    }
    .slide {
        padding: 4rem 3.5rem;
    }
    .intro{
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .intro{ width: 100%;}

    .about{ width: 100%;}

    .menu-items{ flex-direction: column;}

    .slide {
        padding: 3rem 2rem;
    }
    .slide .testimonial-text {
        font-size: 1.4rem;
    }
    .slider-btn {
        display: none;
    }

    .order{width: 100%;}
    .order-box{padding: .5rem;}
    .order-item{
        width: 70%;
        height: auto;
    }
    .order-item img{
        width: 6rem;
        height: 6rem;
    }
    .order-item p { font-size: 1.2rem;}

    .footer{flex-direction: column;}
}

