/* ==========================================================================
   Exact Match Home Page Styles - ULTRA MODERN UPDATES
   ========================================================================== */

/* Cinematic Hero Section */
.cinematic-hero {
    padding-top: 0;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 20, 30, 0.4) 0%, rgba(15, 20, 30, 0.95) 100%);
    z-index: 2;
}

.hero-inner {
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 250px; /* Masaüstünde yazıyı aşağı kaydırır */
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-main);
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 auto 3rem;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.scroll-down {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

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

/* ==========================================================================
Cinematic Lower Sections
========================================================================== */

.cinematic-section {
    padding: 8rem 0;
}
.dark-bg {
    background-color: #05080f;
}

/* Common Cinematic Section */
.section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Cinematic Divider (Stats) */
.cinematic-divider {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 0;
}
.divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.9);
}
.stats-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.stat-box:last-child {
    border-right: none;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-main);
}

/* Cinematic Header Center */
.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

/* -----------------------------------------
ULTRA MODERN BOOKS SHOWCASE (Sales Mode)
----------------------------------------- */
.books-showcase {
    padding-bottom: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.modern-book-slide {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-cover-link {
    display: block;
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
}

.book-cover-link .book-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.book-title-below {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
    transition: color 0.3s ease;
}

/* Only the active centered slide in coverflow gets full opacity/size */
.swiper-slide-active.modern-book-slide {
    transform: scale(1.05);
    z-index: 10;
}

.swiper-slide:not(.swiper-slide-active) {
    opacity: 0.5;
    filter: blur(2px);
}

.book-overlay-action {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.book-overlay-action span {
    background: var(--accent-color);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Hover effects */
.swiper-slide-active .book-cover-link:hover .book-overlay-action {
    opacity: 1;
}

.swiper-slide-active .book-cover-link:hover .book-overlay-action span {
    transform: translateY(0);
}

.swiper-slide-active .book-cover-link:hover .book-poster {
    transform: scale(1.05);
}

.modern-book-slide:hover .book-title-below {
    color: var(--accent-color);
}

/* Swiper Navigation Customization */
.book-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    color: #fff !important;
    background: transparent;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}

.book-nav-btn:hover {
    background: #fff;
    color: #000 !important;
    transform: translateY(-50%) scale(1.1);
}

.book-nav-btn::after {
    font-size: 1.5rem !important;
    font-weight: bold;
    display: block !important;
}

.swiper-button-prev.book-nav-btn {
    left: -70px !important;
}

.swiper-button-next.book-nav-btn {
    right: -70px !important;
}

/* -----------------------------------------
ULTRA MODERN POSTS & PRESS (Premium Glass)
----------------------------------------- */
.dual-cinematic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.triple-cinematic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.posts-column, .press-column {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Grid kısıtlamalarını ezer, kolonların eşit kalmasını sağlar */
    word-wrap: break-word; /* Uzun boşluksuz metinlerin taşmasını engeller */
}

.premium-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.premium-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
}

.premium-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Premium Post Styles */
.premium-post {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.premium-post-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.premium-post-content {
    flex: 1;
}


.premium-meta {
    font-size: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.premium-post h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem; /* 2 satır için sabit yükseklik */
}

.premium-post p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.2rem; /* 3 satır için sabit yükseklik */
    word-break: break-word;
}

/* Premium Press Styles */
.premium-press {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.press-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.premium-press p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

.press-link {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.premium-card:hover .press-link {
    gap: 1rem;
}

/* About Section */
.cine-about-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.cine-about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}
.large-sig-img {
    width: 200px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(43%) saturate(382%) hue-rotate(352deg) brightness(90%) contrast(85%);
}
.cine-about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Newsletter Area */
.cine-newsletter-area {
    text-align: center;
    padding: 2rem 0;
}
.cine-news-title {
    font-size: 4rem;
    margin-bottom: 4rem;
}
.cine-news-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.cine-news-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    font-size: 1.5rem;
    color: white;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}
.cine-news-form input:focus {
    border-color: var(--accent-color);
}
.cine-news-form button {
    position: absolute;
    right: 0;
    bottom: 1rem;
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.cine-news-form button:hover {
    transform: translateX(10px);
}

/* ==========================================================================
Responsive Design Updates
========================================================================== */

@media (max-width: 1200px) {
    .dual-cinematic { gap: 4rem; }
    .triple-cinematic { gap: 2rem; }
    .cine-about-area { gap: 4rem; }
}

@media (max-width: 992px) {
    .cinematic-hero { min-height: 600px; height: auto; padding: 150px 0 100px; }
    .hero-inner { margin-top: 0; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .stat-box:nth-child(n+3) { border-bottom: none; }
    
    .dual-cinematic { grid-template-columns: 1fr; }
    .triple-cinematic { grid-template-columns: 1fr; gap: 4rem; }
    .cine-about-area { grid-template-columns: 1fr; text-align: center; }
    .cine-about-image img { height: 500px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    
    .cine-news-title { font-size: 2.5rem; }
    .cine-news-form input { font-size: 1.2rem; }
    
    .stats-grid { grid-template-columns: 1fr; }
    .stat-box { border-bottom: 1px solid rgba(255,255,255,0.05); }
    .stat-box:last-child { border-bottom: none; }
    
    .clean-post-item { flex-direction: column; text-align: center; align-items: center; }
    .clean-post-date { margin-bottom: 1rem; }
    .clean-post-arrow { display: none; }

    /* Mobilde Son Yazılar Düzeltmeleri */
    .premium-post {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .premium-post-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9; /* Mobilde daha yatay ve şık durması için 16:9 oran kullanıldı */
        object-fit: cover;
    }
    .premium-post h3 {
        font-size: 1.2rem;
    }
    .premium-post p {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Mobilde yazıyı 3 satır ile sınırlar, taşmasını engeller */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
