*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}


* {
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section {
    opacity: 0.80;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

body {
    margin: 0;
    padding: 0;
    background-color: #E6B43F;

    padding-top: 70px;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span {
    color: white;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #E6B43F;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 65px;
    width: 300px;
    margin-top: 15px;
}

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

ul {
    list-style: none;
}

.menu {
    color: white;
    display: flex;
    gap: 45px;
    color: white;
    padding-right: 150px;
    margin: 0;

}

.menu a:hover {
    color: rgb(212, 212, 212);
    transition: 0.15s;
}

.hero {
    height: calc(75vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    background: #000000;
}

.hero h1 {
    font-size: 48px;
}

.hero p {
    margin: 20px 0;
    font-size: 24px;
}

.btn {
    background-color: black;
    border: 1px solid #E6B43F;
    color: #E6B43F;
    border-radius: 15px;

    padding: 12px 22px;
    width: fit-content;
    display: inline-block;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.btn:hover {
    color: rgb(243, 197, 113);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgb(243, 197, 113);
}

.hero {
    background-image: url("src/kunefe-hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(101vh - 80px);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero * {
    position: relative;
    z-index: 1;
}

.şubeler {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.subeler-background {
    background-image: url("src/hanzade-dukkan.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position-y: -1px;
    min-height: calc(50vh);
}

.şube {
    background-color: rgba(0, 0, 0, 0.6);
    color: #E6B43F;
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid #E6B43F;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px;
    text-align: center;

    display: block;
    text-align: center;
    margin: 0 auto 40px auto;
    width: fit-content;
}

.şube:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: #e4aa22;
}

#şube {
    font-size: 48px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.6);
    color: #E6B43F;
    padding: 15px 25px;
    border-radius: 20px;
    border: 2px solid #E6B43F;
    display: block;
    text-align: center;
    margin: 0 auto 40px auto;
    width: fit-content;
}

.menu-card:hover h3 {
    color: #e4a81c;
}

.about-us {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 20px;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-us .neden-biz {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
    transition: color 0.3s ease;
    font-style: oblique;
}

.about-us:hover .neden-biz {
    color: #ffffffd9;
    transition: color 0.3s ease;
}

.about-us .aciklama {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    font-style: italic;
}

.about-us:hover .aciklama {
    color: #000000d2;
    transition: color 0.3s ease;
}

.about-us::after {
    content: "✨";
    display: block;
    font-size: 30px;
    margin: 20px auto 0 auto;
    transition: transform 0.3s ease;
}

.about-us:hover::after {
    transform: rotate(10deg);
}


.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    border: 1px solid #e8ad24d3;
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.menu-card h3 {
    margin: 15px 0 5px 0;
    color: #E6B43F;
    font-size: 25px;
}

.menu-card p {
    color: #333;
    font-weight: 500;
}

.menu-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#menuSearch {
    border-radius: 12px;
    border: none;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.695);
    color: #E6B43F;

}

#menuSearch::placeholder {
    color: #e6b43fa7;
    font-size: 15px;
}

#menuSearch:focus {
    outline: none;
}

.insta-facebook {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#insta {
    font-size: 45px;
    color: rgb(245, 33, 206);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#insta:hover {
    transform: scale(1.05) translateY(-2px)
}

#insta:hover {
    color: rgba(245, 33, 206, 0.785);
}

#fb {
    font-size: 40px;
    color: blue;
    margin-left: 20px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#fb:hover {
    transform: scale(1.05) translateY(-2px);
}

#fb:hover {
    color: rgba(0, 0, 255, 0.778);
}

.takip {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

.footer-copy {
    margin-top: 100px;
    text-align: center;
    font-size: 15px;
    color: #0000003d;

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

.search-wrap {
    position: relative;
}

.search-results {
    position: absolute;
    top: 110%;
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.result-item:hover {
    background: #fdf2d5;
}

.result-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 12px;
}

.result-item div {
    display: flex;
    flex-direction: column;
}

.result-item .title {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.result-item .price {
    color: #E6B43F;
    font-size: 12px;
}

.numaralar {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    gap: 50px;
}

.menu li a.active-link {
    color: rgb(255, 255, 255) !important;
    font-weight: 700;
}

.phone {
    color: white;
    text-decoration: none;
    cursor: default;
}

.seo-hidden {
    position: absolute;
    left: -9999px;
    height: 1px;
    overflow: hidden;
}


@media (max-width: 1024px) {

    .menu {
        gap: 25px;
        padding-right: 40px;
        font-size: 14px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 20px;
    }

    .şubeler {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-us {
        max-width: 90%;
        margin: 50px auto;
        padding: 30px 25px;
    }

    .about-us .neden-biz {
        font-size: 24px;
    }

    .about-us .aciklama {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {

    body {
        padding-top: 90px;
    }

    .subeler-background {
        background-image: linear-gradient(180deg,
                #000000 0%,
                #1a1a1a 40%,
                #3a2a0a 70%,
                #E6B43F 120%);
        min-height: auto;
        padding: 60px 15px;
    }

    .navbar {
        flex-direction: column;
        padding: 10px 0;
    }

    .logo img {
        width: 220px;
        height: auto;
        margin: 10px 0;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
    }

    .menu li {
        font-size: 14px;
    }

    .hero {
        padding: 0 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        width: 140px;
        margin: 0 auto;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .şubeler {
        flex-direction: column;
        gap: 20px;
    }

    .şube {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.5;
    }

    #şube {
        font-size: 32px;
    }

    .numaralar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
        font-size: 20px;
    }

    .numaralar p {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .about-us {
        max-width: 95%;
        margin: 40px auto;
        padding: 25px 18px;
        border-radius: 14px;
    }

    .about-us .neden-biz {
        font-size: 22px;
    }

    .about-us .aciklama {
        font-size: 14px;
        line-height: 1.8;
        text-align: left;
    }

    .phone {
        pointer-events: auto;
        cursor: pointer;
        color: #ffffff;
    }

    .phone:hover {
        text-decoration: underline;
    }

    .şube {
        padding: 15px;
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;
    }

    #menu-page {
        opacity: 1 !important;
    }

}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .menu-card h3 {
        font-size: 20px;
    }

    .menu-card p {
        font-size: 14px;
    }

    .takip {
        font-size: 22px;
        text-align: center;
        display: block;
        width: 100%;
    }

    .about-us {
        padding: 20px 15px;
    }

    .about-us .neden-biz {
        font-size: 20px;
    }

    .about-us .aciklama {
        font-size: 13.5px;
        line-height: 1.9;
    }
}

@media (max-width: 768px) {
    .search-results {
        width: 100%;
        right: auto;
        left: 0;
    }

    .search-container input {
        width: 90%;
        margin: 0 auto;
        display: block;
    }
}