*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
 font-family: 'Inter', sans-serif;
    background-color: #828282;
    color: #333;
}

header{
     background-color: #131313;
     color: #fff;
     padding: 20px 0px;
     text-align: center;
     position: sticky;
     top: 0;
     z-index: 1000;
}
header h1{
    margin-bottom: 10px;
}
nav ul{
    list-style: none;
}
nav ul li{
    display: inline-block;
    margin-right: 20px;
}
nav ul li a{
    color: white;
    text-decoration: none;
}
nav ul li a:hover{
text-decoration: underline;
}

.search-container{
    max-width: 800px;
    margin: 30px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-container input[type="text"]{
padding: 20px;
width: 70%;
border-radius: 30px 30px 30px 30px;
border: none;
outline: none;
font-size: 18px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}




.hero{
    background-image: url(img/arkaplan.jpg);
    background-size: cover ;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0px;

}

.hero h1{
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p{
    font-size: 20px;
    margin-bottom: 30px;   
}

.button{
    display:  inline-block;
    background-color: #ff5733;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    transition: 300ms all;
    font-weight: 600;
}

.order-button{
    display: block;
    margin: 0 auto;
    margin-top: 10px !important;
    background-color: #ff5733;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 300ms all;
    font-weight: 600;
}

.button :hover, .order-button:hover{
    background-color: #16d860;
}

.promotion h2,
.featured h2,
.menu h2{
    margin-bottom: 20px;
    background-color: #131313;
    color: #fff;
    text-align: center;
}


.menu-items{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu-item{
    width: calc(33.33% - 20px);
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;    
}

.menu-item :hover{
      transform: translateY(-5px);
    transition: 0.3s;
}

.menu-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.menu-item h3,
.menu-item p{
    margin-bottom: 10px;
    
}
.menu-item h3 {
    color: #2C2C2C;
     font-size: 18px;
    font-weight: 700;
    
}

.menu-item p {
    color: #8A8A8A;
    font-size: 14px;
    opacity: 0.8;
}

.menu-item span{
    display: block;
    font-weight: bold;
    color: rgb(209, 207, 207);
    font-size: 12px;
}

del{
    color: red;
    opacity: 0.7;
}

.tag{
    background-color: #ff5733;
    color: #fff !important;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    font-size: 17px;
    top: -10px;
    right: -5px;
}

.footer{
    background-color: #e3651d;
    color: #fff;
    text-align: center;
    padding: 20px 0px;
    width: 100%;
}

@media only screen and (max-width: 480px){
    .menu{
        text-align: center;
    } 
    .promotion,.featured{
        text-align: center;
    }
    .menu-item{
        width: 90%;
        margin: 15px auto;
    }
    
}





.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.slider .menu-item {
    min-width: 300px;
    flex-shrink: 0;
}




.slider-wrapper:hover .slide-btn {
    opacity: 1;
}



.slide-btn.left {
    left: 0;
        position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: 0.3s;
}

.slide-btn.right {
    right: 0;
        position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: 0.3s;
}


.slider {
    display: flex;
    flex-wrap: nowrap;   
    gap: 20px;
}

.slider .menu-item {
    flex: 0 0 300px;     
}

.slider .menu-item {
    flex: 0 0 100%;
}

@media (min-width: 600px) {
    .slider .menu-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .slider .menu-item {
        flex: 0 0 33.33%;
    }
}

/* PUAN TABLOSU */
.scoreboard {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 180px;
    font-size: 14px;
}

.score-header {
    background-color: #1E7F4F;
    color: white;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.score-content {
    background-color: white;
    color: #333;
    border-radius: 6px;
    margin-top: 5px;

    max-height: 0;          
    overflow-y: auto;          
    transition: max-height 0.4s ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.scoreboard.active .score-content {
    max-height: 220px;        
}

.score-content ul {
    list-style: none;
    padding: 10px;
}

.score-content li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.score-content li:last-child {
    border-bottom: none;
}


.scoreboard.active .score-content {
    max-height: 300px;
}

.score-list {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.score-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.score-list li:last-child {
    border-bottom: none;
}


.score-list img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


.team-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}


.team-point {
    font-weight: 700;
    color: #1E7F4F;
}



.side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    padding: 20px;
    transition: right 0.4s ease;
    z-index: 2000;
    overflow-y: auto;
}

.side-panel.active {
    right: 0;
}

.close-panel {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    float: right;
}


/* BLUR EFEKTİ */
#pageContent {
    transition: filter 0.3s ease;
}

#pageContent.blurred {
    filter: blur(4px);
    pointer-events: none; /* arkaya tıklanamasın */
}

/* OVERLAY */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* 🔥 koyuluk */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

/* Aktif overlay */
#overlay.active {
    opacity: 1;
    visibility: visible;
}

/* BODY SCROLL KİLİT */
body.no-scroll {
    overflow: hidden;
}











