@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Crimson+Text:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

:root {
    --gece: #0a0e1a;
    --alacakaranlik: #1a1f3a;
    --subh: #3d4b6e;
    --altin: #d4a574;
    --beyaz-duman: rgba(255, 255, 255, 0.85);
    --golgeli-beyaz: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, var(--gece) 0%, var(--alacakaranlik) 50%, var(--subh) 100%);
    color: var(--beyaz-duman);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Özel İmleç */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--altin);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--altin) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: 9998;
    opacity: 0.3;
}

/* Zaman Partikülleri */
.time-particles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--altin);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(100vh) translateX(0);
    }
    10% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 0.6; 
        transform: translateY(-50vh) translateX(100px);
    }
    90% { 
        opacity: 0.3;
    }
}

/* Ana Konteyner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Başlık Animasyonu */
.header {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--altin);
    text-shadow: 0 0 30px rgba(212, 165, 116, 0.5);
    animation: breathe 4s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.logo::before {
    content: 'KAIROS';
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 1px var(--altin);
    opacity: 0.3;
    animation: glitch 8s infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

.tagline {
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInSlow 3s ease forwards;
    animation-delay: 1s;
    letter-spacing: 0.1em;
}

@keyframes fadeInSlow {
    to { opacity: 0.7; }
}

/* Zaman Navigasyonu */
.time-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.time-portal {
    background: var(--golgeli-beyaz);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.time-portal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--altin) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 50%;
}

.time-portal:hover::before {
    width: 200px;
    height: 200px;
}

.time-portal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.3);
    border-color: var(--altin);
}

.time-portal span {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

/* Menü Bölümleri */
.menu-section {
    margin: 5rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: riseUp 1s ease forwards;
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--altin);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--altin), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { width: 100px; opacity: 0.5; }
    50% { width: 150px; opacity: 1; }
}

/* Yemek Kartları */
.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.dish-card {
    background: linear-gradient(135deg, var(--golgeli-beyaz) 0%, transparent 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.dish-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 1s ease;
    opacity: 0;
}

.dish-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

.dish-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.2);
    border-color: var(--altin);
}

.dish-moment {
    font-size: 0.9rem;
    color: var(--altin);
    font-style: italic;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.dish-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--beyaz-duman);
    position: relative;
}

.dish-memory {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.dish-ingredients {
    font-size: 0.9rem;
    color: var(--altin);
    opacity: 0.6;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    padding-top: 1rem;
}

/* Buğulu Görsel Efekti */
.dish-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    opacity: 0.1;
    filter: blur(20px);
    background: radial-gradient(circle, var(--altin) 0%, transparent 70%);
    animation: fogMove 10s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 10px) scale(1.1); }
    66% { transform: translate(10px, -20px) scale(0.9); }
}

/* Zaman Çizgisi */
.timeline {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background: var(--altin);
    border-radius: 50%;
    margin: 2rem 0;
    cursor: none;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--altin);
}

.timeline-dot::before {
    content: attr(data-time);
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--altin);
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.timeline-dot:hover::before {
    opacity: 1;
    right: 40px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.footer-text {
    font-style: italic;
    opacity: 0.6;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }
    
    .dish-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        display: none;
    }
    
    * {
        cursor: auto;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
}