/* E-Dergi Hero Section */

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Magazines Section */
.magazines-section {
    padding: 50px 0;
}

.magazines-section .container > h2,
.archive-section .container > h2 {
    text-align: center;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.magazine-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.magazine-cover {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magazine-card:hover .magazine-overlay {
    opacity: 1;
}

.read-button {
    background: white;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.read-button:hover {
    background: #f0f0f0;
}

.magazine-info {
    padding: 20px;
}

.magazine-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.magazine-info p {
    margin: 0;
    color: #666;
}

/* Archive Section */
.archive-section {
    padding: 50px 0;
}

/* Boş liste metni: koyu temada açık renk, açık temada koyu renk (!important: body/tema kurallarından sonra) */
.magazines-section .e-dergi-empty-message,
.archive-section .e-dergi-empty-message {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.55;
    opacity: 1 !important;
}

body:not(.light-mode) .magazines-section .e-dergi-empty-message,
body:not(.light-mode) .archive-section .e-dergi-empty-message {
    color: #f3f4f6 !important;
}

body.light-mode .magazines-section .e-dergi-empty-message,
body.light-mode .archive-section .e-dergi-empty-message {
    color: #111 !important;
}

.archive-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.archive-year h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.archive-year ul {
    list-style: none;
    padding: 0;
}

.archive-year li {
    margin-bottom: 15px;
}

.archive-year a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-year a:hover {
    color: #f90;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .magazine-grid {
        grid-template-columns: 1fr;
    }

    .archive-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .e-dergi-hero {
        height: 300px;
    }

    .magazine-cover {
        height: 300px;
    }
}
/* Scroll Down Button */
.scroll-down {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
}

.scroll-down:hover {
    background: #fff;
    color: #000;
    transform: translateY(5px);
}

.scroll-down i {
    font-size: 24px;
}

