/* --- HERO SECTION (KARŞILAMA ALANI) --- */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    /* Hafif bir dikey gradient ekleyelim */
    background: linear-gradient(to bottom, #0a0a0a 0%, #111 100%);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

.hero-text {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out 0.3s forwards;
}

/* Scroll Oku Animasyonu */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 2rem;
    color: #666;
    animation: bounce 2s infinite;
}

/* --- GENEL DÜZEN (CONTAINER & SECTION) --- */
.exhibitions-container {
    padding: 50px 50px 150px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-wrapper {
    margin-bottom: 100px;
}

.section-header {
    margin-bottom: 40px;
    /* border-bottom: 1px solid #333; */
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    color: #fff;
    font-weight: 300;
    /* border-bottom: none; */
}

.section-subtitle {
    font-family: var(--body-font);
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- KART TASARIMI (GRID) --- */
.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.exhibition-card {
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.3s ease;
}

/* Resim Çerçevesi */
.image-frame {
    width: 100%;
    aspect-ratio: 1 / 1; /* Tam kare */
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #222; /* Resim yüklenmezse gri görünür */
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s;
    filter: grayscale(20%); /* Varsayılan hafif soluk */
}

/* Hover Efektleri */
.exhibition-card:hover .image-frame img {
    transform: scale(1.1);
    filter: grayscale(0%); /* Renklenir */
}

.exhibition-card:hover {
    transform: translateY(-5px);
}

/* Kart Altı Bilgiler */
.card-info h3 {
    font-size: 1.4rem;
    margin: 0 0 8px;
    font-weight: 400;
    color: #eee;
}

.card-info p {
    color: #888;
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- GEÇMİŞ SERGİLER İÇİN ÖZEL STİL --- */
/* Geçmiş sergiler tamamen siyah beyaz olsun */
.past-grid .image-frame img {
    filter: grayscale(100%);
    opacity: 0.7;
}

.past-grid .exhibition-card:hover .image-frame img {
    filter: grayscale(0%); /* Üzerine gelince renklenir */
    opacity: 1;
}

/* --- ANİMASYON KEYFRAMES --- */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- MOBİL UYUM --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; letter-spacing: 4px; }
    .hero-section { height: 70vh; padding: 0 20px; }
    .exhibitions-container { padding: 50px 20px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .exhibition-grid { grid-template-columns: 1fr; }
}