/* Genel Ayarlar ve Renk Değişkenleri */
:root { --primary-dark-blue: #1e2a3a; --secondary-blue: #2a3b52; --accent-gold: #e8a87c; --light-text: #f4f4f4; --dark-text: #333; --page-bg: #f9f9f9; --white: #ffffff; }
html { height: 100%; }
body { font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; background-color: var(--page-bg); color: var(--dark-text); display: flex; flex-direction: column; min-height: 100vh; }
.page-wrapper { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
.site-header { background-color: var(--primary-dark-blue); padding: 25px 20px; text-align: center; border-bottom: 5px solid var(--accent-gold); }
.header-content .logo { width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); transition: transform 0.3s ease; }
.header-content .logo:hover { transform: scale(1.05) rotate(5deg); }
.site-title { color: var(--white); font-size: 2.5em; font-weight: 700; margin: 15px 0; letter-spacing: 1px; }
.main-nav { background-color: transparent; margin-top: 10px; }
.main-nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.main-nav ul li a { display: block; color: var(--light-text); text-align: center; padding: 12px 25px; text-decoration: none; font-size: 1em; font-weight: 500; text-transform: uppercase; border-radius: 50px; transition: all 0.3s ease; border: 1px solid transparent; }
.main-nav ul li a:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-3px); color: var(--white); }
.main-nav ul li a.active { background-color: var(--accent-gold); color: var(--primary-dark-blue); font-weight: 700; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transform: translateY(-2px); }
.site-content { width: 100%; padding: 20px 0; }
.page-container { max-width: 960px; margin: 20px auto; background-color: var(--white); padding: 30px 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.page-container h2 { font-size: 2em; color: var(--primary-dark-blue); border-bottom: 3px solid var(--accent-gold); padding-bottom: 10px; margin-bottom: 25px; }
.page-container p { line-height: 1.8; font-size: 1.1em; margin-bottom: 20px; }
.about-us-list { list-style-type: none; padding-left: 0; }
.about-us-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.about-us-list li::before { content: '🎭'; position: absolute; left: 0; top: 0; }
.iletisim-aciklama { text-align: center; font-size: 1.1em; color: #666; max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }

/* ANA SAYFA KARŞILAMA FOTOĞRAFI */
.homepage-container { padding-top: 0; padding-left: 0; padding-right: 0; }
.hero-image-container { width: 100%; height: 500px; overflow: hidden; margin-bottom: 40px; border-top-left-radius: 8px; border-top-right-radius: 8px; }
.hero-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.homepage-container .welcome-section, .homepage-container .news-section, .homepage-container .explore-section { padding-left: 40px; padding-right: 40px; }

/* İLETİŞİM SAYFASI KARTI */
.contact-card { display: flex; background-color: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #e0e0e0; box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.contact-info, .contact-qr { padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.contact-info { flex: 1; background-color: #fdfdfd; }
.contact-qr { flex: 1; background-color: var(--white); border-left: 1px solid #e0e0e0; }
.contact-info h3 { margin: 0 0 20px 0; font-size: 1.8em; color: var(--primary-dark-blue); }
.social-buttons-container { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.social-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; color: white; transition: all 0.3s ease; }
.social-button i { font-size: 1.5em; }
.instagram-button { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.youtube-button { background-color: #FF0000; }
.social-button:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.contact-qr img { max-width: 220px; border: 1px solid #eee; padding: 8px; border-radius: 8px; }
.contact-qr p { margin-top: 15px; font-size: 1em; color: #666; }

/* YÖNETİM PANELİ */
.admin-section { border: 1px solid #ddd; border-radius: 8px; padding: 20px; margin-bottom: 30px; }
.admin-section h3, .admin-section h4 { margin-top: 0; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }
.admin-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-form input[type="text"], .admin-form select, .admin-form input[type="file"] { flex-grow: 1; padding: 10px; border: 1px solid #ccc; border-radius: 5px; }
.admin-form button { padding: 10px 20px; border: none; border-radius: 5px; background-color: var(--primary-dark-blue); color: white; cursor: pointer; transition: background-color 0.2s; }
.admin-form button:hover { background-color: var(--accent-gold); color: var(--primary-dark-blue); }
ul.album-list, ul.item-list { list-style: none; padding: 0; }
ul.album-list li, ul.item-list li { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid #f0f0f0; text-transform: capitalize; }
ul.album-list li:last-child, ul.item-list li:last-child { border-bottom: none; }
.album-actions { display: flex; gap: 10px; }
.album-actions .manage-btn { background-color: #3498db; color: white; padding: 8px 15px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 0.9em; }
.album-actions .manage-btn:hover { background-color: #2980b9; }
.album-actions .settings-btn { background-color: #95a5a6; color: white; padding: 8px 15px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 0.9em; }
.album-actions .settings-btn:hover { background-color: #7f8c8d; }
.danger-zone { border-color: #e74c3c; }
.danger-zone h4 { color: #e74c3c; }
.delete-album-btn { background-color: #e74c3c; color: white; width: 100%; padding: 12px; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; }
.delete-album-btn:hover { background-color: #c0392b; }
.photo-management-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin-top: 20px; }
.photo-manage-item { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; position: relative; }
.photo-manage-item img { width: 100%; height: 150px; object-fit: cover; display: block; }
.photo-actions { display: flex; justify-content: space-around; padding: 8px; background-color: #f9f9f9; }
.action-btn { text-decoration: none; font-size: 0.8em; padding: 5px 8px; border-radius: 4px; color: white; font-weight: bold; transition: background-color 0.2s; }
.cover-btn { background-color: #27ae60; } .cover-btn:hover { background-color: #229954; }
.delete-btn { background-color: #c0392b; color: white; } .delete-btn:hover { background-color: #a93226; }

/* GALERİ SAYFASI */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.album-card { border-radius: 12px; overflow: hidden; box-shadow: 0 6px 12px rgba(0,0,0,0.1); text-decoration: none; color: var(--dark-text); position: relative; display: block; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.album-card:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.album-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.album-title { padding: 15px; font-weight: 600; font-size: 1.1em; background: var(--white); text-transform: capitalize; }
.album-title span { font-weight: 400; color: #777; font-size: 0.9em; }
.back-to-albums-link { display: inline-block; margin-bottom: 20px; color: var(--primary-dark-blue); text-decoration: none; font-weight: bold; }
.back-to-albums-link:hover { text-decoration: underline; }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: 0 6px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; aspect-ratio: 1 / 1; }
.gallery-item:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* HABER SİSTEMİ */
.welcome-section { text-align: center; padding: 20px 0; margin-bottom: 30px; }
.welcome-section h1 { font-size: 2.8em; margin-bottom: 15px; }
.news-section h2 { text-align: center; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
.news-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 12px rgba(0,0,0,0.08); text-decoration: none; color: var(--dark-text); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card-content { padding: 20px; }
.news-card-content h3 { margin-top: 0; font-size: 1.3em; }
.news-date { font-size: 0.9em; color: #888; display: block; margin-bottom: 10px; }
.read-more { font-weight: bold; color: var(--primary-dark-blue); margin-top: 15px; display: inline-block; }
.all-news-link { text-align: center; margin-top: 40px; }
.all-news-link a { padding: 12px 30px; background-color: var(--accent-gold); color: var(--primary-dark-blue); text-decoration: none; font-weight: bold; border-radius: 50px; transition: all 0.3s; }
.all-news-link a:hover { background-color: var(--primary-dark-blue); color: var(--white); }
.news-list-container { display: flex; flex-direction: column; gap: 40px; }
.news-list-item { display: flex; gap: 25px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.news-list-item:last-child { border-bottom: none; }
.news-list-image { flex-shrink: 0; width: 250px; }
.news-list-image img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.news-list-content h3 { margin-top: 0; margin-bottom: 5px; }
.news-list-content h3 a { text-decoration: none; color: var(--primary-dark-blue); font-size: 1.4em; }
.news-list-content h3 a:hover { text-decoration: underline; }
.news-list-content p { margin-top: 10px; margin-bottom: 15px; color: #555; }
.news-single-post h1 { font-size: 2.5em; }
.news-single-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin: 20px 0; }
.news-single-content { line-height: 1.9; font-size: 1.1em; }
.explore-section { text-align: center; margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; }
.admin-form-stacked { display: block; }
.admin-form-stacked .form-group { margin-bottom: 15px; }
.admin-form-stacked input, .admin-form-stacked textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; }
.admin-form-stacked button { width: 100%; padding: 12px; }

/* EASTER EGG STİLLERİ */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    padding: 15px;
    z-index: 1000;
    transform: translate(-50%, 200%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.toast-container.show {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}
.toast-container img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--accent-gold);
}
.toast-content p { margin: 0; font-size: 0.9em; color: #555; line-height: 1.4; }
.toast-content strong { font-size: 1em; color: var(--primary-dark-blue); }

/* FOOTER */
.site-footer { background-color: var(--primary-dark-blue); color: #aeb9c7; padding: 20px 0; border-top: 5px solid var(--accent-gold); }
.footer-content { max-width: 960px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; flex-wrap: wrap; }
.footer-social { display: flex; align-items: center; gap: 25px; }
.footer-social-link { color: #aeb9c7; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-social-link:hover { color: var(--white); }
.footer-social-link i { font-size: 1.5em; }
.footer-social-link span { font-size: 0.9em; }
.login-form { max-width: 500px; margin: 40px auto; padding: 30px; border: 1px solid #e0e0e0; border-radius: 10px; background-color: #fdfdfd; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary-blue); }
.form-group input[type="password"] { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; }
.login-button { display: block; width: 100%; padding: 15px; border: none; border-radius: 5px; background-color: var(--primary-dark-blue); color: var(--white); font-size: 1.1em; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.login-button:hover { background-color: var(--accent-gold); color: var(--primary-dark-blue); }
.messages { max-width: 500px; margin: 20px auto; padding: 15px; border-radius: 5px; text-align: center; }
.messages .success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; margin: 5px 0; padding: 10px; border-radius: 4px; }
.messages .error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; margin: 5px 0; padding: 10px; border-radius: 4px; }
.cikis-link-container { text-align: center; margin-top: 30px; }
.cikis-link-container a { color: #777; text-decoration: underline; }

/* MOBİL UYUMLULUK */
@media (max-width: 768px) { 
    .main-nav ul { gap: 10px; } 
    .footer-content { flex-direction: column; gap: 15px; text-align: center; } 
    .contact-card { flex-direction: column; } 
    .contact-qr { border-left: none; border-top: 1px solid #e0e0e0; } 
    .news-list-item { flex-direction: column; } 
    .news-list-image { width: 100%; }
    
    /* YENİ: Ana sayfa karşılama fotoğrafının mobil yüksekliğini ayarla */
    .hero-image-container {
        height: 300px; /* Mobil için daha uygun bir yükseklik */
    }
}
