@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@400;500;600;800&display=swap');

:root {
    --primary: #D4AF37; /* Deoks Gold */
    --dark: #000;
    --white: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0; padding: 0;
    overflow-x: hidden;
    background: #000;
}

a { text-decoration: none !important; transition: 0.3s; }

/* =========================================
   1. HEADER & MENÜ (En Üst Katman: z-index 999)
   ========================================= */

.header-wrapper {
    position: absolute; /* Slider'ın üzerine biner */
    top: 150px; /* Logo üstten kesilmesin diye aşağı ittik */
    left: 0;
    width: 100%;
    z-index: 999; /* EN ÜSTTE OLMAK ZORUNDA */
}

/* Menü Şeridi */
.nav-bar {
    background: rgba(255, 255, 255, 0.95);
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
}

.nav-link {
    color: #111 !important;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover { color: var(--primary) !important; }

/* =========================================
   2. LOGO (Kritik Düzeltme)
   ========================================= */

.logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px !important; /* SABİT GENİŞLİK - Asla Taşmaz */
    height: 400px !important;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Elmas Şekli */
.logo-diamond {
    width: 240px !important; /* SABİT GENİŞLİK */
    height: 240px !important;
    background: #fff;
    border: 5px solid var(--primary);
    transform: rotate(45deg);
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: auto;
    margin-top: -10px;
}

.logo-diamond a {
    display: flex;
    width: 100%; height: 100%;
    align-items: center; justify-content: center;
}

.logo-img {
    transform: rotate(-45deg); 
    max-width: 140%; 
    max-height: 140%;
    object-fit: contain;
}

/* =========================================
   3. RANDEVU BUTONU
   ========================================= */
.randevu-tab {
    position: absolute;
    right: 50px; /* Site hizalaması */
    bottom: 80px; /* Menünün hemen üstü */
    background: #fff;
    padding: 12px 35px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    color: #000 !important;
    border-radius: 10px 10px 0 0;
    border: 3px solid var(--primary);
    border-bottom: none;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.randevu-tab:hover {
    background: var(--primary);
    color: #fff !important;
    padding-bottom: 15px;
}

/* =========================================
   4. SLIDER (Arka Plan Katmanı: z-index 0)
   ========================================= */
.hero-slider {
    position: fixed; /* Sayfa kaydıkça sabit kalır */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Tam ekran */
    z-index: 0; /* EN ALTTA */
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.slide-content-wrapper {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: 2;
    pointer-events: none;
}

.slide-caption {
    max-width: 800px;
    padding: 0 5%;
    position: absolute;
    pointer-events: auto;
}

/* Konumlandırmalar */
.pos-sol-alt   { left: 0; bottom: 15%; top: auto; text-align: left; }
.pos-sol-orta  { left: 0; top: 50%; transform: translateY(-50%); text-align: left; }
.pos-orta      { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; width: 80%; }
.pos-sag-alt   { right: 0; bottom: 15%; top: auto; text-align: right; }
.pos-sag-orta  { right: 0; top: 50%; transform: translateY(-50%); text-align: right; }

/* Işıltılı Yazı */
.shine-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--text-color) 20%, #fff 50%, var(--text-color) 80%);
    background-size: 200% auto;
    color: var(--text-color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0px 0px 30px rgba(255,255,255,0.2);
}

@keyframes shine { to { background-position: 200% center; } }

/* Mobil */
@media (max-width: 991px) {
    .header-wrapper { top: 0; position: relative; background: #000; padding-bottom: 20px; z-index: 999; }
    .nav-bar, .randevu-tab { display: none; }
    .hero-slider { position: relative; height: 60vh; z-index: 1; }
    .logo-container { position: relative; width: 100% !important; height: auto !important; transform: none; top:0; left:0; margin: 20px 0;}
    .logo-diamond { width: 140px !important; height: 140px !important; margin: 0 auto; }
    .shine-text { font-size: 2rem; }
}