/* --- Restoran Başlığı --- */
.restaurant-header {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    animation: header-fade-in 2s ease-out 4.5s forwards;
}
.restaurant-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #e6d2a3;
    margin: 0;
    text-shadow: 0 0 15px rgba(230, 210, 163, 0.5);
}
.restaurant-slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #e6d2a3;
    margin: 0.5rem 0 0 0;
    letter-spacing: 1px;
    font-style: italic;
    opacity: 0.8;
}
@keyframes header-fade-in { to { opacity: 1; } }

/* --- Giriş Animasyonu --- */
.intro-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #0a0a3b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}
.intro-spotlight {
    position: absolute;
    width: 1px; height: 1px;
    background: radial-gradient(circle, rgba(230, 210, 163, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(0);
    animation: spotlight-effect 2s ease-in-out forwards;
}
.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: #e6d2a3;
    opacity: 0;
    animation: title-reveal 2s ease-in-out 1.5s forwards;
    text-shadow: 0 0 15px #e6d2a3;
}
@keyframes spotlight-effect { to { transform: scale(3000); } }
@keyframes title-reveal { to { opacity: 1; } }

/* --- ORİJİNAL TEMA KODLARI --- */
body {
    margin: 0; padding: 0;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(180deg, #0a0a3b 0%, #2b1a5a 100%);
    color: #e6d2a3;
}
body.modal-open {
    overflow: hidden; /* Açılan kart varken arkaplan kaymasını engelle */
}
.kairos-luxe {
    position: relative;
    width: 100vw; height: 100vh;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease-in;
}
.kairos-luxe.visible { opacity: 1; }
.luxe-salon {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}
.sapphire-veil, .gold-embellish, .bordeaux-warmth {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}
.gold-embellish { z-index: 2; }
.bordeaux-warmth { z-index: 3; }
.sapphire-veil { background: radial-gradient(circle, rgba(10, 10, 59, 0.4) 0%, transparent 70%); opacity: 0.7; }
.gold-embellish { background: radial-gradient(circle, rgba(230, 210, 163, 0.3) 0%, transparent 70%); opacity: 0.5; transition: opacity 1.2s ease-in-out, transform 1s ease-in-out; }
.bordeaux-warmth { background: radial-gradient(circle, rgba(128, 0, 32, 0.3) 0%, transparent 70%); opacity: 0.4; transition: opacity 1.5s ease-in-out; }

/* --- MENÜ KARTLARI (JEWELS) --- */
.jewel-case {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    z-index: 4;
    transform-style: preserve-3d;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.jewel {
    min-width: 260px; width: 260px; height: 400px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    border: 1px solid rgba(230, 210, 163, 0.2);
    border-radius: 20px;
    position: relative;
    transform: rotateX(10deg) translateY(0px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.jewel:hover {
    transform: rotateX(0deg) translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(230, 210, 163, 0.3), 0 0 30px rgba(230, 210, 163, 0.6);
    border-color: rgba(230, 210, 163, 0.5);
}
.jewel-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    opacity: 0.9;
    transition: opacity 0.5s ease-in;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
}
.jewel:hover .jewel-content { opacity: 1; }
.category-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin: 0 0 1rem; color: #e6d2a3; text-shadow: 0 0 5px rgba(0, 0, 0, 0.4); }
.category-dishes { display: flex; flex-direction: column; gap: 1rem; max-height: 280px; overflow-y: auto; padding: 0 15px 0 5px; }
.category-dishes::-webkit-scrollbar { width: 4px; }
.category-dishes::-webkit-scrollbar-track { background: transparent; }
.category-dishes::-webkit-scrollbar-thumb { background-color: rgba(230, 210, 163, 0.3); border-radius: 20px; }
.dish { padding: 0.5rem; transition: background-color 0.4s ease; }
.dish:hover { background-color: rgba(230, 210, 163, 0.1); }
.dish-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin: 0; color: #e6d2a3; text-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }
.dish-visual {
    width: 140px; height: 90px;
    background-size: cover;
    background-position: center;
    margin: 0.7rem auto;
    border-radius: 8px;
    overflow: hidden;
    filter: grayscale(80%) blur(2px);
    transition: filter 0.6s ease, transform 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(230, 210, 163, 0.15);
}
.jewel:hover .dish-visual {
    filter: grayscale(0%) blur(0px);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(230, 210, 163, 0.2);
}
.dish-story {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: #e6d2a3;
    margin: 0.4rem 0;
    opacity: 0.9;
}
.dish-details {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #d4a5b2;
    opacity: 0.8;
    margin: 0;
}

.scroll-nav { display: none; position: absolute; width: 100%; top: 50%; left: 0; transform: translateY(-50%); justify-content: space-between; padding: 0 10px; box-sizing: border-box; z-index: 10; pointer-events: none; }
.scroll-btn { pointer-events: all; width: 40px; height: 40px; background-color: rgba(230, 210, 163, 0.2); border: 1px solid rgba(230, 210, 163, 0.4); border-radius: 50%; color: #e6d2a3; font-size: 2rem; line-height: 36px; text-align: center; cursor: pointer; transition: background-color 0.3s, transform 0.3s, opacity 0.3s; opacity: 0.7; }
.scroll-btn:hover { background-color: rgba(230, 210, 163, 0.4); transform: scale(1.1); }
.scroll-btn.hidden { opacity: 0.2; pointer-events: none; }

/* --- PROFESYONEL AÇILAN KART STİLLERİ --- */
.heritage-vitrine, .signature-vitrine {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none; /* Tıklamayı engelle */
}
.heritage-vitrine::before, .signature-vitrine::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 59, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.heritage-vitrine.active, .signature-vitrine.active {
    pointer-events: auto; /* Tıklamayı etkinleştir */
}
.heritage-vitrine.active::before, .signature-vitrine.active::before {
    opacity: 1;
}
.heritage-vitrine .vitrine-content, .signature-vitrine .vitrine-content {
    text-align: center;
    max-width: 700px; width: 90%;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle, rgba(230, 210, 163, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(230, 210, 163, 0.3);
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.heritage-vitrine.active .vitrine-content, .signature-vitrine.active .vitrine-content {
    opacity: 1;
    transform: scale(1);
}
.vitrine-visual, .vitrine-title, .vitrine-story, .vitrine-details, .close-vitrine, .close-signature-vitrine {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.heritage-vitrine.active .vitrine-visual { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.heritage-vitrine.active .vitrine-title { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.heritage-vitrine.active .vitrine-story { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.heritage-vitrine.active .vitrine-details { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.heritage-vitrine.active .close-vitrine,
.signature-vitrine.active .close-signature-vitrine { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.signature-vitrine.active .vitrine-visual { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.signature-vitrine.active .vitrine-title { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.signature-vitrine.active .vitrine-story { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.signature-vitrine.active .vitrine-details { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

.vitrine-title { font-size: 2.5rem; }
.vitrine-visual { width: 100%; max-width: 400px; height: 250px; margin: 0 auto 1rem; border-radius: 10px; background-size: cover; background-position: center; border: 1px solid rgba(230, 210, 163, 0.2); }
.vitrine-story { font-size: 1.1rem; }
.vitrine-details { font-size: 1rem; }
.close-vitrine, .close-signature-vitrine {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    background: rgba(128, 0, 32, 0.5);
    border: none;
    color: #e6d2a3;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}
.close-vitrine:hover, .close-signature-vitrine:hover {
    background: rgba(128, 0, 32, 0.8);
    box-shadow: 0 0 10px rgba(230, 210, 163, 0.4);
}

/* --- Şefin İmzası Butonu --- */
.signature-call {
    position: absolute;
    bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    animation: footer-fade-in 2s ease-out 5s forwards;
}
#show-signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(230, 210, 163, 0.3);
    border-radius: 25px;
    cursor: pointer;
    color: #e6d2a3;
    transition: background 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}
#show-signature:hover {
    background: rgba(128, 0, 32, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(230, 210, 163, 0.4);
}
@keyframes footer-fade-in { to { opacity: 1; } }

/* --- DUYARLI TASARIM --- */
@media (max-width: 1024px) {
    .jewel-case { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .jewel-case::-webkit-scrollbar { display: none; }
    .scroll-nav { display: flex; }
    .luxe-salon { align-items: center; }
    .jewel { transform: rotateX(0deg); flex-shrink: 0; }
    .jewel:hover { transform: scale(1.03); }
    .dish-story { font-size: 0.8rem; margin: 0.2rem 0; }
    .dish-details { font-size: 0.75rem; opacity: 0.6; }
}
@media (max-width: 768px) {
    /* Mobil İçin Kart Animasyonu */
    .heritage-vitrine .vitrine-content, .signature-vitrine .vitrine-content {
        position: fixed;
        bottom: 0; left: 0;
        width: 100%;
        max-width: 100%;
        height: 85vh; /* Ekranın %85'ini kaplasın */
        border-radius: 25px 25px 0 0; /* Sadece üst köşeler yuvarlak */
        padding: 2rem 1rem;
        box-sizing: border-box;
        transform: translateY(100%); /* Başlangıçta ekranın altında */
        transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .heritage-vitrine.active .vitrine-content, .signature-vitrine.active .vitrine-content {
        transform: translateY(0); /* Ekrana kayarak gelsin */
    }
    .signature-call { bottom: 2rem; }
    #show-signature { font-size: 1rem; padding: 0.6rem 1.2rem; }
    .vitrine-title { font-size: 2rem; }
    .vitrine-story { font-size: 1rem; }
    .vitrine-details { font-size: 0.9rem; }
}
@media (max-width: 600px) {
    .intro-title { font-size: 3rem; }
    .restaurant-name { font-size: 2rem; }
    .restaurant-slogan { font-size: 1rem; }
}