/* --- TEMEL AYARLAR --- */
:root {
    --bg-color: #0a0a0a; /* Ekranın arka planı (karanlık boşluk) */
    --paper-color: #e8e4d9; /* Kirli kağıt rengi */
    --text-primary: #111111; /* Koyu mürekkep */
    --text-faded: rgba(17, 17, 17, 0.4); /* Silik mürekkep */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    overflow: hidden; /* KLASİK SCROLL'U İPTAL EDİYORUZ. Sadece Drag var. */
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
}

/* --- ANALOG DOKU (GRAIN) --- */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/grain.png'); /* Hazırladığın görsel */
    opacity: 0.15; /* Bu değeri zevkine göre kısıp açabilirsin */
    pointer-events: none; /* Mouse hareketlerini engellemez */
    z-index: 9999; /* En üstte durur */
}

/* --- RULO OBJESİ --- */
#rulo-wrapper {
    position: fixed;
    top: -5vh; /* Hafifçe yukarıdan taşıyor hissi */
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 600px;
    height: 15vh;
    z-index: 100;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.8)); /* Rulonun kağıda düşen gölgesi */
}

#rulo-texture {
    width: 100%;
    height: 100%;
    background-image: url('assets/rulo_doku.jpg'); /* Hazırladığın doku */
    background-size: cover;
    background-position: center bottom;
    border-radius: 10px; /* Kenarları hafif yuvarlak */
    position: relative;
    z-index: 2;
}

/* Ortadaki Boş Karton Hissi */
#rulo-core {
    position: absolute;
    top: 50%;
    left: -5%; /* Soldan delik gözüküyor gibi */
    width: 110%;
    height: 40px;
    background-color: #2a1f1a;
    border-radius: 5px;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: inset 0 10px 20px #000;
}

/* --- KAĞIT ŞERİDİ (AKAN KISIM) --- */
#experience-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
}

#paper-stream {
    width: 85vw;
    max-width: 500px;
    background-color: var(--paper-color);
    /* Eski kağıt yıpranması için hafif bir css hilesi */
    box-shadow: 
        inset 0 0 50px rgba(0,0,0,0.1), /* İçeriden kirlenme */
        0 0 30px rgba(0,0,0,0.5); /* Dış boşluğa yayılan gölge */
    position: absolute;
    top: 5vh; /* Rulonun altından çıkıyor gibi */
    padding-bottom: 50vh; /* En altta uzun bir boşluk */
    cursor: grab; /* Mouse ikonunu "tutma" eline çevirir */
}

#paper-stream:active {
    cursor: grabbing; /* Tutarken yumruk olur */
}

/* --- KATMANLAR (İÇERİK) --- */
.layer {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px dashed rgba(0,0,0,0.1); /* Perfore (koparma) çizgisi hissi */
    position: relative;
}

.intro {
    min-height: 70vh;
}

.instruction {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.6;
}

.drag-indicator {
    margin-top: 1rem;
    font-size: 2rem;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.05rem;
}

.sub-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--text-faded);
}