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

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #FFFFFF;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6 {
    font-family:'Times New Roman', Times, serif
}

/* Paragraflar, bağlantılar ve butonlar */
p, a, button {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

/* Header */
header {
    background: #1F1F1F;
    color: #FFD700;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 2px 2px 5px #000000;
}

header h1 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

header h1 a:hover {
    color: #ff4500;
}

/* Navigasyon */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #FFD700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff4500;
}

/* Hero Bölümü */
#hero {
    background: url('kedolarım/hades.jpeg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(100px);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(70px);
    z-index: -1;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px #000000;
}

/* CTA Butonu */
.cta-button {
    background: #ff4500;
    color: #000;
    padding: 0.4rem 1.5rem;
    border-radius: 7px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #ffd700;
}

/* Özel Başlık */
.special-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.special-title a:hover {
    color: #ffd700;
}

/* Blog ve Galeri Bölümleri */
.blog-posts, .gallery {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

/* Blog Gönderileri */
.post {
    background: #333;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.post h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: #ff4500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Galeri */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background: #f4f4f4;
    text-align: center;
}

/* Galeri içindeki resim kartları */
.gallery-item {
    position: relative;
    width: 200px;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item div {
    color: #cccccc;
    font-size: 1rem;
    margin-top: 10px;
}

/* Modal kaldırıldı */

/* Footer */
footer {
    background-color: #1F1F1F;
    color: #FFD700;
    text-align: center;
    padding: 2em 0;
    margin-top: auto;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
    font-size: 0.8em;
    padding: 10px;
}

footer .social-icons {
    margin: 1em 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer .social-icons a {
    color: #ffd700;
    text-decoration: none;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 5px;
}

footer .social-icons a:hover {
    color: #ff4500;
    background-color: #555;
}

footer .social-icons a i {
    font-size: 1.5em;
}

footer p {
    margin: 1em 0 0;
    font-size: 0.9em;
}

/* Hakkımda Bölümü */
.about-content {
    background-color: #333;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.about-content img:hover {
    transform: scale(1.1);
}

.about-content h2, .about-content h3 {
    color: #ffd700;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content ul li {
    background: #444;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.about-content ul li:hover {
    background: #555;
}

/* Hakkımda Metin Kutusu */
.about-text {
    background-color: #333;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    text-align: left;
}

.about-text:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Video Konteyneri */
.video-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.video-container iframe {
    border-radius: 8px;
}

/* Yan Bölüm */
aside {
    background-color: #333;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    position: absolute;
    top: 100px;
    right: 20px;
    width: 250px;
}

aside h3 {
    color: #ffd700;
    text-shadow: 2px 2px 5px #000000;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    margin: 10px 0;
}

aside ul li a {
    color: #ff4500;
    text-decoration: none;
    transition: color 0.3s;
}

aside ul li a:hover {
    color: #ffd700;
}

/* Makale Bölümü */
article {
    background-color: #2C2C2C;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

article h2 {
    color: #ffd700;
    text-shadow: 2px 2px 5px #000000;
}

article p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Responsive Tasarım */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    #hero h2 {
        font-size: 1.5rem;
    }

    .gallery-item {
        width: 100%;
    }

    .post {
        padding: 0.8rem;
    }

    aside {
        position: static;
        width: 100%;
        margin: 20px 0;
    }

    article {
        padding: 10px;
        font-size: 1rem;
    }

    .blog-posts, .gallery {
        padding: 1rem;
    }

    .blog-box {
        padding: 10px;
    }

    .blog-box h2 {
        font-size: 18px;
    }

    .blog-box p {
        font-size: 14px;
    }

    .blog-box img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 1rem;
    }

    #hero h2 {
        font-size: 1.8rem;
    }

    .gallery-item {
        width: 45%;
    }

    aside {
        position: static;
        width: 100%;
        margin: 20px 0;
    }

    article {
        padding: 15px;
        font-size: 1.05rem;
    }

    .blog-posts, .gallery {
        padding: 1.5rem;
    }

    .blog-box {
        padding: 15px;
    }

    .blog-box h2 {
        font-size: 20px;
    }

    .blog-box p {
        font-size: 15px;
    }

    .blog-box img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
}

/* Resim Galerisi */
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.image-gallery .column {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Sayfalandırma Düğmeleri */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination button {
    margin: 0 5px;
    padding: 10px 15px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.pagination button.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Hover Animasyonları */
button:hover, a:hover {
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #FFD700;
}
/* =======================================================
   MOBİL İÇİN "KESİN ÇÖZÜM" TAMİR PAKETİ (EN ALTA EKLE)
   ======================================================= */
@media screen and (max-width: 768px) {

    /* 1. Sayfanın Sağa-Sola Kaymasını Engelle */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* 2. Header ve Menüyü Düzenle */
    .header-container {
        flex-direction: column; /* Alt alta diz */
        text-align: center;
    }

    nav ul {
        flex-direction: column; /* Linkleri alt alta diz */
        align-items: center;
        gap: 10px;
        margin-top: 15px;
    }

    /* 3. "Hakkımda" ve İçerik Kutularını Hizala */
    /* Resim ve Yazı yan yanaysa alt alta indirir */
    .about-content, .about-text, section {
        width: 100% !important; /* Genişliği ekrana yay */
        display: flex;
        flex-direction: column; /* İçindekileri alt alta diz */
        align-items: center;
        box-sizing: border-box; /* Padding taşmasın */
        margin-bottom: 20px;
    }

    /* 4. Resimlerin Taşmasını Önle (KRİTİK) */
    img, iframe {
        max-width: 100% !important; /* Ekrandan geniş olamaz */
        height: auto !important;
    }

    /* 5. Yazı Boyutlarını Telefona Göre Ayarla */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    p { 
        font-size: 1rem; 
        padding: 0 10px; /* Kenarlara yapışmasın */
        text-align: justify; /* Yazıyı düzgün blokla */
    }

    /* 6. Hero (Kapak) Alanını Düzelt */
    #hero {
        height: 60vh; /* Mobilde çok uzun olmasın */
        padding: 1rem;
    }
}
/* --- POPUP UYARI TASARIMI --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Arkası hafif görünsün ama karanlık olsun */
    display: flex; /* Kutuyu tam ortala */
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Her şeyin üstünde dursun */
}

.popup-kutu {
    background-color: #1a1a1a; /* Koyu gri zemin */
    border: 2px solid #FFD700; /* Altın sarısı çerçeve */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); /* Altın parıltısı */
    animation: popupAcilis 0.5s ease-out; /* Açılış animasyonu */
}

.popup-kutu h2 {
    color: #FFD700;
    margin-bottom: 15px;
}

.popup-kutu p {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.popup-kutu button {
    background-color: #FFD700;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.popup-kutu button:hover {
    transform: scale(1.05); /* Üstüne gelince büyüsün */
    background-color: #ff4500; /* Turuncuya dönsün */
}

/* Ufak bir animasyon: Yukarıdan aşağı süzülsün */
@keyframes popupAcilis {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}