/* --- SIFIRLAMA VE TEMEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0a0a0a;
    color: #ffffff;
}

/* --- ANA MARKA (AYALP) ÜST LOGO ALANI --- */
.master-brand {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* Mouse etkileşimini engelle, altındaki panellere tıklanabilsin */
}

img.master-logo.animate-logo {
    height: 220px;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.7)); /* Arkaplan görseli üzerinde net okunması için güçlendirildi */
}

.master-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 12px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    margin-right: -12px; /* Letter spacing ortalama düzeltmesi */
}

.master-subtitle {
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: #d4af37; /* Kurumsal Altın Sarısı */
    font-weight: 600;
    margin-top: 4px;
    margin-right: -5px;
    text-transform: uppercase;
}

/* --- ANA TAŞIYICI --- */
.container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* --- BÖLÜMLER (SPLIT PANELS) --- */
.split {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 4rem 2.5rem 2.5rem;
    text-align: center;
    cursor: pointer;
}

/* Arka Planlar: Renk geçişleri yerine görseller entegre edildi */
.split.left {
    background-image: linear-gradient(rgb(0 0 0 / 40%), rgb(0 0 0 / 70%)), url('../uploads/ayalp-prime-bg.jpg');
    background-size: cover;
    background-position: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.split.right {
    background-image: linear-gradient(rgb(0 0 0 / 40%), rgb(0 0 0 / 70%)), url(../uploads/ayalp-gayrimenkul-bg.jpg);
    background-size: cover;
    background-position: center;
    background-color: #000 !important;
}

/* Hafif Işık Doku Katmanı (Görselin üzerini hafifçe karartarak yazıları ön plana çıkarır) */
.bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, rgba(0,0,0,0.55) 100%);
    opacity: 0.75;
    transition: opacity 0.7s ease;
    z-index: 1;
}

.split:hover .bg-overlay {
    opacity: 0.9;
}

/* Masaüstünde Üzerine Gelince Genişleme Efekti */
.split:hover {
    flex: 1.35;
}

/* --- İÇERİK KUTUSU --- */
.content {
    max-width: 440px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.split:hover .content {
    transform: scale(1.03);
}

/* --- LOGO STİLLERİ --- */
.logo-wrapper {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 170px;
    max-height: 120px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.6));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
}

.split:hover .logo {
    transform: scale(1.12) translateY(-5px) !important;
    filter: drop-shadow(0 15px 28px rgba(0,0,0,0.8));
}

/* --- YAZI VE ETİKET STİLLERİ --- */
.tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #d4af37;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.desc {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 2.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 380px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* --- BUTON STİLLERİ --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.95rem 2.6rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.arrow {
    font-style: normal;
    transition: transform 0.3s ease;
}

.split:hover .btn {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

.split:hover .arrow {
    transform: translateX(5px);
}

/* --- ANİMASYONLAR --- */
@keyframes logoEnter {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-60px);
    }
    60% {
        opacity: 1;
        transform: scale(1.08) translateY(10px);
    }
    80% {
        transform: scale(0.96) translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-logo {
    opacity: 0;
    animation: logoEnter 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes panelFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-panel-left {
    animation: panelFadeIn 0.8s ease-out forwards;
}

.animate-panel-right {
    animation: panelFadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.animate-fade {
    animation: fadeIn 1s ease-out forwards;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media screen and (max-width: 850px) {
    body, html {
        overflow-y: auto;
    }

    .master-brand {
        top: 1.2rem;
    }

    img.master-logo.animate-logo {
        height: 140px; /* Mobilde taşmayı önlemek için ayarlandı */
    }

    .master-title {
        font-size: 1.3rem;
        letter-spacing: 8px;
        margin-right: -8px;
    }

    .master-subtitle {
        font-size: 0.55rem;
        letter-spacing: 3px;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 5.5rem; /* Üst logoya mobilde alan açıldı */
    }

    .split {
        width: 100%;
        min-height: 50vh;
        padding: 2.5rem 1.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .split:last-child {
        border-bottom: none;
    }

    .split:hover {
        flex: 1;
    }

    .split:hover .content {
        transform: none;
    }

    .logo-wrapper {
        height: 85px;
        margin-bottom: 1rem;
    }

    .logo {
        max-width: 130px;
        max-height: 80px;
    }

    .title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .desc {
        font-size: 0.9rem;
        margin-bottom: 1.8rem;
        max-width: 320px;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }
}
