﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

#slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

    #slideshow img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 1s;
        border-radius: 0;
    }

#mapPoint {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    display: none;
    animation: pulse 2s infinite;
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    transition: all 1.2s ease;
    opacity: 1;
    visibility: visible;
}

    .intro-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.1);
    }

.intro-logo {
    max-width: 900px;
    max-height: 200px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(211, 70, 85, 0.6)) brightness(1.1);
    transition: all 0.3s ease;
}

    .intro-logo:hover {
        filter: drop-shadow(0 0 30px rgba(211, 70, 85, 0.8)) brightness(1.2);
        transform: scale(1.02);
    }

.intro-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.journey-button {
    background: linear-gradient(45deg, #d34655, #a73444);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(211, 70, 85, 0.4);
}

    .journey-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(211, 70, 85, 0.6);
        background: linear-gradient(45deg, #a73444, #8b2a36);
    }

.story-scene {
    position: absolute;
    z-index: 20;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease;
    pointer-events: none;
}

    .story-scene.active {
        opacity: 1;
        transform: translateY(0);
    }

.story-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    color: #333;
    width: 400px; /* 380px'ten 400px'e çıkardık - daha uzun yazılar için */
    min-height: 250px; /* 220px'ten 250px'e çıkardık */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

.story-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: iconBounce 2s ease-in-out infinite;
}

.story-image {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    height: 150px;
}

    .story-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

        .story-image img:hover {
            transform: scale(1.05);
        }

.story-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px; /* 15px'ten 20px'e çıkardık */
    color: #d34655;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px; /* Alt padding ekledik */
}

    .story-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(45deg, #d34655, #ff6b7a);
        border-radius: 2px;
    }

.story-text {
    font-size: 1.1rem; /* 1.05rem'den 1.1rem'e çıkardık */
    line-height: 1.6; /* 1.7'den 1.6'ya düşürdük - satır arası yakınlaştı */
    opacity: 0.9;
    font-family: 'Segoe UI', 'Tahoma', sans-serif;
    text-align: justify;
    hyphens: auto;
    margin-top: 5px; /* Üst margin ekledik */
}

.story-highlight {
    color: #d34655;
    font-weight: 600;
    font-family: 'Arial', 'Helvetica', sans-serif; /* Vurgular için sans-serif */
}

/* HİKAYE POZİSYONLARI */
.scene-1 {
    top: 15%;
    right: 8%;
}

.scene-2 {
    top: 20%;
    left: 8%;
}

.scene-3 {
    bottom: 25%;
    right: 8%;
}

.scene-4 {
    top: 25%;
    left: 8%;
}

.scene-5 {
    top: 20%;
    right: 8%;
}

.scene-6 {
    bottom: 25%;
    left: 8%;
}

/*.scene-4 {
    top: 35%;
    right: 8%;
}

.scene-5 {
    top: 50%;
    left: 8%;
}

.scene-6 {
    bottom: 15%;
    right: 8%;
}*/

.top-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 97%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s ease;
}

    .top-navigation.visible {
        opacity: 1;
        pointer-events: auto;
    }

.top-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.skip-button {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .skip-button:hover {
        background: rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.8);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        color: #fff;
    }

.final-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(40 42 127 / 95%), rgb(255 255 255 / 95%));
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

    .final-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.final-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

    .final-content h2 {
        font-size: 3.5rem;
        font-family: 'Georgia', 'Times New Roman', serif;
        font-weight: 400;
        margin-bottom: 25px;
        color: white;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        letter-spacing: 2px;
        line-height: 1.2;
    }

    .final-content p {
        font-size: 1.4rem;
        font-family: 'Segoe UI', 'Tahoma', sans-serif;
        font-weight: 300;
        margin-bottom: 40px;
        opacity: 0.95;
        letter-spacing: 0.5px;
        line-height: 1.6;
    }

.home-button {
    background: #212151;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    padding: 15px 35px; /* 20px 50px'ten küçülttük */
    border-radius: 25px; /* 8px'ten radiuslu yaptık */
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

    .home-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .home-button:hover::before {
        left: 100%;
    }

    .home-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }

@media (max-width: 768px) {
    .story-box {
        width: 300px;
        padding: 25px;
    }

    .story-title {
        font-size: 1.4rem;
    }

    .story-text {
        font-size: 0.95rem;
    }
}
       

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}
