/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
    --surface: #F8FAFF;
    --surface-strong: #ffffff;
    --text-dark: #111827;
}

body {
    background-color: var(--surface);
    color: var(--text-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

.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: 22px;
    padding: 28px 0;
    font-size: 15px;
    color: rgba(255,255,255,.92) !important;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
    transition: .3s ease;
}

.navbar-dark .navbar-brand h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .03em;
}

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffdf8c !important;
}

.navbar-dark .navbar-nav .nav-link.franchise-cta {
    background: linear-gradient(135deg, #ffce00 0%, #ff8c00 100%);
    color: #111111 !important;
    padding: 8px 22px !important;
    border-radius: 60px;
    text-transform: uppercase;
    max-height: 53px !important;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 16px 32px rgba(255, 140, 0, .22);
    border: 1px solid rgba(255, 255, 255, .25);
    margin-left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, filter .2s ease;
}

.navbar-dark .navbar-nav .nav-link.franchise-cta {
    box-shadow: 0 18px 35px rgba(255, 136, 0, .24);
}

.navbar-dark .navbar-nav .nav-link.franchise-cta::after {
    content: '\279C';
    margin-left: 10px;
    font-size: 0.95em;
    transition: transform .2s ease;
}

.navbar-dark .navbar-nav .nav-link.franchise-cta:hover,
.navbar-dark .navbar-nav .nav-link.franchise-cta:focus {
    transform: translateY(-2px);
    opacity: 1;
    filter: brightness(1.02);
    box-shadow: 0 22px 38px rgba(255, 140, 0, .28);
}

.navbar-dark .navbar-nav .nav-link.franchise-cta:hover::after,
.navbar-dark .navbar-nav .nav-link.franchise-cta:focus::after {
    transform: translateX(3px);
}

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

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

    .navbar-dark {
        background: rgba(15, 23, 43, 0.95) !important;
    }

    .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: 14px 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: rgba(15, 23, 43, 0.35) !important;
        backdrop-filter: blur(14px);
        box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
    }

    .navbar-dark .navbar-nav {
        align-items: center;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: rgba(15, 23, 43, 0.95) !important;
        box-shadow: 0 18px 55px rgba(15, 23, 43, 0.18);
    }
}

.navbar-dark .navbar-nav .nav-link {
    margin-left: 22px;
}


@media (min-width: 400px)  and (max-width: 500px)   {
    .navbar-brand .text-primary {
        font-size: 21px !important;
    }

    .py-5
    {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .logo-image {
        max-width: 260px;
    }
}


@media (min-width: 320px) and (max-width: 400px)   {
    .navbar-brand .text-primary {
        font-size: 14px !important;
    }

    .py-5
    {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .py-3 {
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
    }

    a {
        font-size:13px !important;
    }



    .order-button {
        width: 45% !important;

    }
}

@media (min-width: 300px) and (max-width: 325px)   {
    .navbar-brand .text-primary {
            font-size: 11px !important;
        }

    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .py-3 {
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
    }

    a {
        font-size: 11px !important;
    }
}

@media (min-width: 200px) and (max-width: 300px) {
    .logo-image {
        max-width: 200px;
    }

    a {
        font-size:11px !important;
    }
}




/*** Hero Header ***/
.hero-header {
    position: relative;
    min-height: 95vh;
    overflow: hidden;
}

.hero-static-wrapper {
    position: relative;
    min-height: 95vh;
}

.hero-static-bg {
    position: absolute;
    inset: 0;
    background: url("../img/cigkofteci_selim_masterchef.jpg") center center / 80% auto no-repeat;
}

.hero-static-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 43, 0.56);
}

.hero-icon-overlay {
    position: relative;
    z-index: 2;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
}

.hero-text-overlay {
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 4;
    text-align: center;
    padding: 0 1rem;
}

.hero-tagline {
    margin: 0 auto 0.75rem;
    display: inline-block;
    color: #ffd54f;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-main-title {
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    max-width: 860px;
}

.hero-youtube-icon {
    width: 130px;
    max-width: 130px;
    transition: transform .25s ease, filter .25s ease;
}

.story-title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 800;
}

.story-title i {
    color: #ffd54f;
    font-size: 1.4rem;
}

#hakkimizda {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 2rem;
}

#cigkoftenin-hikayesi {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 2rem;
}

.about-box {
    background: #ffffff;
    border-radius: 30px;
    padding: 38px 40px;
    box-shadow: 0 24px 65px rgba(15, 23, 43, 0.08);
    border: 1px solid rgba(15, 23, 43, 0.06);
}

.about-title {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    font-weight: 900;
    color: #111827;
}

.about-title i {
    color: var(--primary);
    font-size: 1.7rem;
}

.about-box p {
    color: #475569;
    line-height: 1.9;
}

.story-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 38px 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.story-box p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

.hero-youtube-icon:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 18px 30px rgba(0,0,0,.3));
}

.thumb-gallery {
    margin-top: 10px;
}

.hero-thumb-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3rem;
    z-index: 3;
    padding: 0 1rem;
}

.thumb-link {
    display: block;
}

.thumb-small {
    border-radius: 1rem;
    object-fit: cover;
    width: 100%;
    max-height: 120px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.thumb-small:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* Hero section on small screens: switch from min-height:95vh + absolute
   positioning to normal flow so the middle image isn't stretched apart
   from the title and thumbnails with huge empty gaps. */
@media (max-width: 767px) {
    .hero-header {
        min-height: auto;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .hero-static-wrapper {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-text-overlay {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding: 0 1rem;
        margin-bottom: 16px;
    }

    /* The photo used to be an absolute layer centered across the whole
       (now much taller) wrapper, which made it drift up over the title.
       On mobile we detach it from that shared frame and paint it as the
       icon box's own background instead, so it only occupies the space
       between the title and the thumbnails. */
    .hero-static-wrapper::before {
        display: none;
    }

    .hero-static-bg {
        display: none;
    }

    .hero-icon-overlay {
        position: relative;
        min-height: 220px;
        margin: 0 1rem;
        padding: 0;
        border-radius: 16px;
        overflow: hidden;
        background: url("../img/cigkofteci_selim_masterchef.jpg") center center / cover no-repeat;
    }

    .hero-thumb-row {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 16px;
        padding: 0 1rem;
    }

    .thumb-gallery {
        margin-top: 0;
    }
}

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

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

.iframe-container{
    position: relative;
    margin: 0;
    display: inline-block;
    width:100%;
    padding: 0 0 50%;
}
iframe{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height:100%;
}

.wx-widget-container .css-*
{
    display: none !important;
}


/*** 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);
}

.branch-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

.branch-city-section {
    background: #fff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: none;
    border: none;
}

.branch-city-container {
    text-align: center;
}

.branch-city-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 40px auto 24px;
    padding: 10px 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172b;
}

.branch-city-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.branch-city-title {
    display: block;
    margin-bottom: 24px;
    color: #0f172b;
    font-size: 2.1rem;
    font-weight: 700;
}

.branch-city-section .row.g-4 {
    margin-left: 0;
    margin-right: 0;
}

.branch-city-section .row.g-4 > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.branch-city-section .branch-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 0;
}

.branch-city-section .branch-item {
    padding: 20px 24px;
    margin: 0 3px;
    border-bottom: 1px solid #e5e7eb;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.branch-city-section .branch-item:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .branch-city-section .row.g-4 > .col-md-6:nth-child(odd) .branch-card {
        position: relative;
        border-right: none;
    }

    .branch-city-section .row.g-4 > .col-md-6:nth-child(odd) .branch-card::after {
        content: "";
        position: absolute;
        top: 13px;
        bottom: 13px;
        right: 0;
        width: 1px;
        background: #e5e7eb;
    }

    .branch-city-section .row.g-4 > .col-md-6:nth-child(even) .branch-card {
        border-left: none;
    }
}

.branch-card-title {
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 22px;
}

.branch-item {
    padding: 18px 0;
    border-bottom: 1px solid #f1f1f1;
}

.branch-item:last-child {
    border-bottom: none;
}

.branch-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.branch-location {
    margin-bottom: 10px;
    color: #6c757d;
}

.branch-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.branch-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    color: #0f172b;
}

.branch-list li:last-child {
    border-bottom: none;
}

.branch-contact h6 {
    margin-bottom: 12px;
    color: var(--dark);
}

.branch-contact p {
    margin-bottom: 8px;
}

.branch-contact a {
    color: var(--dark);
    text-decoration: none;
}

.branch-contact a:hover {
    color: 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;
}

.cookie-consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 99999;
    padding: 12px 16px;
    background: rgba(8, 12, 20, 0.96);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.cookie-consent__content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-consent__content p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 70%;
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-consent__actions .btn {
    border-radius: 8px;
    font-weight: 700;
    padding: 8px 12px;
}

@media (max-width: 767px) {
    .cookie-consent__content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__content p {
        max-width: 100%;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: space-between;
    }

    .cookie-consent__actions .btn {
        flex: 1;
    }
}