* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Arka Plan Resminin Tek Parça Ekrana Yayılması */
    background-image: url('images/brick-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
}

/* En Üstteki Siyah Şerit */
.top-bar {
    width: 100%;
    background-color: #000000;
    height: 60px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.top-bar-logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* Header & 3 Kat Büyük Logo Alanı */
.site-header {
    width: 100%;
    padding: 25px 10px;
    display: flex;
    justify-content: center;
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.side-text {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
}

.left-text { text-align: right; }
.right-text { text-align: left; }

.logo-center img {
    height: 180px; /* 3 kat büyük logo */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

/* Kategori Kartları (Ortalanmış) */
.categories-section {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 15px 20px 15px;
    justify-content: center;
}

.categories-section::-webkit-scrollbar {
    display: none;
}

.card-link {
    text-decoration: none;
    flex: 0 0 140px;
}

.category-card {
    border: 2px solid #3d3a36;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.category-card.active {
    border-color: #cc0000;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.7);
}

.card-image img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.card-btn {
    background-color: rgba(8, 8, 8, 0.9);
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 8px 0;
    text-transform: uppercase;
}

.category-card.active .card-btn {
    background-color: #cc0000;
}

/* Menü Alanı (Maksimum 4 Sütun olacak ) */
.menu-display-section {
    margin-top: 10px;
    padding: 0 20px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-title {
    text-align: center;
    color: #cc0000;
    font-size: 1.6rem;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1200px;
    width: 100%;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 1024px) {
    .menu-items-grid {
        grid-template-columns: repeat(4, 1fr); /* Maksimum 4 blok */
    }
}

.menu-item-card {
    background-color: rgb(6, 6, 6);
    border: 1px solid #171716;
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(6px);
}

.item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.item-number {
    background-color: #cc0000;
    color: #000;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.item-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    flex-grow: 1;
    margin: 0 8px;
}

.item-price {
    color: #ff9900;
    font-weight: bold;
    font-size: 0.85rem;
}

.item-desc {
    font-size: 0.75rem;
    color: #ccc;
    line-height: 1.3;
}

/* Footer & İletişim Alanı */
.footer-section {
    background-color: rgba(15, 15, 15, 0.95);
    border-top: 2px solid #ff5500;
    padding: 25px 20px;
    margin-top: 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.map-box, .contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-title {
    color: #ff5500;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.info-group {
    margin-bottom: 10px;
}

.info-label {
    color: #ff9900;
    font-weight: bold;
    font-size: 0.8rem;
    display: block;
}

.info-group p {
    font-size: 0.85rem;
    color: #ddd;
}

/* Mobil Taşma Önleme & Kaydırma Ayarları */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Sayfanın sağa-sola taşmasını kesin olarak engeller */
}

/* Mobil Ekran Taşma Önleme */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Yan Yana Düzen (Logo ve Metinler Tek Satırda) */
@media (max-width: 768px) {
    .hero-logo-container {
        display: flex !important;
        flex-direction: row !important; /* Yan yana hizalama */
        justify-content: center;
        align-items: center;
        gap: 8px; /* Öğeler arası mesafeyi daraltır */
        padding: 0 5px;
    }

    /* Sol ve Sağ Metin Boyutlarını Sığacak Şekilde Ayarla */
    .side-text, .left-text, .right-text {
        font-size: 0.72rem !important; /* Mobilde sığması için font uyarlandı */
        line-height: 1.2;
        text-align: center;
        white-space: nowrap; /* Kelimelerin tuhaf kırılmasını engeller */
    }

    /* Ortadaki Logo Boyutunu orantılama */
    .logo-center img {
        height: 85px !important; /* Ekrana yan yana sığması için ideal mobil boyutu */
        width: auto;
    }
}

/* menü kısımlarını sağa sola kaydırma */
.categories-section {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.card-link {
    flex: 0 0 130px;
    scroll-snap-align: start;
}