/* index.css - Styles specific to index.php */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
    font-family: 'Bebas Neue', cursive;
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.main-content {
    padding: 0;
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide.prev {
    transform: translateX(-100%);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    text-align: left;
    padding: 4rem 4rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.slide-content p {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.hero-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.nav-btn {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.keyboard-hints {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 4;
    opacity: 1;
    visibility: visible;
}

.key-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 15, 15, 0.9);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
}

.key-hint:hover {
    background: rgba(25, 25, 25, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.key-hint:active {
    transform: translateY(0);
}

.key-icon {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    min-width: 1.3rem;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.key-hint:hover .key-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.key-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.key-hint:hover .key-text {
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 1.25px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-20px);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.slide.active .cta-button {
    opacity: 1;
    transform: translateX(0);
    animation: slideInBtn 0.6s ease 0.8s both;
}

@keyframes slideInBtn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-button:hover {
    color: #333;
    border-color: white;
}

.cta-button:hover::before {
    left: 0;
}

/* Blog Section */
/* Blog excerpt and content styling */
.blog-excerpt, .blog-content-full {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    word-break: break-word;
    line-height: 1.5;
    font-family: 'Bebas Neue', cursive;
}

.blog-excerpt strong, .blog-content-full strong {
    color: #ffd700;
    font-weight: 400;
    font-size: 1.05em;
    margin-right: 0.3em;
}
.blog-section {
.blog-section {
    padding: 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.blog-section-title {
    color: #fff;
    font-size: 3.5rem;
    font-family: 'Bebas Neue', cursive;
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
    z-index: 2;
    position: relative;
}
    padding: 6rem 2rem 3rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        ),
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 1;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
    flex-wrap: wrap;
    gap: 2rem;
}

.blog-card {
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(18, 18, 18, 0.98));
    border: 1px solid rgba(60, 60, 60, 0.5);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: absolute;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    width: 380px;
    height: 420px; /* Sabit yükseklik */
}

/* Orbital constellation layout positioning - düzeltilmiş boyutlar */
.blog-card:first-child {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 480px; /* Daha büyük ana kart */
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.95), rgba(22, 22, 22, 0.98));
    border: 2px solid rgba(80, 80, 80, 0.6);
    border-radius: 25px;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.6),
        0 0 0 3px rgba(70, 70, 70, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-card:nth-child(2),
.blog-card:nth-child(3) {
    top: 50px;
    width: 360px;
    height: 400px;
    border-radius: 18px;
}

.blog-card:nth-child(2) {
    left: -150px;
}

.blog-card:nth-child(3) {
    right: -150px;
}

.blog-card:nth-child(4) {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 380px; /* Sabit yükseklik */
    background: linear-gradient(145deg, rgba(32, 32, 32, 0.95), rgba(20, 20, 20, 0.98));
    border: 1px solid rgba(70, 70, 70, 0.55);
    border-radius: 22px;
}

/* Sophisticated orbital hover effects */
.blog-card:hover {
    transform: translateX(-50%) translateY(-15px) scale(1.05);
    border-color: rgba(120, 120, 120, 0.8);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(80, 80, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    z-index: 10;
}

.blog-card:first-child:hover {
    transform: translateX(-50%) translateY(-20px) scale(1.08);
    border-color: rgba(140, 140, 140, 0.9);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(100, 100, 100, 0.4),
        0 0 0 4px rgba(90, 90, 90, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 11;
}

.blog-card:nth-child(2):hover {
    transform: translateY(-12px) scale(1.03) rotate(1deg);
    z-index: 9;
}

.blog-card:nth-child(3):hover {
    transform: translateY(-12px) scale(1.03) rotate(-1deg);
    z-index: 9;
}

.blog-card:nth-child(4):hover {
    transform: translateX(-50%) translateY(-10px) scale(1.04);
    z-index: 8;
}

.blog-card .blog-content {
    min-height: 180px; /* İçerik alanını artırır */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Enhanced content styling for orbital layout */
.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği dağıt */
    position: relative;
    height: 100%;
}

.blog-card:first-child .blog-content {
    padding: 2.5rem;
}

.blog-card:nth-child(4) .blog-content {
    padding: 1.8rem;
}

/* Minimalist meta styling */
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

.blog-meta .author {
    color: #ccc;
    font-weight: 600;
    position: relative;
    padding: 0.4rem 1.2rem;
    background: rgba(60, 60, 60, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(80, 80, 80, 0.4);
}

.blog-meta .author::before {
    content: '//';
    color: #777;
    margin-right: 6px;
    font-size: 0.7rem;
}

.blog-meta .date {
    color: #999;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(60, 60, 60, 0.4);
}

/* Compact typography */
.blog-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #e8e8e8;
    letter-spacing: 0.8px;
    line-height: 1.3;
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    position: relative;
    transition: all 0.4s ease;
}

.blog-card:first-child h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #f0f0f0;
    letter-spacing: 1px;
}

.blog-card:nth-child(4) h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.blog-card h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #777, transparent);
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1px;
}

.blog-card:hover h3::after {
    width: 40px;
}

.blog-card:first-child:hover h3::after {
    width: 60px;
    background: linear-gradient(90deg, #999, transparent);
}

/* Compact paragraph styling */
.blog-card p {
    font-size: 1rem;
    color: #bbb;
    letter-spacing: 0.3px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 satır göster */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4.5em; /* 3 satırın yüksekliği */
}

.blog-card:first-child p {
    font-size: 1.1rem;
    color: #c5c5c5;
    line-height: 1.6;
    -webkit-line-clamp: 4; /* Ana kart için 4 satır */
    line-clamp: 4;
    max-height: 6.4em; /* 4 satırın yüksekliği */
}

.blog-card:nth-child(4) p {
    font-size: 1rem;
    color: #b5b5b5;
    -webkit-line-clamp: 2; /* Alt kart için 2 satır */
    line-clamp: 2;
    max-height: 3em; /* 2 satırın yüksekliği */
}

/* Devamını Oku butonunu her zaman görünür yap */
.read-more {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(120, 120, 120, 0.7);
    background: linear-gradient(145deg, rgba(60, 60, 60, 0.8), rgba(40, 40, 40, 0.9));
    padding: 0.8rem 1.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s ease;
    opacity: 0; /* Başlangıçta görünmez */
    visibility: hidden; /* Tamamen gizli */
    transform: translateY(15px); /* Aşağıdan gelsin */
    align-self: center;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

/* Karta hover yapıldığında buton görünür */
.blog-card:hover .read-more {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.read-more:hover {
    background: linear-gradient(145deg, rgba(80, 80, 80, 0.9), rgba(60, 60, 60, 1));
    border-color: rgba(140, 140, 140, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Responsive düzenlemeler */
@media (max-width: 1200px) {
    .blog-container {
        min-height: 550px;
        max-width: 1000px;
        gap: 1.5rem;
    }
    
    .blog-card:first-child {
        width: 350px;
        height: 300px;
    }
    
    .blog-card:nth-child(2),
    .blog-card:nth-child(3) {
        width: 280px;
        height: 250px;
    }
    
    .blog-card:nth-child(4) {
        width: 320px;
        height: 220px;
    }
    
    .blog-section::after {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .view-all-news-btn {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
        margin-top: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-container {
        min-height: 450px;
        gap: 1rem;
        margin-top: 3.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .blog-card {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 90% !important;
        max-width: 350px !important;
        height: 300px !important; /* Mobilde sabit yükseklik */
        margin-bottom: 1rem;
    }
    
    .blog-card:first-child {
        width: 95% !important;
        max-width: 380px !important;
        height: 320px !important;
    }
    
    .blog-card:nth-child(4) {
        width: 90% !important;
        max-width: 360px !important;
        height: 280px !important;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-height: 2.7em;
    }
    
    .read-more {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-container {
        min-height: 400px;
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .blog-card {
        width: 100% !important;
        max-width: none !important;
        height: 200px !important;
        margin-bottom: 0.8rem;
    }
    
    .blog-card:first-child {
        height: 220px !important;
    }
    
    .blog-card:nth-child(4) {
        height: 180px !important;
    }
    
    .blog-section {
        padding: 3rem 0.5rem;
    }
    
    .blog-section::after {
        font-size: 2rem;
        letter-spacing: 2px;
        top: 0.5rem;
    }
    
    .view-all-news-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.3rem;
        margin-top: 1.5rem;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-card:first-child h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .blog-card p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .read-more {
        padding: 0.5rem 1rem;
        font-size: 0.65rem;
    }
}

/* Button styles */
button {
    font-family: 'Bebas Neue', cursive;
    border: 1.25px solid #333;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #333;
    color: white;
}
