/* Ana Renkler (Burası silinirse site siyah beyaz olur!) */
:root {
    --beyaz: #ffffff;
    --turkuaz: #40E0D0;
    --pembe: #FF69B4;
    --koyu-metin: #2d2d2d;
    --acik-metin: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: var(--beyaz);
    color: var(--koyu-metin);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--beyaz); 
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10; 
}

.logo { font-size: 1.8rem; font-weight: 800; color: var(--pembe); letter-spacing: 1px; }
.navbar ul { list-style: none; display: flex; gap: 30px; }
.navbar a { text-decoration: none; color: var(--koyu-metin); font-weight: 600; transition: color 0.3s; }
.navbar a { 
    text-decoration: none; 
    color: var(--koyu-metin); 
    font-weight: 600; 
    padding: 8px 20px; 
    /* Şeffaf pembe yerine şeffaf turkuaz (RGB: 64, 224, 208) */
    background-color: rgba(64, 224, 208, 0.15); 
    border-radius: 25px; 
    transition: all 0.3s ease; 
}

.navbar a:hover { 
    background-color: var(--pembe); /* Turkuaz yerine pembe oldu */
    color: var(--beyaz); 
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4); /* Gölgesi de pembe parlayacak */
    transform: translateY(-2px); 
}
/* Rezervasyon Yap - Ana CTA Butonu */
.btn-rezervasyon { 
    padding: 12px 30px; /* Diğer butonlardan daha iri ve dolgun */
    background: linear-gradient(45deg, var(--pembe), #ff8ebd); /* Canlı pembe degrade */
    color: var(--beyaz) !important; /* Yazı rengini zorla beyaz tutar */
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: 800; /* Daha kalın ve vurgulu yazı */
    font-size: 1.05rem; 
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4); /* Sürekli parlayan pembe gölge */
    transition: all 0.3s ease; 
}

.btn-rezervasyon:hover { 
    background: linear-gradient(45deg, var(--turkuaz), #5cf2e3); /* Üzerine gelince lüks turkuaz geçişi */
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.6); /* Gölge turkuaza döner ve büyür */
    transform: translateY(-3px) scale(1.03); /* Tıklanma hissi için hem kalkar hem çok hafif büyür */
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    perspective: 1000px; 
}

.hero-bg {
    position: absolute; top: -5%; left: -5%; width: 110%; height: 110%;
    background: linear-gradient(rgba(45, 45, 45, 0.5), rgba(64, 224, 208, 0.3)), url('dumanli-kahve.jpg') center/cover;
    z-index: 1; transition: transform 0.1s ease-out; 
}

.hero-content { position: relative; z-index: 2; color: var(--acik-metin); pointer-events: none; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.3rem; margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }

.btn-primary { 
    padding: 15px 30px; background-color: var(--pembe); color: var(--acik-metin); text-decoration: none; 
    border-radius: 30px; font-size: 1.1rem; font-weight: bold; transition: background 0.3s, transform 0.2s; 
    pointer-events: auto;
}
.btn-primary:hover { background-color: var(--turkuaz); transform: translateY(-2px); }

/* Menü Bölümü */
.menu-section { padding: 100px 50px; background-color: var(--beyaz); }
.menu-title { text-align: center; margin-bottom: 60px; }
.menu-title h2 { font-size: 2.8rem; color: var(--koyu-metin); margin-bottom: 15px; position: relative; display: inline-block; }
.menu-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: linear-gradient(to right, var(--turkuaz), var(--pembe)); border-radius: 2px; }
.menu-title p { color: #666; font-size: 1.1rem; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.menu-card { background-color: var(--beyaz); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.menu-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(64, 224, 208, 0.15); }

.card-img-wrapper { position: relative; height: 250px; background-color: #f5f5f5; overflow: hidden; }
.card-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.menu-card:hover .card-img { transform: scale(1.1); }

.urun1 { background-image: url('urun1.jpg'); }
.urun2 { background-image: url('urun2.webp'); }
.urun3 { background-image: url('urun3.jpg'); }
.urun4 { background-image: url('urun4.jpg'); }
.urun5 { background-image: url('urun5.jpg'); }
.urun6 { background-image: url('urun6.jpg'); }

.card-tag { position: absolute; top: 15px; left: 15px; background-color: var(--pembe); color: var(--acik-metin); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.card-info { padding: 25px; }
.card-info h3 { font-size: 1.4rem; color: var(--koyu-metin); margin-bottom: 10px; }
.card-info p { color: #777; font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; height: 45px; overflow: hidden; }

.card-bottom { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.5rem; font-weight: 700; color: var(--koyu-metin); }
.btn-add { width: 40px; height: 40px; background-color: var(--turkuaz); color: var(--acik-metin); text-decoration: none; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 1.5rem; font-weight: bold; transition: background 0.3s, transform 0.2s; }
.btn-add:hover { background-color: var(--pembe); transform: rotate(90deg); }
/* ===== 5. HAKKIMIZDA BÖLÜMÜ ===== */
.about-section {
    position: relative;
    padding: 120px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--beyaz);
    min-height: 80vh; /* Bölümün yeterince yüksek olmasını sağlar */
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sabit arka plan ile kaydırma efekti (Parallax) */
    background: url('kafe-icmekan.jpg') center/cover fixed; 
    z-index: 1;
}

/* Fotoğrafın üstüne yazıyı okutacak yarı şeffaf beyaz filtre */
.about-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.95)); 
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--pembe);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.about-text-box {
    background: var(--beyaz);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(64, 224, 208, 0.2); /* Turkuaz neonumsu gölge */
    border-bottom: 5px solid var(--turkuaz); /* Alt kısımda şık bir çizgi */
}

.about-text-box p {
    color: var(--koyu-metin);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text-box p:last-child {
    margin-bottom: 0; /* Son paragrafta gereksiz boşluğu engeller */
}
/* ===== 6. SEKMELİ MENÜ (AÇIK DEFTER VE RESİMLİ KART KONSEPTİ) ===== */
.full-menu-section {
    padding: 100px 50px;
    /* Ahşap masa arka planı, resmi bulamazsan koyu gri görünür */
    background: linear-gradient(rgba(20,20,20,0.85), rgba(20,20,20,0.85)), url('ahsap-masa.jpg') center/cover;
}

/* Kategori Butonları (Masa Üstü Etiketi Gibi) */
.tab-container {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px; background-color: rgba(255,255,255,0.1); color: var(--beyaz);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 30px; font-size: 1rem;
    cursor: pointer; backdrop-filter: blur(5px); transition: all 0.3s ease;
}

.tab-btn:hover { background-color: rgba(255,255,255,0.2); }
.tab-btn.active { background-color: var(--pembe); border-color: var(--pembe); color: var(--beyaz); box-shadow: 0 0 15px rgba(255, 105, 180, 0.5); }

/* Açık Menü Defteri Tasarımı */
.menu-book {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fdfaf6; /* Hafif krem kağıt rengi */
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    padding: 60px 50px;
    position: relative;
    /* Tam ortada sayfa katlanma izi (Kitap sırtı gölgesi) */
    background-image: linear-gradient(to right, #fdfaf6 0%, #fdfaf6 48%, #dcd0c0 50%, #fdfaf6 52%, #fdfaf6 100%);
}

.tab-content { display: none; }
.tab-content.active-content { display: block; animation: fadeSlideUp 0.5s ease forwards; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ürün Kartları (Tamamı Resimli) */
.menu-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Kitabın iki sayfası için iki sütun */
    gap: 30px 80px; /* Ortadaki kat izine değmesin diye sütun aralığı (80px) geniş */
}

.list-item {
    position: relative;
    height: 160px; /* Fotoğrafın görüneceği alan */
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 2px solid transparent;
    transition: transform 0.3s ease, border 0.3s ease;
}

.list-item:hover {
    transform: translateY(-5px);
    border: 2px solid var(--turkuaz);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.3);
}

/* Resmin üzerine karartma efekti (Yazılar okunsun diye) */
.item-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.list-item h4 {
    position: relative; z-index: 2;
    font-size: 1.3rem; color: var(--beyaz); text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    margin: 0;
}

.list-item span {
    position: relative; z-index: 2;
    font-size: 1.4rem; font-weight: 800; color: var(--turkuaz); text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}
/* ===== 7. DEFTER KENAR DESENLERİ VE ÇERÇEVELERİ ===== */

/* Sol Sayfa Çerçevesi (Pembe) */
.menu-book::before {
    content: '';
    position: absolute;
    top: 25px; 
    bottom: 25px;
    left: 25px; 
    right: calc(50% + 20px); /* Kat izine girmeden durur */
    border: 5px double rgba(255, 105, 180, 0.6); /* Yumuşak pembe çift çizgi */
    border-right: none; /* Kitabın sırtında çizgi olmasın */
    border-radius: 25px 0 0 25px; /* Köşeler kusursuz şekilde yuvarlatıldı */
    pointer-events: none;
    z-index: 10; /* Ürün kartlarının altında ezilmemesi için en üste alındı */
}

/* Sağ Sayfa Çerçevesi (Turkuaz) */
.menu-book::after {
    content: '';
    position: absolute;
    top: 25px; 
    bottom: 25px;
    left: calc(50% + 20px); 
    right: 25px;
    border: 5px double rgba(64, 224, 208, 0.6); /* Sağ tarafa turkuaz çift çizgi */
    border-left: none; 
    border-radius: 0 25px 25px 0;
    pointer-events: none;
    z-index: 10;
}
/* ===== 8. FOOTER / İLETİŞİM BÖLÜMÜ ===== */
.footer-section {
    background-color: #1a1a1a; /* Lüks koyu gri/siyah arka plan */
    color: #f1f1f1;
    padding: 80px 50px 20px 50px;
    margin-top: 50px; /* Menü ile arasına mesafe koyar */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand h2 {
    color: var(--pembe);
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3); /* Hafif pembe parlama */
}

.footer-brand p {
    color: #aaa;
    line-height: 1.6;
}

.footer-contact h3, .footer-hours h3 {
    color: var(--turkuaz);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Başlıkların altına estetik minik pembe çizgi */
.footer-contact h3::after, .footer-hours h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--pembe);
    border-radius: 2px;
}

.footer-contact ul, .footer-hours ul {
    list-style: none;
    padding: 0;
}

.footer-contact li, .footer-hours li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-contact li:hover {
    color: var(--turkuaz); /* Fare ile üzerine gelince turkuaz parlar */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #555;
    font-size: 0.9rem;
}
/* ===== 9. REZERVASYON BÖLÜMÜ TASARIMI ===== */
.reservation-section {
    padding: 100px 50px;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reservation-container {
    max-width: 550px;
    width: 100%;
    background-color: var(--beyaz);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.2);
    text-align: center;
}

.reservation-container h2 {
    font-size: 2.5rem;
    color: var(--koyu-metin);
    margin-bottom: 10px;
}

.reservation-container p {
    color: #777;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Form Alanları Grubu */
.form-group {
    text-align: left;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--koyu-metin);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    background-color: #fdfdfd;
    outline: none;
    transition: all 0.3s ease;
}

/* Giriş Alanlarına Tıklanınca Çalışacak Efekt */
.form-group input:focus {
    border-color: var(--turkuaz);
    background-color: var(--beyaz);
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.2);
}

/* Formun Büyük Gönder Butonu */
.btn-form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, var(--pembe), #ff8ebd);
    color: var(--beyaz);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-form-submit:hover {
    background: linear-gradient(45deg, var(--turkuaz), #5cf2e3);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
    transform: translateY(-2px);
}
/* ===== 10. BAŞARILI REZERVASYON POPUP (MODAL) ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Sayfadaki her şeyin üstünde durmasını sağlar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Arka planı hafifçe bulanıklaştırır */
}

/* Javascript ile bu sınıf eklendiğinde görünür olacak */
.modal-overlay.show-modal {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--beyaz);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translateY(50px) scale(0.8); /* Başlangıçta aşağıda ve küçüktür */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Zıplama (bounce) efekti */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modal-overlay.show-modal .modal-content {
    transform: translateY(0) scale(1); /* Görünür olduğunda normal boyutuna ve yerine gelir */
}

/* Yeşil Tik Çemberi */
.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(46, 204, 113, 0.15); /* Hafif yeşil zemin */
    color: #2ecc71; /* Canlı yeşil tik */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.success-icon svg { width: 40px; height: 40px; }

.modal-content h3 {
    color: var(--koyu-metin);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Anasayfaya Dön Butonu */
.btn-home {
    padding: 12px 35px;
    background-color: var(--turkuaz);
    color: var(--beyaz);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.btn-home:hover {
    background-color: var(--pembe);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
    transform: translateY(-2px);
}