/* --- style.css (V3.1 FINAL) --- */

:root {
    --gold: #d4a373;
    --gold-glow: rgba(212, 163, 115, 0.5);
    --bg-body: #050505;
    --glass: rgba(30, 30, 30, 0.65);
    --glass-heavy: rgba(20, 20, 20, 0.95);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-sec: #9ca3af;
    --heart: #ef233c;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
::selection { background: var(--gold); color: #000; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
    background-color: var(--bg-body);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(212, 163, 115, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 163, 115, 0.05), transparent 25%);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin: 0; padding-bottom: 130px;
    min-height: 100vh;
    overflow-x: hidden;
}

#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; flex-direction: column; transition: opacity 0.6s ease-out, visibility 0.6s; }
.loader-logo { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--gold); animation: pulse 1.5s infinite; box-shadow: 0 0 30px var(--gold-glow); }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(212, 163, 115, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); } }

.app-header { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 2000;
    padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; 
    transition: all 0.4s ease; background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent); 
}
.app-header.scrolled { 
    background: var(--glass-heavy); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--glass-border); padding: 10px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.7); 
}

.header-left { display: flex; align-items: center; gap: 10px; }
.header-right { display: flex; align-items: center; gap: 10px; position: relative; }

.icon-btn { background: rgba(255,255,255,0.1); border: 1px solid var(--glass-border); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; backdrop-filter: blur(5px); transition: 0.3s; }
.icon-btn:hover { background: var(--gold); color: #000; }
.icon-btn:active { transform: scale(0.92); }

.mini-logo { width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; transform: translateY(-10px); transition: 0.3s; }
.app-header.scrolled .mini-logo { opacity: 1; transform: translateY(0); }
.brand-text { font-family: 'Dancing Script', cursive; font-size: 1.4rem; color: var(--gold); opacity: 0; transition: 0.3s; }
.app-header.scrolled .brand-text { opacity: 1; }

.desktop-nav, .desktop-icons { display: none; }

.lang-container { position: relative; z-index: 2001; }
.lang-trigger { 
    background: rgba(255,255,255,0.1); border: 1px solid var(--glass-border); 
    border-radius: 20px; padding: 6px 12px; display: flex; align-items: center; gap: 6px; 
    color: #fff; font-size: 0.85rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(5px); transition: 0.3s; 
}
.lang-trigger:hover { border-color: var(--gold); color: var(--gold); }

.lang-menu { 
    position: absolute; top: 120%; right: 0; 
    background: #1a1a1a; border: 1px solid var(--gold); 
    border-radius: 16px; padding: 5px; min-width: 140px; 
    display: none; flex-direction: column; gap: 2px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); 
    animation: slideDownMenu 0.2s ease-out;
}
.lang-menu.show { display: flex; }
@keyframes slideDownMenu { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.lang-option { background: none; border: none; width: 100%; padding: 12px; display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 0.9rem; cursor: pointer; border-radius: 12px; transition: 0.2s; text-align: left; }
.lang-option:hover { background: var(--gold); color: #000; }

.hero-banner { height: 360px; position: relative; overflow: hidden; mask-image: linear-gradient(to bottom, black 80%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%); }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: zoomHero 25s infinite alternate; }
@keyframes zoomHero { to { transform: scale(1.15); } }
.main-brand { text-align: center; margin-top: -85px; position: relative; z-index: 10; padding: 0 20px; }
.big-logo { width: 130px; height: 130px; border-radius: 50%; border: 4px solid var(--gold); background: #000; box-shadow: 0 20px 60px rgba(0,0,0,0.7); object-fit: cover; transition: transform 0.3s; }
.big-logo:active { transform: scale(0.95); }
.greeting { color: var(--gold); font-size: 1rem; font-weight: 600; margin-top: 15px; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }

.story-wrapper-container { width: 100%; overflow: hidden; }
.story-wrapper { display: flex; gap: 18px; overflow-x: auto; padding: 25px 20px; scrollbar-width: none; }
.story-item { display: flex; flex-direction: column; align-items: center; min-width: 72px; cursor: pointer; transition: transform 0.2s; }
.story-item:hover { transform: translateY(-5px); }
.story-ring { width: 70px; height: 70px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, var(--gold), #222); box-shadow: 0 5px 15px rgba(0,0,0,0.4); transition: 0.3s; }
.story-img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #000; object-fit: cover; }
.story-name { font-size: 0.75rem; margin-top: 8px; color: #ddd; font-weight: 500; }

.tools-container { padding: 0 20px; position: sticky; top: 75px; z-index: 90; transition: top 0.3s; }
.search-box { position: relative; margin-bottom: 15px; }
.search-inp { width: 100%; background: rgba(30, 30, 30, 0.8); border: 1px solid var(--glass-border); padding: 16px 45px 16px 20px; border-radius: 20px; color: #fff; font-family: 'Outfit', sans-serif; font-size: 1rem; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: 0.3s; }
.search-inp:focus { border-color: var(--gold); box-shadow: 0 0 25px rgba(212, 163, 115, 0.15); transform: translateY(-2px); background: #222; }
.search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.mood-chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.chip { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); padding: 10px 18px; border-radius: 25px; font-size: 0.85rem; white-space: nowrap; cursor: pointer; transition: 0.3s; color: #ccc; font-weight: 500; }
.chip.active { background: var(--gold); color: #000; font-weight: 700; box-shadow: 0 5px 20px var(--gold-glow); }

.menu-section { padding: 0 20px; min-height: 60vh; }
.section-title { font-size: 1rem; color: #777; text-transform: uppercase; letter-spacing: 3px; margin: 30px 0 15px 0; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, #333, transparent); }
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; opacity: 0; transform: translateY(20px); }
.card.active { background: rgba(212, 163, 115, 0.12); border-color: var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.card-header { padding: 18px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.card-info { display: flex; align-items: center; gap: 15px; }
.card-title { font-weight: 600; font-size: 1.05rem; color: #fff; }
.card-body { display: none; padding: 0 18px 20px 18px; animation: slideIn 0.3s ease-out; }
.card.active .card-body { display: block; }
.like-btn { width: 24px; height: 24px; fill: none; stroke: #666; stroke-width: 2; transition: 0.3s; z-index: 5; }
.like-btn.liked { fill: var(--heart); stroke: var(--heart); transform: scale(1.2); filter: drop-shadow(0 0 10px var(--heart)); }
.gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.g-img { min-width: 140px; height: 100px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(255,255,255,0.1); }
.card-desc { font-size: 0.95rem; color: #bbb; line-height: 1.5; font-style: italic; margin-top: 5px; }

/* FOOTER (Yeni Eklendi - Masaüstü Ortalaması İçin) */
.app-footer {
    text-align: center;
    padding: 30px;
    color: #555;
    font-size: 0.8rem;
    margin-top: 40px;
    border-top: 1px solid #222;
    width: 100%;
}

.dock-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 96%; max-width: 480px; z-index: 1000; }
.dock { background: rgba(18, 18, 18, 0.92); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 35px; padding: 12px 5px; display: flex; justify-content: space-around; box-shadow: 0 20px 60px rgba(0,0,0,0.9); }
.dock-item { background: none; border: none; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #777; cursor: pointer; transition: 0.3s; flex: 1; }
.dock-label { font-size: 0.6rem; font-weight: 600; opacity: 0.8; }
.dock-item:hover { color: var(--gold); transform: translateY(-3px); }
.dock-icon { width: 24px; height: 24px; fill: currentColor; }

.modal-bg { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9); z-index: 9999; display:none; justify-content:center; align-items:center; backdrop-filter: blur(12px); opacity: 0; transition: opacity 0.3s; }
.modal-bg.show { opacity: 1; }
.modal-box { background: #1a1a1a; border: 1px solid var(--gold); padding: 35px; border-radius: 30px; text-align: center; max-width: 85%; width: 340px; transform: scale(0.8); transition: transform 0.3s; }
.modal-bg.show .modal-box { transform: scale(1); }
.modal-btn { background: var(--gold); color: #000; padding: 12px 35px; border-radius: 25px; font-weight: 800; margin-top: 25px; border:none; cursor: pointer; }
.calc-input { width: 100%; padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid #444; color: #fff; border-radius: 15px; font-size: 1.1rem; text-align: center; margin-bottom: 12px; }
.calc-result { font-size: 1.8rem; color: var(--gold); font-weight: 800; margin-top: 20px; }

.hidden { display: none !important; }

@media (min-width: 1024px) {
    body { padding-bottom: 0; }
    .main-container { max-width: 1200px; margin: 0 auto; padding-bottom: 50px; }
    .app-header { padding: 20px 50px; background: rgba(0,0,0,0.9); }
    .desktop-nav { display: flex; gap: 25px; margin-left: 40px; }
    .desktop-nav button { background: none; border: none; color: #ccc; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: 0.3s; font-family: 'Outfit', sans-serif; }
    .desktop-nav button:hover { color: var(--gold); }
    .desktop-icons { display: flex; gap: 15px; margin-right: 20px; }
    .desktop-icons .icon-btn { width: 42px; height: 42px; }
    .dock-container { display: none; }
    .mobile-only { display: none !important; }
    .story-wrapper { justify-content: center; padding-bottom: 40px; }
    .story-ring { width: 90px; height: 90px; }
    .story-name { font-size: 0.9rem; }
    
    .menu-section {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
        align-items: start;
        padding: 0 50px;
    }
    
    /* Footer Grid İçine Girmesin Diye */
    .app-footer { grid-column: 1 / -1; }

    .section-title { grid-column: 1 / -1; margin-top: 60px; font-size: 1.8rem; border-left: 5px solid var(--gold); padding-left: 20px; }
    .card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.6); border-color: rgba(212, 163, 115, 0.5); }
    .header-right { gap: 20px; }
    .lang-trigger { padding: 8px 16px; font-size: 1rem; }
}