/*
Theme Name: OD-Restoran
Theme URI: https://example.com
Author: Yapay Zeka
Version: 1.4.0
Requires PHP: 7.3.4
Description: 3'lü akıllı slider alanına ve admin paneli efekt ayarlarına sahip, premium OD-Restoran teması.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #0c0c0e;
    --surface-color: #121215; 
    --accent-color: #c5a880;
    --accent-hover: #b3956d;
    --text-color: #e5e5e7;
    --text-muted: #8e8e93;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
    overflow-x: hidden;
}

/* Header & Çizgisel Menü Yapısı */
.site-header {
    background-color: rgba(12, 12, 14, 0.90);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo-left { justify-content: space-between; }
.logo-center { justify-content: center; flex-direction: column; gap: 15px; }
.logo-right { justify-content: space-between; flex-direction: row-reverse; }

.desktop-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.desktop-menu li { margin: 0 22px; position: relative; }
.desktop-menu a {
    color: var(--text-color); text-decoration: none; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); padding: 10px 0;
}
.desktop-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background-color: var(--accent-color); transition: var(--transition);
}
.desktop-menu a:hover { color: var(--accent-color); }
.desktop-menu li:hover > a::after { width: 100%; }

/* Dropdown */
.desktop-menu .sub-menu {
    position: absolute; top: 100%; left: -20px; background-color: var(--surface-color); border: 1px solid rgba(197, 168, 128, 0.15); list-style: none; padding: 15px 0; margin: 10px 0 0 0; display: none; min-width: 240px; box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}
.desktop-menu li:hover > .sub-menu { display: block; }
.desktop-menu .sub-menu a { padding: 8px 25px; display: block; font-size: 12px; text-transform: none; letter-spacing: 1px; }
.desktop-menu .sub-menu a::after { display: none; }
.desktop-menu .sub-menu a:hover { background-color: rgba(197, 168, 128, 0.05); padding-left: 30px; }

/* Mobil Menü */
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--accent-color); font-size: 26px; cursor: pointer; }
.mobile-menu-wrapper { display: none; width: 100%; background-color: var(--surface-color); max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.mobile-menu-wrapper.active { display: block; max-height: 1000px; }
.mobile-menu { list-style: none; padding: 20px; margin: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(197, 168, 128, 0.05); }
.mobile-menu a { display: block; padding: 15px 10px; color: var(--text-color); text-decoration: none; font-size: 14px; text-transform: uppercase; }

/* ==========================================================================
   3'LÜ GELİŞMİŞ SLIDER MIMARISI (YENİ)
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    background-color: #000;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slayt Taban Yapısı */
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Karartma Maskesi */
.slide-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(12,12,14,0.4), rgba(12,12,14,0.95));
    z-index: 2;
}

.slide-content {
    position: relative;
    max-width: 900px;
    padding: 0 20px;
    z-index: 3;
    transform: translateY(30px);
    filter: blur(5px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease, opacity 0.8s ease;
    opacity: 0;
}

/* Aktif Slayt Ortak Ayarları */
.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.slide-item.active .slide-content {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
}

/* --- EFEKT 1: YUMUŞAK GEÇİŞ (FADE) --- */
.effect-fade .slide-item {
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* --- EFEKT 2: YANA KAYMA (SLIDE) --- */
.effect-slide .slide-item {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, visibility 0.6s ease;
    transform: translateX(100%);
}
.effect-slide .slide-item.active {
    transform: translateX(0);
}
.effect-slide .slide-item.prev-slide {
    transform: translateX(-100%);
    visibility: visible;
}

/* Slider Eleman İç Tasarımları */
.hero-subtitle { font-family: var(--font-body); color: var(--accent-color); text-transform: uppercase; letter-spacing: 6px; font-size: 12px; margin-bottom: 25px; display: block; }
.hero-title { font-family: var(--font-title); font-size: 70px; font-weight: 400; line-height: 1.15; margin: 0 0 35px 0; color: #ffffff; }
.hero-btn { display: inline-block; padding: 16px 45px; border: 1px solid var(--accent-color); color: var(--accent-color); text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; background: transparent; transition: var(--transition); }
.hero-btn:hover { background-color: var(--accent-color); color: #000; box-shadow: 0 10px 30px rgba(197, 168, 128, 0.2); }

/* Slider Navigasyon Noktaları */
.slider-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10;
}
.slider-dot {
    width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition);
}
.slider-dot.active {
    background-color: var(--accent-color); transform: scale(1.3);
}

/* Üçlü Kutu Alanı */
.services-section { max-width: 1300px; margin: -50px auto 80px auto; position: relative; z-index: 10; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-card { background-color: var(--surface-color); border: 1px solid rgba(197, 168, 128, 0.08); padding: 50px 35px; text-align: center; transition: var(--transition); }
.service-card:hover { border-color: var(--accent-color); transform: translateY(-5px); }
.service-icon { font-family: var(--font-title); font-size: 35px; color: var(--accent-color); margin-bottom: 25px; }
.service-card h3 { font-family: var(--font-title); font-size: 26px; font-weight: 400; margin: 0 0 15px 0; letter-spacing: 1px; }
.service-card p { color: var(--text-muted); font-size: 13px; line-height: 1.8; margin: 0; font-weight: 300; }

.site-main { max-width: 1400px; margin: 40px auto; padding: 0 20px; }

/* Kurumsal Footer */
.site-footer { background-color: var(--surface-color); border-top: 1px solid rgba(197, 168, 128, 0.1); padding: 80px 40px 30px 40px; margin-top: 80px; }
.footer-widgets { max-width: 1400px; margin: 0 auto 60px auto; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 60px; align-items: start; }
.footer-widget { display: flex; flex-direction: column; }
.footer-widget h4 { font-family: var(--font-title); color: var(--accent-color); font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 25px 0; position: relative; padding-bottom: 10px; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 1px; background-color: var(--accent-color); }
.footer-widget p, .footer-services-list { color: var(--text-muted); font-family: var(--font-body); font-size: 14px; line-height: 1.8; margin: 0; font-weight: 300; }
.footer-bottom { border-top: 1px solid rgba(197, 168, 128, 0.05); max-width: 1400px; margin: 0 auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-family: var(--font-body); font-size: 12px; color: #55555a; margin: 0; letter-spacing: 1px; }

@media (max-width: 1024px) {
    .services-section { grid-template-columns: 1fr; margin-top: 40px; gap: 25px; }
    .hero-title { font-size: 46px; }
    .footer-widgets { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-widget h4::after { left: 50%; transform: translateX(-50%); }
    .footer-bottom { flex-direction: column; gap: 15px; }
}
@media (max-width: 768px) { .desktop-menu { display: none; } .mobile-menu-toggle { display: block; } }