/********** Template CSS **********/
:root{
  --brand:#ff944d;
  --bg:#fbfbfc;
  --text:#111;
  --card:#fff;
  --orange1:#ff944d; --orange2:#ff6a00;
}

body{
  font-family:'Tajawal',sans-serif;
 background: linear-gradient(135deg, #fff7f0, #ffe0b3, #ffd199);
  color:var(--text);
  transition:.3s;
}

.section-pad{padding:3.2rem 0}

/* Cards Column */
.cards-column{
  display:flex;
  flex-direction:column;
  gap:1rem;
  align-items:center;
}

/* الكروت 3D */
.card-rect{
  border-radius: 0.8rem;
  background: var(--card);
  border: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.1) inset;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  width: 380px;   
  height: 120px;  
  font-size:0.85rem; 
  padding:0.6rem; 
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.card-rect:hover{
  transform: translateY(-8px) scale(1.03) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2), 0 6px 15px rgba(0,0,0,0.15) inset;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

/* Sidebar 3D */
.sidebar-right{
  background:#fff;
  border-radius:1rem;
  box-shadow:0 6px 15px rgba(0,0,0,0.12);
 padding:1rem;
    margin-top:90px;
    margin-right: 66px;
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.btn-custom, .calories-btn, .subscribe-btn{
  border-radius:0.6rem;
  padding:.4rem .8rem;
  font-weight:600;
  font-size:.85rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ff944d, #ff7a26);
  color:#fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.12) inset;
}
.btn-custom:hover, .calories-btn:hover, .subscribe-btn:hover{
  transform: translateY(-5px) scale(1.03) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25), 0 6px 15px rgba(0,0,0,0.15) inset;
}
.topbar{ background:#ffefdf; color:#6b3d00; padding:.5rem; text-align:center; font-weight:700; }
.card-offer{
  border-radius:1rem; overflow:hidden;
  box-shadow:0 8px 20px rgba(15,30,60,0.06);
  transition: transform .4s cubic-bezier(.25,.8,.25,1), box-shadow .4s cubic-bezier(.25,.8,.25,1);
  cursor:pointer;
  perspective: 1000px;
}
.card-offer-inner{
  transition: transform .4s cubic-bezier(.25,.8,.25,1);
  transform-style: preserve-3d;
}
.card-offer:hover{
  box-shadow:0 20px 40px rgba(15,30,60,0.2);
}
.card-offer:hover .card-offer-inner{
  transform: rotateX(5deg) rotateY(5deg) translateY(-10px);
}
.card-offer img{ height:200px; object-fit:cover; width:100%; transition: transform .45s; border-radius: 1rem 1rem 0 0; }
.btn-orange{ background: linear-gradient(135deg,var(--orange1),var(--orange2)); color:#fff; border:none; font-weight:700; border-radius:.6rem; }
.floating-whatsapp{ position:fixed; right:18px; bottom:18px; width:58px; height:58px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; z-index:1300; color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.12) }
.floating-cart{ position:fixed; left:18px; bottom:18px; width:64px; height:64px; border-radius:50%; background: linear-gradient(135deg,var(--orange1),var(--orange2)); display:flex; align-items:center; justify-content:center; z-index:1300; color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.14) }
.cart-count{ position:absolute; top:-8px; right:-8px; background:#ff6a00; color:#fff; border-radius:50%; width:28px; height:28px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:12px; box-shadow:0 4px 10px rgba(0,0,0,.12); display:none; }
.map-thumb{ width:100%; height:120px; object-fit:cover; border-radius:.5rem; border:1px solid rgba(0,0,0,.04); margin-top:.6rem; }

@media(max-width:576px){
  .card-offer img{ height:160px }
  .floating-cart{ width:52px; height:52px }
  .floating-whatsapp{ width:52px; height:52px }
  .cart-count{ width:24px; height:24px; font-size:11px }
}
/* Back to top */
#backToTop{position:fixed;bottom:20px;left:20px;display:none;z-index:1000;border-radius:50%}
#whatsappBtn{position:fixed;bottom:20px;right:20px;z-index:1000;border-radius:50%;background:#25d366;color:#fff;font-size:1.5rem;padding:12px;box-shadow:0 4px 10px rgba(0,0,0,0.2);transition:.3s}
#whatsappBtn:hover{transform:scale(1.1)}


    .card.show { transform:translateY(0); opacity:1; }
    .card img { height:200px; object-fit:cover; }
    .filters .btn { margin:3px; border-radius:20px; }
    .modal-content { border-radius:20px; }
    .modal-body img { border-radius:15px; max-height:250px; object-fit:cover; }

    

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}