/*
Theme Name: Alem Meyhane
Theme URI: http://alparslanaydin.com
Author: Alparslan Aydın
Description: Nevizade Alem Meyhane için özel, modern ve çok dilli restoran teması.
Version: 1.0.1
*/

/* --- TEMEL SIFIRLAMA VE DEĞİŞKENLER --- */
:root {
    --dark-blue: #0a1118; /* Ana arka plan */
    --darker-blue: #05090c; /* Alt bölümler için */
    --gold: #c5a059;      /* Vurgu rengi */
    --white: #ffffff;
    --light-gray: #ccc;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    box-sizing: border-box; /* Taşmaları engeller */
}

body {
    background-color: var(--dark-blue);
    color: var(--white);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Linkler */
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Konteyner */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADER (Geçici Stil) --- */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: absolute; /* Hero üzerine bindirmek için */
    width: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* --- ANA SAYFA STILLERI --- */

/* 1. Hero Section Styling */
.hero-section {
    position: relative;
    height: 90vh; /* Tam ekran yerine %90 yükseklik */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* GEÇİCİ DIŞ GÖRSEL: */
    background: url('https://images.unsplash.com/photo-1544148103-0773bf10d330?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax etkisi */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 9, 12, 0.75); /* Çok koyu mavi filtre */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem; /* Mobilde taşmaması için biraz küçülttüm */
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 5rem; }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

/* Modern Butonlar */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin: 10px;
    border-radius: 2px;
}

.btn-primary { background: var(--gold); color: var(--dark-blue); }
.btn-primary:hover { background: #fff; transform: translateY(-5px); box-shadow: 0 10px 20px -10px rgba(255,255,255,0.5); }

.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { border-color: #fff; background: #fff; color: var(--dark-blue); }
.btn-gold { border: 2px solid var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--dark-blue); }


/* 2. Intro Section (Biz Kimiz) */
.intro-section {
    padding: 120px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}
@media (min-width: 992px) {
    .intro-grid { grid-template-columns: 1fr 1fr; gap: 100px; }
}

.subtitle {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 20px;
}

.intro-text h2, .section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-top: 0;
    line-height: 1.3;
}
.intro-text p { color: var(--light-gray); font-size: 1.1rem; }

.image-frame {
    position: relative;
}
/* Görselin arkasına altın rengi bir gölge efekti */
.image-frame::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    width: 100%; height: 100%;
    border: 3px solid var(--gold);
    z-index: -1;
    opacity: 0.3;
    transition: 0.5s;
}
.image-frame:hover::before { top: 10px; left: 10px; opacity: 0.8; }

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) saturate(0.9); /* Hafif sinematik tonlama */
}

/* 3. Featured Menu (Öne Çıkanlar) */
.featured-menu {
    padding: 120px 0;
    background-color: var(--darker-blue); /* Bir ton daha koyu arka plan */
}
.section-title { text-align: center; margin-bottom: 60px; }
.section-title p { color: var(--gold); }

.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.flavor-item {
    background: #111;
    position: relative;
    overflow: hidden;
    group: 'flavor';
}

.flavor-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
    filter: brightness(0.8);
}

.flavor-item:hover .flavor-img {
    transform: scale(1.1);
    filter: brightness(1);
}

.flavor-info {
    padding: 30px;
    background: linear-gradient(to top, var(--darker-blue) 20%, transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.flavor-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    color: var(--white);
}

.flavor-info p {
    color: var(--light-gray);
    margin: 0;
    opacity: 0.8;
}
.text-center { text-align: center; }
/* --- GÜNCELLENMİŞ HEADER & NAVİGASYON --- */

.site-header {
    padding: 25px 0;
    position: fixed; /* Sayfa kayarken yukarıda kalsın */
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 17, 24, 0.9); /* Yarı şeffaf koyu arka plan */
    backdrop-filter: blur(10px); /* Modern cam efekti */
    border-bottom: 1px solid rgba(197, 160, 89, 0.2); /* Çok ince altın rengi çizgi */
    transition: 0.4s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigasyon Linkleri */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.main-nav ul li a:hover {
    color: var(--gold);
}

/* --- ŞIK DİL DEĞİŞTİRİCİ (TR | EN) --- */
.lang-switcher ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.lang-switcher ul li a {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: 0.3s;
}

.lang-switcher ul li.current-lang a {
    background: var(--gold);
    color: var(--dark-blue);
    border-color: var(--gold);
}

.lang-switcher ul li a:hover:not(.current-lang) {
    border-color: var(--gold);
    color: var(--gold);
}
/* Menü Arşiv Header */
.menu-archive-header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
}

.menu-category-block {
    margin: 80px 0;
}

.category-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto;
}

/* Menü Grid ve Kartlar */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
}

.menu-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.menu-item-card:hover {
    background: rgba(197, 160, 89, 0.1);
    transform: translateX(10px);
}

.menu-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Yuvarlak meze görselleri çok modern durur */
    border: 2px solid var(--gold);
}

.menu-item-content {
    flex-grow: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
    margin-bottom: 8px;
}

.menu-item-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: var(--font-serif);
}

.price {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.1rem;
}

.menu-item-desc p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-gray);
    font-style: italic;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .menu-grid { grid-template-columns: 1fr; }
    .menu-item-card { flex-direction: column; text-align: center; }
    .menu-item-header { flex-direction: column; align-items: center; border: none; }
}