/* =========================================
   1. GENEL YAPILANDIRMA VE SIFIRLAMALAR
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212; 
    margin: 0;
    padding: 0;
    color: #e0e0e0; 
    -webkit-tap-highlight-color: transparent;
}

/* Sayfa ilk yüklendiğinde ana menüyü gizliyoruz */
#ana-icerik {
    display: none;
}


/* =========================================
   2. GİRİŞ EKRANI (AÇILIŞ) STİLLERİ
   ========================================= */
#giris-ekrani {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #0a0a0a; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#giris-ekrani.gizle {
    opacity: 0;
    visibility: hidden;
}

.giris-kutusu {
    text-align: center;
    padding: 20px;
    width: 90%;
    max-width: 400px;
}

.giris-logo {
    width: 140px; height: 140px;
    border-radius: 50%; object-fit: cover;
    margin-bottom: 25px;
    border: 1px solid #333; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.giris-baslik { 
    font-size: 1.8rem; 
    color: #ffffff; 
    margin: 0 0 8px 0; 
    font-weight: 700;
}

.giris-altbaslik { 
    font-size: 1rem; 
    color: #a0a0a0; 
    margin-bottom: 45px; 
}

.btn-giris {
    display: block; width: 100%;
    padding: 16px; margin-bottom: 15px;
    border-radius: 30px; 
    font-size: 1.1rem; font-weight: 700;
    text-decoration: none; text-align: center;
    transition: all 0.2s ease; cursor: pointer;
    box-sizing: border-box;
}

.btn-menu {
    background-color: #fbc531; 
    color: #0a0a0a; 
    border: none;
    box-shadow: 0 4px 20px rgba(251, 197, 49, 0.3); 
}

.btn-degerlendir {
    background-color: transparent; 
    color: #fbc531; 
    border: 2px solid #fbc531; 
}

.btn-giris:active { 
    transform: scale(0.96); 
}

.btn-degerlendir:active {
    background-color: rgba(251, 197, 49, 0.1); 
}


/* =========================================
   3. ANA MENÜ - ÜST BAŞLIK ALANI
   ========================================= */
.menu-header {
    background-color: #0a0a0a;
    background-image: 
        linear-gradient(rgba(251, 197, 49, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 197, 49, 0.02) 1px, transparent 1px);
    background-size: 20px 20px; 
    text-align: center;
    padding: 20px 15px 30px 15px; 
    border-radius: 0 0 28px 28px;
    border-bottom: 2px solid #fbc531;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.header-bilgi-satiri {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

/* Geri Butonu */
.btn-geri {
    background-color: transparent;
    color: #fbc531;
    border: 1px solid #fbc531;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-geri span {
    font-size: 16px;
    line-height: 1;
}

.btn-geri:active {
    background-color: rgba(251, 197, 49, 0.15);
    transform: scale(0.95);
}

/* Rozetler ve Işık Animasyonları */
.rozet {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.durum-rozet {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #2d2d2d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.canli-isik {
    width: 7px;
    height: 7px;
    background-color: #2ed573;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
    animation: nabizEtkisi 1.6s infinite;
}

@keyframes nabizEtkisi {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 213, 115, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

.logo-alani {
    width: 70px;
    height: 70px;
    background-color: #1e1e1e;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fbc531;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(251, 197, 49, 0.2);
}

.logo-alani img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-header h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fbc531;
}

.menu-header p {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: #a0a0a0;
}


/* =========================================
   4. KATEGORİ IZGARASI (2x3)
   ========================================= */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 10px;
    max-width: 500px;
    margin: 0 auto;
}

.kategori-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.kategori-kart:active {
    transform: scale(0.95);
}

.daire-ikon {
    width: 80px;
    height: 80px;
    background-color: #1e1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid #333333;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0;
}

.daire-ikon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.kategori-kart span {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    color: #888888;
    text-align: center;
    white-space: nowrap;
}

/* Aktif Kategori Durumu */
.kategori-kart.aktif .daire-ikon {
    border-color: #fbc531;
    box-shadow: 0 0 15px rgba(251, 197, 49, 0.4);
}

.kategori-kart.aktif .daire-ikon img {
    opacity: 1;
}

.kategori-kart.aktif span {
    color: #fbc531;
    font-weight: 700;
}


/* =========================================
   5. MENÜ ÜRÜN LİSTESİ ALANI
   ========================================= */
.menu-konteyner {
    padding: 0 15px 30px 15px;
    max-width: 500px;
    margin: 0 auto;
}

.menu-bolum {
    display: none;
    background: #1e1e1e;
    border-radius: 16px;
    padding: 10px 20px;
    border: 1px solid #2d2d2d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: ortayaCik 0.4s ease forwards;
}

.menu-bolum.aktif-bolum {
    display: block;
}

@keyframes ortayaCik {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.urun {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed #3a3a3a;
}

.urun:last-child {
    border-bottom: none;
}

.urun-adi {
    font-weight: 600;
    font-size: 15px;
    color: #e0e0e0;
}

.urun-detay {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    padding-right: 15px;
}

.urun-aciklama {
    font-size: 12px;
    color: #8aa0a6; 
    font-weight: 400; 
}

/* Fiyat Etiketi */
.fiyat {
    font-weight: 700;
    color: #121212;
    background-color: #fbc531;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(251, 197, 49, 0.2);
    flex-shrink: 0; 
    white-space: nowrap; 
}
/* =========================================
   6. ALT BİLGİ (FOOTER) ALANI
   ========================================= */
.menu-footer {
    background-color: #0a0a0a;
    border-top: 2px solid #2d2d2d;
    padding: 40px 20px 20px;
    text-align: center;
    margin-top: 40px;
    border-radius: 28px 28px 0 0; /* Üst başlığın tam tersi kavis */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.footer-icerik {
    max-width: 500px;
    margin: 0 auto;
}

.footer-baslik {
    color: #fbc531;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.footer-adres, .footer-iletisim {
    color: #a0a0a0;
    font-size: 14px;
    margin: 8px 0;
}

.footer-iletisim a {
    color: #fbc531;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.sosyal-medya {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sosyal-link {
    color: #0a0a0a;
    background-color: #fbc531;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(251, 197, 49, 0.2);
}

.sosyal-link:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(251, 197, 49, 0.1);
}

.footer-copyright {
    color: #555555;
    font-size: 12px;
    margin-top: 25px;
    border-top: 1px dashed #333333;
    padding-top: 20px;
}