﻿/* --- 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;
    overflow-x: hidden;
}

.custom-header-font {
    font-family: 'LaSeduction', serif !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* --- 4. PREMIUM HEADER (DİĞERLERİYLE EŞİTLENDİ) --- */
.premium-header {
    background-color: var(--premium-red);
    border-bottom: 4px solid var(--dark-gold);
    padding: 30px 0 40px; /* Yükseklik Meopham ile aynı yapıldı */
    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. HEDİYE KARTI KAPSAYICI (GIFT CARD WRAPPER) --- */
.gift-card-wrapper {
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-top: -35px; /* Header'ın üstüne biner */
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 40px 20px;
}

    .gift-card-wrapper::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border: 1px solid rgba(158, 118, 89, 0.15);
        pointer-events: none;
    }

/* --- 6. IFRAME & LOADER --- */
.iframe-container {
    position: relative;
    width: 100%;
    height: 850px;
    background: #ffffff;
    overflow: hidden;
}

.square-iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .square-iframe.loaded {
        opacity: 1;
    }

#loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    z-index: 5;
}

.spinner {
    border: 3px solid rgba(158, 118, 89, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: var(--dark-gold);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--dark-gold);
    font-size: 1.1rem;
}

/* --- 7. RESPONSIVE --- */
@media (max-width: 768px) {
    .premium-header {
        padding: 40px 10px;
    }

        .premium-header h1 {
            font-size: 2.4rem !important;
        }

    .gift-card-wrapper {
        margin-top: 0;
        border-radius: 0;
        padding: 30px 10px;
    }

    .iframe-container {
        height: 1000px;
    }
}
