/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7fefd;
    color: #4e4032;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    min-height: 80vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(78, 64, 50, 0.1);
    overflow: hidden;
}

/* Sol Panel - Fotoğraf ve Kısayollar */
.left-panel {
    background: linear-gradient(135deg, #b8d3d2 0%, #cbbfac 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 40px;
    position: relative;
}

.photo-section {
    margin-bottom: 40px;
    position: relative;
}

.main-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 8px solid rgba(247, 254, 253, 0.8);
    box-shadow: 0 15px 30px rgba(78, 64, 50, 0.2);
    transition: transform 0.3s ease, opacity 0.5s ease;
}

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

.main-video {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 8px solid rgba(247, 254, 253, 0.8);
    box-shadow: 0 15px 30px rgba(78, 64, 50, 0.2);
    transition: transform 0.3s ease, opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    /* Mobil cihazlar için ek özellikler */
    -webkit-playsinline: true;
    playsinline: true;
}

.main-video:hover {
    transform: scale(1.05);
}

.main-video.show {
    opacity: 1;
    pointer-events: auto;
}

.main-photo.hide {
    opacity: 0;
    pointer-events: none;
}

.shortcuts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}

.shortcut-btn {
    background: rgba(247, 254, 253, 0.9);
    border: none;
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #4e4032;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(78, 64, 50, 0.1);
}

.shortcut-btn:hover {
    background: #f7fefd;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(78, 64, 50, 0.2);
}

.shortcut-btn i {
    font-size: 24px;
    color: #4e4032;
}

.shortcut-btn.active {
    background: #4e4032;
    color: #f7fefd;
}

.shortcut-btn.active i {
    color: #f7fefd;
}

/* Sağ Panel - Akış */
.right-panel {
    background: #f7fefd;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.feed-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feed-header {
    margin-bottom: 30px;
    text-align: center;
}

.feed-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #4e4032;
    margin-bottom: 10px;
}

.feed-subtitle {
    color: #4e4032;
    opacity: 0.7;
    font-size: 16px;
}

.feed-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.welcome-message {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(78, 64, 50, 0.1);
}

.welcome-message i {
    font-size: 48px;
    color: #b8d3d2;
    margin-bottom: 20px;
}

.welcome-message p {
    font-size: 18px;
    color: #4e4032;
    line-height: 1.8;
}

/* LinkedIn Post Stilleri */
.linkedin-post {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(78, 64, 50, 0.1);
    border-left: 4px solid #0077b5;
}

.linkedin-post.profile-info {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.linkedin-post.error-post {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
}

.profile-info-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    color: #28a745;
    font-size: 14px;
}

.profile-info-note i {
    font-size: 16px;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #b8d3d2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4e4032;
    font-weight: bold;
}

.post-author {
    font-weight: 600;
    color: #4e4032;
}

.post-date {
    color: #4e4032;
    opacity: 0.6;
    font-size: 14px;
}

.post-content {
    color: #4e4032;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-engagement {
    display: flex;
    gap: 20px;
    color: #4e4032;
    opacity: 0.7;
    font-size: 14px;
}

/* About Me İçerik Stilleri */
.about-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(78, 64, 50, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 300px;
    position: relative;
}

.about-photo-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #b8d3d2, #cbbfac, #b8d3d2);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(78, 64, 50, 0.2);
}

.about-photo-section {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 6px solid #b8d3d2;
    box-shadow: 0 10px 20px rgba(78, 64, 50, 0.2);
}

.about-text-section {
    width: 100%;
    max-width: 600px;
}

.about-text-section h3 {
    font-size: 28px;
    color: #4e4032;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.about-text-section p {
    font-size: 17px;
    color: #4e4032;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: center;
}


/* Loading Animasyonu */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #b8d3d2;
    border-top: 4px solid #4e4032;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .left-panel {
        padding: 40px 20px;
    }
    
    .main-photo {
        width: 350px;
        height: 350px;
    }
    
    .main-video {
        width: 350px;
        height: 350px;
    }
    
    .shortcuts {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        max-width: none;
    }
    
    .shortcut-btn {
        flex: 1;
        min-width: 150px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .main-content {
        border-radius: 15px;
    }
    
    .left-panel {
        padding: 30px 20px;
    }
    
    .main-photo {
        width: 300px;
        height: 300px;
    }
    
    .main-video {
        width: 300px;
        height: 300px;
    }
    
    .shortcuts {
        flex-direction: column;
    }
    
    .shortcut-btn {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .right-panel {
        padding: 30px 20px;
    }
    
    .feed-header h2 {
        font-size: 28px;
    }
    
    .about-content {
        padding: 30px;
    }
    
    .about-photo {
        width: 150px;
        height: 150px;
    }
    
    .about-text-section h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .about-text-section p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-photo {
        width: 250px;
        height: 250px;
    }
    
    .main-video {
        width: 250px;
        height: 250px;
    }
    
    .shortcut-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .shortcut-btn i {
        font-size: 20px;
    }
    
    .feed-header h2 {
        font-size: 24px;
    }
    
    .about-content {
        padding: 25px;
    }
    
    .about-photo {
        width: 120px;
        height: 120px;
    }
    
    .about-text-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-text-section p {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
}
