﻿/* --- 1. FONT TANIMLAMALARI --- */
@font-face {
    font-family: 'LaSeduction';
    src: url('/css/La_Seduction_Nuit.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');
/* --- 2. DEĞİŞKENLER --- */
:root {
    --gold: #c5a059;
    --dark-gold: #9E7659;
    --premium-dark: #2C2825;
    --premium-red: #914724;
    --cream: #f9f8f6;
}

/* --- 3. GENEL AYARLAR --- */
body {
    font-family: 'Lato', sans-serif;
    background-color: #F4F1ED;
    color: #333;
    margin: 0;
    padding: 0;
}

.custom-header-font {
    font-family: 'LaSeduction', serif !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.playfair {
    font-family: 'Playfair Display', serif;
}

/* --- 4. PREMIUM HEADER --- */
.premium-header {
    background-color: var(--premium-red);
    border-bottom: 4px solid var(--dark-gold);
    padding: 50px 0 60px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-back-link {
    position: absolute;
    top: 25px;
    left: 20px;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: opacity 0.3s;
    z-index: 5000;
}

    .btn-back-link:hover {
        opacity: 0.7;
    }

/* --- 5. İÇERİK KARTI (MENU CARD) --- */
.menu-card {
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-top: -35px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    min-height: 500px;
}

    .menu-card::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border: 1px solid rgba(158, 118, 89, 0.15);
        pointer-events: none;
        z-index: 20;
    }

/* --- 6. PDF YÜKLEME EKRANI (LOADER) --- */
#loader-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(197, 160, 89, 0.2);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- 7. PDF KONTROLLERİ VE RESPONSIVE ALAN --- */
#pdf-scroller {
    padding: 40px 0 100px;
    background: #fff;
    position: relative;
    z-index: 10;
}

.pdf-floating-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    border-radius: 50px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
}

.btn-nav-float {
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

    .btn-nav-float:hover:not(:disabled) {
        color: var(--gold);
        transform: scale(1.1);
    }

.page-indicator-float {
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

/* MOBİL İÇİN TAM UYUMLU PDF ÇERÇEVESİ */
.pdf-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 15px; /* Mobilde kenarlara yapışmasını engeller */
    box-sizing: border-box;
}

    .pdf-page-wrapper canvas {
        max-width: 800px; /* PC'de çok büyümesini engeller */
        width: 100%; /* Mobilde ekrana tam oturmasını sağlar */
        height: auto !important;
        border-radius: 6px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

/* --- 8. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    .premium-header {
        padding: 40px 10px;
    }

        .premium-header h1 {
            font-size: 2.2rem !important;
        }

    .menu-card {
        margin-top: 0;
        border-radius: 0;
    }

    .pdf-floating-controls {
        bottom: 20px;
        transform: translateX(-50%) scale(0.9);
    }

    .pdf-page-wrapper {
        padding: 0 5px; /* Mobilde iç boşluğu azaltır */
    }
}

