:root {
    --bg-color: #EBE6D9;      
    --text-color: #1A1A1A;
    --accent-green: #1C2C26; 
    --border-color: #A39B8D;
    /* CSS'te kullanılıyordu ama tanımlı değildi -> renkler bozuk geliyordu */
    --text-dark: #1A1A1A;
    --text-muted: #5F5A50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 1. Normal Harfler İçin Brozeri'yi Tanımlıyoruz */
@font-face {
    font-family: 'Brozeri';
    src: url('./fonts/Brozeri-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== Sadece İçecekler sayfasına özel görünüm (kompakt) ===== */
.kategori-icecekler .product-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;      /* eskiden -18px idi, üst üste binmeye sebep oluyordu */
    letter-spacing: 1px;
}
.kategori-icecekler .product-card {
    align-items: center;
}
/* İçeceklerde açıklama genelde yok: isim solda, fiyat sağda tek satır */
.kategori-icecekler .product-info {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
}
.kategori-icecekler .price-box {
    align-self: baseline;
    margin-top: 0;
}
.kategori-icecekler .price-row {
    line-height: 1.1;
}
.kategori-icecekler .product-list {
    gap: 14px;
}

/* 2. Sitede Kullanırken Unicode Sıralaması Yapıyoruz */
h1, h2, .premium-title {
    font-family: 'Brozeri', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}





/* Eğer font dosyası zaten slanted (eğik) ise, CSS'te ayrıca italic vermek görüntüyü daha da eğik yapar. */
.menu-title,
.menu-item span,
.logo,
.menu-header h1,
.product-info h3,
.price,
.price-value,
.price-label {
    font-family: 'Brozeri', sans-serif;
    font-style: normal !important;
}



@font-face {
    font-family: 'BrozeriSlanted';
    src: url('./fonts/BrozeriSlanted-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BrozeriSlanted';
    src: url('./fonts/BrozeriSlanted-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'BrozeriSlanted';
    src: url('./fonts/BrozeriSlanted-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* Poppins Regular (Normal) */
@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular ağırlığı */
    font-style: normal;
    font-display: swap;
}

/* Poppins Bold (Kalın) */
@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold ağırlığı */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArseniceTrial';
    src: url('./fonts/ArsenicaTrial-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold ağırlığı */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArseniceTrial';
    src: url('./fonts/ArsenicaTrial-Regular.ttf') format('truetype');
    font-weight: 400; /* Bold ağırlığı */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArseniceTrial';
    src: url('./fonts/ArsenicaTrial-Medium.ttf') format('truetype');
    font-weight: 400; /* Bold ağırlığı */
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #5B392F;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
}
.menu-card {
    width: 375px;
    height: auto;
    background-color: var(--bg-color);
    border-radius: 40px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    margin: 10px 0;
}

/* Instagram Footer Alanı Genel Tarzı */
.instagram-footer-section {
    padding: 60px 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-top: 1px solid #1c1c1e;
}

.insta-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Üstteki Instagram İkonu */
.insta-icon-wrapper {
    font-size: 42px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
    animation: smooth-bounce 3s ease-in-out infinite;
}

/* Başlık ve Açıklama */
.insta-content h2 {
    color: #5B392F;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0 0 12px 0;
font-family:'Poppins', sans-serif;
}

.insta-content p {
    color: #86868b; /* Apple stili gri alt metin */
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 28px 0;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

/* Premium Takip Et Butonu */
.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #5B392F !important;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.insta-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Hover (Üzerine Gelince) Efektleri */
.insta-btn:hover {
    background-color: #f5f5f7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.insta-btn:hover i {
    transform: translateX(4px);
}

/* Hafif İkon Salınım Animasyonu */
@keyframes smooth-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Mobil Uyum */
@media (max-width: 480px) {
    .instagram-footer-section {
        padding: 40px 15px;
    }
    .insta-content h2 {
        font-size: 18px;
    }
    .insta-content p {
        font-size: 14px;
    }
}

/* Header */
header {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
}

.logo {
    font-family: 'Brozeri', 'Poppins', sans-serif;
    font-size: 32px;
    letter-spacing: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 200px;
    height: auto;
    display: block;
}

/* Not: BrozeriSlanted fontu zaten eğik (slanted) tasarıma sahip olabilir.
   Bu yüzden “düz” görünüm için doğrudan slanted font yerine Brozeri-Regular kullanmak gerekir.
*/


.sub-logo {
    font-size: 10px;
    letter-spacing: 3px;
    margin-top: 5px;
    color: #555;
}

.menu-title {    

    text-align: center;
    font-size: 35px;
    margin-bottom: 15px;
    font-weight: 400;
}

/* List Items */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background-color: rgba(0,0,0,0.02);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #513124;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Görseldeki o özel organik şekil efekti için */
    clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
}

.icon-box img {
    width: 50px;
    height: 50px;
    border-radius:50px;
}

.menu-item span {
   
    font-size: 21px; 
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 2px;
    line-height: normal;
}

/* Footer */
footer {
    margin-top: auto;
    text-align: center;
    padding-bottom: 20px;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto 15px;
}

.leaf-icon {
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
    opacity: 0.6;
}

.mobile-container {
    width: 375px;
    background-color: var(--bg-color);
    min-height: 812px;
    border-radius: 40px;
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Header */
.menu-header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 5px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 20px;
}

.menu-header h1 {
    font-family: 'Brozeri', 'Poppins', sans-serif;
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 500;
}

.header-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin-top: 20px;
}

/* Product Card */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    margin-top: 0; /* boşluğu .product-list gap'i veriyor, çift boşluk olmasın */
}

.price-label::after {
    content: ":";
  margin-left: 2px; /* Metinle iki nokta arasinda çok hafif bir boşluk birakır */
  font-weight: bold; /* İstersen iki noktayı daha belirgin yapabilirsin */
}

.product-img img {
    display:none;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
}

/* ÖNEMLİ: Burada sabit "height" KULLANMIYORUZ.
   Sabit yükseklik, açıklaması uzun ürünlerde taşmaya (yazıların üst üste
   binmesine), açıklaması kısa/olmayan ürünlerde ise kocaman boşluğa yol açıyordu.
   İçerik kendi yüksekliğini belirlesin. */
.product-info {
    flex: 1;
    min-width: 0;              /* uzun kelimeler kartı taşırmasın */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

/* Açıklaması olmayan ürünler: isim solda, fiyat sağda, tek satır.
   Böylece "sadece isim + fiyat" olan satırlarda dev boşluk oluşmuyor. */
.product-card.no-desc .product-info {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.product-card.no-desc .price-box {
    align-self: baseline;
    margin-top: 0;
    flex-shrink: 0;
}

/* Sayfadaki hiçbir üründe açıklama yoksa liste aralığını da sıkılaştır */
body.no-desc .product-list {
    gap: 14px;
}

/* NOT: İleride ürün görsellerini açarsan (.product-img img { display:block })
   kartı görselle hizalamak için sabit height yerine ŞUNU ekle:
   .product-info { min-height: 100px; }
   min-height taşmaya izin verir, height ise taşırır. */

.product-info h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
    letter-spacing: 1.5px;
}

.product-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: 'Poppins', sans serif;
}

.price {
    font-family: 'Brozeri', 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    align-self: flex-end; /* Fiyatı sağ alta iter */
    margin-top: auto;
}

.price-box {
    align-self: flex-end;
    margin-top: auto;
    text-align: right;
}

.price-row {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: baseline;
    line-height: 1.2;
}

.price-label {
    font-size: 20px;
    color: #272727;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Brozeri', 'Poppins', sans-serif;
}

.price-value {
    font-family: 'Brozeri', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
}

/* ₺ işareti, fiyatın hemen önünde/arkasında kullanılacak */
.price-currency-before {
    font-size: 0.78em;
    font-weight: 600;
    margin-right: 3px;
}

/* ₺ işareti, fiyatın hemen arkasında kullanılacak */
.price-currency {
    font-size: 0.78em;
    font-weight: 600;
    margin-left: 3px;
}

span.fiyat {
    font-size:15px;
}






.price-box .price-row + .price-row {
    margin-top: 6px;
} 


/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
}

footer p {
    font-size: 11px;
    color: #888;
}

/* Modal Arka Planı */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9); /* Arka planı karartır */
    align-items: center;
    justify-content: center;
}

/* Modal İçindeki Görsel */
.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    animation: zoomIn 0.3s ease; /* Açılış efekti */
}

/* Kapatma Butonu */
.close-modal {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Açılış Animasyonu */
@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Tıklanabilir olduğunu belli etmek için */
.product-img img {
    cursor: pointer;
    transition: 0.3s;
}

.product-img img:hover {
    opacity: 0.8;
}
