/* Social Media Integration Styles - Tek instance güvencesi */
.social-media-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Sadece ilk social media bar'ı göster */
.social-media-bar:not(:first-of-type) {
    display: none !important;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Mobile optimization for social bar */
@media (max-width: 768px) {
    .social-media-bar {
        right: 10px;
        top: auto;
        bottom: 220px;
        transform: none;
        flex-direction: row;
        justify-content: center;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Newsletter Subscription Popup */
.newsletter-popup {
    position: fixed;
    bottom: -300px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: bottom 0.3s ease;
    padding: 20px;
    border: 2px solid #007bff;
}

.newsletter-popup.show {
    bottom: 20px;
}

.newsletter-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.newsletter-popup .close-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.newsletter-popup h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.newsletter-popup p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
}

.newsletter-popup .privacy-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* Mobile optimization for newsletter popup */
@media (max-width: 768px) {
    .newsletter-popup {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

/* Accessibility improvements */
.social-btn:focus,
.newsletter-form button:focus,
.newsletter-popup .close-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Cookie consent banner styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 15px 20px;
    z-index: 1002;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    flex: 1;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background: #28a745;
    color: white;
}

.cookie-btn.accept:hover {
    background: #218838;
}

.cookie-btn.decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
}

.cookie-btn.decline:hover {
    background: #666;
    color: white;
}

/* Mobile optimization for cookie banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner p {
        font-size: 13px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}
