/* --- GENEL AYARLAR --- */
body {
    background-color: #0f0f12; /* Çok Koyu Arka Plan */
    color: #fff;
    font-family: 'Courier New', Courier, monospace; /* Daktilo / Kodcu Yazı Tipi */
    display: flex;
    justify-content: center; /* Yatay Ortala */
    align-items: center;     /* Dikey Ortala */
    height: 100vh;           /* Ekranı Kapla */
    margin: 0;
}

/* --- KAPSAYICI --- */
.main-container {
    text-align: center;
    width: 90%;
    max-width: 600px; /* Çok genişlemesin */
}

/* --- BAŞLIK --- */
.title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 5px; /* Harf aralığını aç */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* Hafif neon gölge */
}

.highlight {
    color: cyan;
}

/* --- SÖZ KARTI --- */
.quote-card {
    background: rgba(20, 20, 25, 0.8); /* Yarı saydam gri */
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-left: 5px solid cyan; /* Sol tarafa kalın çizgi */
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* Derinlik gölgesi */
    transition: all 0.3s ease; /* Animasyon geçişi */
}

/* JS ile bu sınıfı ekleyip çıkaracağız (Parlama Efekti) */
.quote-card.active {
    box-shadow: 0 0 40px cyan; /* Parlak neon */
    border-color: cyan;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 255, 255, 0.3);
    position: absolute;
    top: 20px;
    left: 20px;
}

#quote-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 20px 0;
    font-style: italic;
    min-height: 80px; /* Söz değişince kutu zıplamasın diye yer tutucu */
    display: flex;
    align-items: center;
    justify-content: center;
}

.line {
    width: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
}

#author {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* --- BUTON TASARIMI --- */
button {
    background: transparent;
    border: 2px solid cyan;
    color: cyan;
    padding: 15px 40px;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    font-family: 'Courier New', Courier, monospace;
}

/* Butonun üstüne gelince */
button:hover {
    background: cyan;
    color: #000; /* Yazı siyah olsun okunsun */
    box-shadow: 0 0 20px cyan; /* Neon parlama */
    transform: translateY(-5px); /* Hafif yukarı zıpla */
}

/* Tıklama anı */
button:active {
    transform: scale(0.95); /* Küçül */
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px; /* İki buton arası boşluk */
    margin-top: 20px;
}

.card-flex-wrapper {
    display: flex;
    align-items: center; /* Dikey olarak ortala */
    gap: 30px; /* Resim ve yazı arasındaki boşluk */
    margin-top: 30px; /* Üstteki tırnak ikonundan uzaklaş */
}

/* 2. Sol taraf (Resim Kutusu) */
.quote-image-container {
    flex-basis: 40%; /* Genişliğin %40'ını kaplasın */
    max-width: 250px; /* Ama çok da büyümesin */
    flex-shrink: 0; /* Yazı sıkışırsa resim küçülmesin */
}

/* 3. Resmin Kendisi */
.musashi-img {
    width: 100%; /* Kutusunu doldursun */
    height: auto;
    border-radius: 10px; /* Köşeleri yuvarlat */
    border: 2px solid rgba(0, 255, 255, 0.3); /* İnce neon çerçeve */
    
    /* VAGABOND EFEKTİ: Siyah Beyaz ve Yüksek Kontrast */
    filter: grayscale(100%) contrast(120%) brightness(0.9);
    transition: 0.5s;
}

/* Kart parlayınca resim de hafif renklensin mi? (Opsiyonel) */
.quote-card.active .musashi-img {
    filter: grayscale(50%) contrast(130%) drop-shadow(0 0 15px cyan);
}

/* 4. Sağ taraf (Yazı Alanı) */
.quote-content {
    flex: 1; /* Kalan tüm alanı kaplasın */
    text-align: left; /* Yazıları sola yasla */
}

/* Yazı alanındaki çizgiyi sola çekelim */
.quote-content .line {
    margin: 20px 0; /* Ortalamayı iptal et, sola yasla */
}

/* --- MOBİL UYUMLULUK (TELEFONDA BOZULMASIN) --- */
/* Ekran genişliği 768px'den küçükse (Tablet ve Telefonlar) */
@media (max-width: 768px) {
    .card-flex-wrapper {
        flex-direction: column; /* Yan yana değil, alt alta diz */
        text-align: center; /* Yazıları tekrar ortala */
    }
    
    .quote-image-container {
        max-width: 80%; /* Telefonda resim biraz daha büyük dursun */
        margin-bottom: 20px;
    }

    .quote-content {
        text-align: center;
    }
    
    .quote-content .line {
        margin: 20px auto; /* Çizgiyi tekrar ortala */
    }
}