/* ==========================================
   KIMDIR PAGE STYLES - Tema Uyumlu
   ========================================== */

/* Hero Section Styles */
.kimdir-page-hero-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--primary) 0%, #667eea 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.kimdir-page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.kimdir-page-hero-section.has-bg-image {
    background-attachment: scroll; /* Mobile uyumluluğu için */
}

.kimdir-page-hero-section.has-bg-image::before {
    background: rgba(0, 0, 0, 0.4);
}

.kimdir-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.kimdir-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 2rem;
}

.kimdir-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: kimdir-fadeInUp 1s ease-out;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.kimdir-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: kimdir-fadeInUp 1s ease-out 0.3s both;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.kimdir-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 4rem;
    animation: kimdir-fadeInUp 1s ease-out 0.6s both;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.kimdir-hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: kimdir-bounce 2s infinite;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    pointer-events: auto;
}

@media (max-width: 767px) {
    .kimdir-hero-scroll-indicator {
        position: static;
        margin: 2.5rem auto 0 auto;
        left: unset;
        bottom: unset;
        transform: none;
        width: 44px;
        height: 44px;
        box-shadow: 0 1px 8px 0 rgba(0,0,0,0.10);
        z-index: 3;
        background: rgba(255,255,255,0.18);
    }
}

.kimdir-hero-scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.kimdir-hero-scroll-indicator i {
    font-size: 1.5rem;
    color: white;
    opacity: 0.9;
}

/* Profile Section Styles */
.kimdir-profile-section {
    padding: 5rem 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

/* Floating Circles Animation */
.kimdir-profile-section::before,
.kimdir-profile-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.05);
    animation: float 6s ease-in-out infinite;
}

.kimdir-profile-section::before {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: -2s;
}

.kimdir-profile-section::after {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: -4s;
}

.kimdir-profile-section .floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.03);
    animation: float 8s ease-in-out infinite;
}

.kimdir-profile-section .floating-circle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.kimdir-profile-section .floating-circle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.kimdir-profile-section .floating-circle:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.kimdir-profile-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 3rem;
}

.kimdir-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.kimdir-profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.kimdir-profile-photo:hover {
    transform: scale(1.05);
}

.kimdir-profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.kimdir-profile-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.kimdir-profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Philosophy Section Styles */
.kimdir-philosophy-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
}

.kimdir-philosophy-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.kimdir-philosophy-description {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Achievements Section Styles */
.kimdir-achievements-section {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
}

.kimdir-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* Grid Layout for Achievements */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.achievement-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.achievement-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.achievement-image img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.achievement-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.achievement-number,
.achievement-rank {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.achievement-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.achievement-desc {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievement-meta {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.achievement-meta .meta-item {
    display: inline-block;
    margin: 0.2rem 0.5rem;
    padding: 0.3rem 0.8rem;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.8rem;
}

.achievement-meta .meta-item i {
    margin-right: 0.3rem;
}

/* Videos Section Styles */
.media-content {
    padding: 3rem 0;
}

.video-gallery {
    margin-bottom: 4rem;
}

.gallery-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-color);
    text-align: center;
    position: relative;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 1.5rem 0.5rem;
    color: var(--dark-color);
}

.video-desc {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* Press Section Styles */
.press-releases {
    margin-top: 3rem;
}

.press-news-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.press-news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.press-news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.press-news-item.featured {
    border-top-color: var(--warning-color);
    background: var(--gray-100);
}

.news-image {
    flex: 0 0 200px;
    height: 150px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.press-news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 1.5rem;
    position: relative;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.news-source {
    color: var(--primary-color);
    font-weight: 600;
}

.news-date {
    color: var(--gray-500);
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.news-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-preview {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--dark-color);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: var(--warning-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.no-content {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.no-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: var(--danger-color);
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.kimdir-press-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.kimdir-press-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.kimdir-press-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

/* CTA Section Styles - Removed */

/* Animations */
@keyframes kimdir-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kimdir-bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-12px);
    }
    70% {
        transform: translateX(-50%) translateY(-6px);
    }
    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .kimdir-page-hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .kimdir-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .kimdir-hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .kimdir-hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .kimdir-hero-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .kimdir-hero-scroll-indicator {
        bottom: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .kimdir-hero-scroll-indicator i {
        font-size: 1.2rem;
    }
    
    .kimdir-profile-card {
        padding: 2rem;
    }
    
    .kimdir-profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .kimdir-profile-name {
        font-size: 2rem;
    }
    
    .kimdir-section-title {
        font-size: 2.2rem;
    }
    
    .kimdir-philosophy-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .kimdir-page-hero-section {
        min-height: 60vh;
    }
    
    .kimdir-hero-content {
        padding: 1.5rem 1rem;
    }
    
    .kimdir-hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .kimdir-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .kimdir-hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .kimdir-hero-scroll-indicator {
        bottom: 1.5rem;
        width: 45px;
        height: 45px;
    }
    
    .kimdir-hero-scroll-indicator i {
        font-size: 1rem;
    }
    
    .kimdir-profile-card {
        padding: 1.5rem;
    }
    
    .kimdir-achievement-card,
    .kimdir-video-card,
    .kimdir-press-card {
        margin-bottom: 1.5rem;
    }
}

/* Admin Panel Specific Styles */
.kimdir-admin-hero-upload {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
}

.kimdir-admin-hero-upload:hover {
    border-color: var(--primary-color);
    background: var(--gray-100);
}

.kimdir-admin-hero-upload.has-image {
    border-style: solid;
    border-color: var(--success-color);
    background: var(--gray-100);
}

.kimdir-admin-hero-preview {
    max-width: 200px;
    max-height: 120px;
    border-radius: 8px;
    margin: 1rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
