/* === Genel Reset === */
* { 
    box-sizing: border-box; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('../img/background/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* === Ana Kapsayıcı === */
.costume-wrapper {
    max-width: 1100px; /* 2x2 için en ideal genişlik */
    margin: 60px auto; 
    padding: 20px;
    text-align: center;
}

/* === Üstteki Dikdörtgen Başlık Paneli === */
.content-header-box {
    background: rgba(0, 0, 0, 0.85); /* Arka planı biraz daha belirgin yaptık */
    border: 2px solid rgba(255, 204, 0, 0.4);
    border-radius: 12px;
    padding: 40px 20px;
    margin-bottom: 30px; /* Alttaki grid ile boşluk */
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-header-box h2 {
    font-size: 2.6rem;
    color: #ffcc00;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

/* Başlık altındaki dekoratif sarı çizgi */
.header-line {
    width: 80px;
    height: 3px;
    background: #ffcc00;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}

.content-header-box p {
    color: #f0f0f0;
    font-size: 1.15rem;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* === 2x2 Grid Sistemi === */
.costume-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Tam olarak yan yana 2 kutu */
    gap: 25px;
}

/* === Kart Stilleri === */
.guide-card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-8px);
    background: rgba(25, 25, 25, 1);
    border-color: #ffcc00;
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
}

/* İkonlar */
.guide-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.costume-link .guide-icon { color: #cc0000; }
.mount-link .guide-icon { color: #ffcc00; }
.pet-link .guide-icon { color: #40e0d0; }
.event-link .guide-icon { color: #ff8800; }

.guide-card:hover .guide-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px currentColor);
}

.guide-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.guide-card p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Alt İndir/İncele Butonu */
.download-hint {
    margin-top: auto;
    color: #ffcc00;
    font-weight: bold;
    border: 2px solid #ffcc00;
    padding: 10px 25px;
    border-radius: 6px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.guide-card:hover .download-hint {
    background: #ffcc00;
    color: #000;
}

/* === EK MOBİL DÜZENLEMELER (Orijinal Yapıyı Bozmaz) === */

@media (max-width: 850px) {
    /* Ana kapsayıcıyı mobilde biraz daha daraltıp boşlukları ayarlıyoruz */
    .costume-wrapper {
        margin: 10px auto !important;
        padding: 10px !important;
    }

    /* Başlık panelini mobilde küçültüyoruz ki ekranı kaplamasın */
    .content-header-box {
        padding: 25px 15px !important;
        margin-bottom: 20px !important;
    }

    .content-header-box h2 {
        font-size: 1.5rem !important; /* Mobilde daha okunabilir boyut */
    }

    .content-header-box p {
        font-size: 0.95rem !important;
    }

    /* Kartların mobilde çok uzun olmaması için iç boşlukları (padding) daraltıyoruz */
    .guide-card {
        padding: 30px 20px !important;
    }

    .guide-icon {
        font-size: 3.5rem !important; /* İkonu biraz küçültüyoruz */
        margin-bottom: 15px !important;
    }

    .guide-card h3 {
        font-size: 1.3rem !important;
    }

    .guide-card p {
        font-size: 0.9rem !important;
    }

    /* İndir butonu mobilde tam genişlik olabilir, parmakla basması kolaylaşır */
    .download-hint {
        width: 100%;
        text-align: center;
    }
}

/* Çok küçük ekranlar için (Örn: iPhone SE) */
@media (max-width: 400px) {
    .content-header-box h2 {
        font-size: 1.2rem !important;
    }
    
    .guide-card h3 {
        font-size: 1.1rem !important;
    }
}