/* Genel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Scrollbar'ı gizle */
    background-color: #000;
}

/* Video Arkaplanı */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Videoyu ekrana tam sığdır, oranları koru */
}

/* Videonun üzerine hafif karanlık bir katman atarak içeriğin okunabilirliğini artırıyoruz */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* İçerik Düzeni */
.content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Logo Stilleri */
.logo-container {
    margin-bottom: 50px;
    position: relative;
    overflow: visible;
    animation: logoEntrance 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* Parlayan ışık halkası efekti için pseudo-element */
.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 210, 100, 0.55) 0%,
        rgba(255, 160, 30, 0.25) 35%,
        rgba(255, 100, 0, 0.08) 60%,
        transparent 75%
    );
    border-radius: 50%;
    animation: glowBurst 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Altın parlaklık süpürmesi için pseudo-element */
.logo-container::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -60%;
    width: 40%;
    height: 120%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 230, 150, 0.6) 48%,
        rgba(255, 255, 220, 0.9) 50%,
        rgba(255, 230, 150, 0.6) 52%,
        transparent 80%
    );
    transform: skewX(-15deg);
    animation: shineSweep 2.8s ease forwards;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

.logo {
    max-width: 1200px;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 0px rgba(255, 200, 80, 0));
    animation: logoGlow 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Madalyonlar Konteyneri */
.medallions-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
    /* 3D Efekt için perspektif */
    animation: fadeInUp 1.5s ease 0.5s both;
    /* Gecikmeli giriş animasyonu */
}

/* Madalyon Ana Yapısı */
.medallion {
    width: 150px;
    height: 150px;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
}

/* Madalyon İç Kısmı - Dönüş Efektini Tutan Yer */
.medallion-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    /* Yumuşak dönüş animasyonu */
    transform-style: preserve-3d;
    /* Çocuk elementlerin 3D konumunu koru */
}

/* Hover (Üzerine Gelme) Durumu */
.medallion:hover .medallion-inner {
    transform: rotateY(180deg);
}

/* Madalyon Ön ve Arka Yüzleri (Ortak Stiller) */
.medallion-front,
.medallion-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari için arka yüzü gizle */
    backface-visibility: hidden;
    /* Diğer tarayıcılar için arka yüzü gizle */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    /* Resim ve yazının alt alta durması için */
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
    /* Derinlik ve köşelerde hafif parlaklık */
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    /* Taşan arkaplan resimlerini yuvarlaktan kesmek için */
}

/* Madalyon Ön Yüz */
.medallion-front {
    background: rgba(255, 255, 255, 0.1);
    /* Yarı saydam beyaz - Cam efekti */
    backdrop-filter: blur(10px);
    /* Arkaplanı bulanıklaştır (Cam efekti) */
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;
}

/* Madalyon Arka Yüz */
.medallion-back {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(50, 50, 50, 0.9) 100%);
    /* Koyu Gradient */
    color: white;
    transform: rotateY(180deg);
    /* Başlangıçta 180 derece döndürülmüş durur */
    font-size: 13px;
    line-height: 1.4;
    border-color: rgba(255, 255, 255, 0.3);
}

.medallion-back h3 {
    font-size: 13px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.medallion-back p {
    margin: 0;
}

/* Madalyon İçi Görsel Eklentileri */
.medallion-logo {
    width: 115px;
    height: 115px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
    /* Logonun parlamasını/belirginleşmesini sağlar */
}

/* Modifiye edilmiş diğer resim sınıfları (Eğer gerekirse) */
.medallion-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.medallion-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi alana sığdır */
    z-index: -1;
    /* Yazının arkasında kalsın */
    opacity: 0.5;
    /* Resmi biraz transparan yapıp yazının okunmasını kolaylaştırır */
}

/* Animasyonlar */

/* Logo ana giriş animasyonu */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(1.35) translateY(-30px);
        filter: blur(18px);
    }
    18% {
        opacity: 1;
        filter: blur(6px);
    }
    45% {
        transform: scale(1.04) translateY(4px);
        filter: blur(0px);
    }
    65% {
        transform: scale(0.98) translateY(-2px);
    }
    80% {
        transform: scale(1.01) translateY(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

/* Logo drop-shadow parlaklık animasyonu */
@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 0px rgba(255, 200, 80, 0)) brightness(0.2);
    }
    20% {
        filter: drop-shadow(0 0 40px rgba(255, 200, 80, 0.9)) brightness(2.5);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 180, 60, 0.5)) brightness(1.1);
    }
    80% {
        filter: drop-shadow(0 0 8px rgba(255, 200, 80, 0.2)) brightness(1);
    }
    100% {
        filter: drop-shadow(0 0 0px rgba(255, 200, 80, 0)) brightness(1);
    }
}

/* Işık patlaması (glow ring) */
@keyframes glowBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.4);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.9);
    }
}

/* Altın parlaklık süpürmesi */
@keyframes shineSweep {
    0% {
        opacity: 0;
        left: -60%;
    }
    25% {
        opacity: 0;
    }
    40% {
        opacity: 1;
        left: 10%;
    }
    60% {
        opacity: 1;
        left: 80%;
    }
    75% {
        opacity: 0;
        left: 130%;
    }
    100% {
        opacity: 0;
        left: 130%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive (Mobil Uyumluluk) */
@media (max-width: 850px) {
    .medallions-container {
        gap: 15px;
    }

    .medallion {
        width: 120px;
        height: 120px;
    }

    .medallion-front {
        font-size: 12px;
    }

    .medallion-back {
        font-size: 11px;
    }

    .logo {
        max-width: 500px;
    }
}

@media (max-width: 500px) {
    
    .medallions-container {
        gap: 20px;
    }

    .medallion-front {
        font-size: 10px;
    }

    .medallion-back {
        font-size: 9px;
    }

    .medallion-logo {
        padding: 10px;
    }
}

/* --- Müzik Çalar Stilleri --- */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1.5s ease 1s both;
}

.music-player:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.2s;
    padding: 5px;
}

.control-btn:hover {
    color: #4CAF50;
    transform: scale(1.1);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

#volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    transition: opacity 0.2s;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s;
}

#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 500px) {
    .music-player {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        padding: 8px 15px;
    }

    .music-player:hover {
        transform: translateX(50%) translateY(-5px);
    }

    #volume-slider {
        width: 60px;
    }
}

/* --- Mobil İletişim Butonları --- */
.mobile-contact-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    z-index: 101;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: fadeInUp 1.5s ease 1s both;
}

.mobile-contact-btn:active {
    transform: scale(0.95);
}

.mobile-call-btn {
    left: 20px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-whatsapp-btn {
    right: 20px;
    background: #25D366;
}

@media (max-width: 850px) {
    .mobile-contact-btn {
        display: flex;
    }
}