@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nata+Sans:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --text: #0f172a;
    /* slate-900 */
    --muted: #475569;
    /* slate-600 */
    --border: #e2e8f0;
    /* slate-200 */
    --tag-bg: #f1f5f9;
    /* slate-100 */
    --shadow: 0 6px 20px rgba(2, 6, 23, 0.08);
    --radius: 16px;
    --gap: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    font-family: "Lato", sans-serif;
}

.fullscreen {
    position: relative;
    display: block;
    width: 100%;
}

.menu {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

.menu img {
    position: relative;
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 200px;
    margin-top: 150px;
}

.menu .logo {
    padding-top: 100px;
}

.btnhome {
    position: relative;
    display: flex;
    justify-content: center;
}

.homebtn {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    border: thin solid #000;
    border-radius: 10px;
    font-weight: bold;
    color: #000;
    padding: 5px 10px 5px 10px;
    text-align: center;
    justify-content: center;
    font-size: 29px;
    background-color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

    .homebtn:hover {
        background-color: #475569;
        color: #fff;
    }


main {
    background-color: #faeee0;
}

.container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.container .titletext {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto;
    font-size: 29px;
    text-align: center;
    margin-bottom: 20px;
}

.container .center {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    flex: 1 1 calc(25% - 16px);
    min-width: 250px;
    height: 200px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menucard {
    flex: 1 1 calc(50% - 16px);
    min-width: 250px;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: row;
}

.menucard .image {
    position: relative;
    display: block;
    width: 30%;
    height: auto;
}

.menucard .menucontent {
    position: relative;
    display: block;
    width: 70%;
    height: auto;
}

.container .card span a {
    color: #fff;
    text-decoration: none;
}

.container .card span a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.card span {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

footer {
    background: #f4f4f4 url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* responsive davranış için önemli */
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    /* küçük ekranlarda alta geçmesi için */
    padding: 20px;
    text-align: center;
}

.footer-column h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #888;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin: 8px 0;
    color: #333;
}

.footer-column ul li a {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #c00;
}

.footer-about p {
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.footer-about button {
    margin-top: 15px;
    padding: 10px 25px;
    border: 1px solid #c00;
    background: none;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}

.footer-about button:hover {
    background: #c00;
    color: #fff;
}

/* Responsive ayarlar */
@media (max-width: 992px) {
    footer {
        justify-content: center;
    }

    .footer-column {
        flex: 1 1 45%;
        /* tablet için 2 sütun */
    }
}

@media (max-width: 600px) {
    .footer-column {
        flex: 1 1 100%;
        /* telefon için tek sütun */
        text-align: center;
    }

    .container .center {
        padding: 20px;
    }
}

.wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 860px) {
    .wrap {
        grid-template-columns: 1fr;
    }
}

.menuboxx {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    gap: var(--gap);
    padding: 16px;
    transition: transform .15s ease, box-shadow .15s ease;
    align-items: stretch;
}

.menuboxx:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 6, 23, .12);
}

.media {
    flex: 0 0 220px;
    max-width: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #e5e7eb;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menubox {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.price {
    font-weight: 700;
    white-space: nowrap;
    font-size: 18px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    background: var(--tag-bg);
    border: 1px solid var(--border);
}

.desc {
    color: var(--muted);
    font-size: 14px;
}

/* Telefon ekranlarında resim üstte, içerik altta */
@media (max-width: 640px) {
    .menuboxx {
        flex-direction: column;
    }

    .media {
        width: 100%;
        max-width: 100%;
        flex: none;
        height: auto;
    }

    .media img {
        width: 100%;
        height: auto;
    }

    .menubox {
        width: 100%;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .title {
        font-size: 18px;
        white-space: normal;
    }

    .price {
        font-size: 16px;
    }
}