/* ========================================================================= */
/* AKZEMİN PROJE - ÖZGÜN KURUMSAL SİNEMATİK GİRİŞ STİLLERİ                   */
/* ========================================================================= */

#akzemin-cinematic-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #FBFBF2;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
}

/* Şantiye Gün Batımı Arka Plan Görseli (sinema.jpg) - KATMANSIZ & TAMAMEN NET */
.intro-cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sinema.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: kenBurnsZoom 6s ease-out forwards;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1.06); }
    100% { transform: scale(1.00); }
}

/* Merkez Sahne ve Kart Kapsayıcısı */
.intro-stage-center {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 92%;
    width: 540px;
    perspective: 1200px;
}

/* 3D Kurumsal Kart Kapsayıcısı ve Köşe Boşluğu Optimizasyonu */
.intro-card-frame {
    position: relative;
    width: 100%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.9) 0%, rgba(111, 78, 55, 0.6) 50%, rgba(197, 160, 89, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
    animation: cardFloatIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

@keyframes cardFloatIn {
    to { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg); 
    }
}

/* Kart Görsel Kırpma & Boşluk Sıfırlama */
.intro-card-inner {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kart Görseli - Fotoğraf Köşe Boşluklarını Tam Oturtma */
.intro-card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 0.4s ease;
}

/* Kart Üzeri Işık Yansıması (Shimmer Effect) */
.intro-card-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 42%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 58%
    );
    pointer-events: none;
    transform: rotate(30deg);
    animation: shimmerPass 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.6s;
}

@keyframes shimmerPass {
    0% { transform: translateY(-100%) rotate(30deg); }
    100% { transform: translateY(100%) rotate(30deg); }
}

/* Pafta Köşe Çentikleri (Architectural Crop Marks) */
.crop-mark {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #C5A059;
    border-style: solid;
    pointer-events: none;
    opacity: 0.9;
}
.crop-mark.top-left { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.crop-mark.top-right { top: -10px; right: -10px; border-width: 2px 2px 0 0; }
.crop-mark.bottom-left { bottom: -10px; left: -10px; border-width: 0 0 2px 2px; }
.crop-mark.bottom-right { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }

/* Kart Altındaki Slogan & Altyazı */
.intro-card-subtext {
    margin-top: 24px;
    font-size: 0.95em;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.8);
    opacity: 0;
    animation: subtextFade 0.8s ease forwards 0.8s;
}

@keyframes subtextFade {
    to { opacity: 1; }
}

/* Girişi Geç / Skip Butonu */
.intro-skip-btn {
    position: absolute;
    top: 36px;
    right: 44px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.15em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: skipFade 0.6s ease forwards 0.4s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.intro-skip-btn:hover {
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.85);
    border-color: #C5A059;
    transform: translateY(-2px);
}

.intro-skip-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    transition: transform 0.25s ease;
}

.intro-skip-btn:hover svg {
    transform: translateX(4px);
}

@keyframes skipFade {
    to { opacity: 0.95; }
}

/* PERDE SÜZÜLEREK AÇILIŞ (Elegance Curtain Exit) */
#akzemin-cinematic-intro.exiting {
    animation: curtainExit 0.95s cubic-bezier(0.76, 0, 0.24, 1) forwards;
    pointer-events: none;
}

@keyframes curtainExit {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

/* SAYFA İÇERİKLERİNİN DOĞAL BELİRMESİ */
body.cinematic-loaded .navbar,
body.cinematic-loaded .hero,
body.cinematic-loaded .services,
body.cinematic-loaded .info-section {
    animation: naturalReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes naturalReveal {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* REPLAY BUTTON NAVBAR INTEGRATION STYLES */
.replay-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px !important;
    background: rgba(111, 78, 55, 0.08);
    border: 1px solid rgba(111, 78, 55, 0.25);
    border-radius: 20px;
    color: var(--primary-dark) !important;
    font-size: 0.9em !important;
    transition: all 0.25s ease !important;
}
.replay-intro-link:hover {
    background: var(--primary-dark) !important;
    color: #FFF !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.2);
}

/* Responsive */
@media (max-width: 600px) {
    .intro-stage-center { width: 90%; }
    .intro-card-subtext { font-size: 0.78em; letter-spacing: 0.1em; margin-top: 18px; }
    .intro-skip-btn { top: 20px; right: 20px; font-size: 0.75em; padding: 6px 14px; }
}
