/* ==========================================================================
   1. ÜST ALAN (HEADER & PROFILE HERO)
   ========================================================================== */
.header, 
.profile-header {
    background: var(--header-gradient);
    color: white;
    padding: 60px 30px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Dairelerin taşmasını engeller */
}

/* Arka plandaki yüzen daire efektleri */
.header::before, .profile-header::before,
.header::after, .profile-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 1; /* En alt katman */
    pointer-events: none; /* Tıklamayı engellemez, altındaki butona basılabilir */
}

.header::before, .profile-header::before {
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    animation: floatAnim 6s ease-in-out infinite;
}

.header::after, .profile-header::after {
    bottom: -25%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    animation: floatAnim 8s ease-in-out infinite reverse;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

/* İçerik katmanı (Yazıların dairelerin üstünde kalması için) */
.logo-placeholder, .profile-photo, 
.header h1, .profile-info h1, 
.company-description, .profile-title, 
.contact-actions, .contact-buttons {
    position: relative;
    z-index: 2; /* Dairelerin üstüne çıkarır */
}

/* ==========================================================================
   2. LOGO VE PROFİL FOTOĞRAFI
   ========================================================================== */
.logo-placeholder, 
.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    font-weight: 600;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

/* Şirket Logosu için beyaz zemin */
.logo-placeholder {
    background: white;
    color: var(--primary);
}

/* Personel Fotoğrafı için şeffaf zemin */
.profile-photo {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.logo-placeholder img, 
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder:hover, 
.profile-photo:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   3. BAŞLIKLAR VE METİNLER
   ========================================================================== */
.header h1, 
.profile-info h1 {
     color: white; /* Header genelde koyu kaldığı için beyaz kalabilir */
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.company-description, 
.profile-title {
    font-size: 17px;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.about-content {
    color: var(--text-main);
}

/* ==========================================================================
   4. İLETİŞİM BUTONLARI (ORTAK SİSTEM)
   ========================================================================== */
.contact-actions, 
.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Temel Buton Tasarımı */
.btn, .contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: white !important; /* Mavi zeminde beyaz yazı zorunlu */
}

/* Buton Renkleri (Link Tipine Göre Otomatik Seçim) */

/* Telefon / Ara */
.btn-primary, .contact-actions a[href*="tel:"] {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* WhatsApp */
.btn-success, .contact-actions a[href*="whatsapp"] {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Rehbere Ekle / E-posta / Diğer Outline Butonlar */
.btn-outline, 
.contact-actions a[onclick], 
.contact-actions a[href^="mailto:"] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

/* Tüm butonların ortak Hover efekti */
.btn:hover, .contact-actions a:hover {
    background: white;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn i, .contact-actions a i {
    margin-right: 8px;
}

/* ==========================================================================
   5. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================================================== */

/* Tabletler */
@media (max-width: 768px) {
    .header, .profile-header {
        padding: 40px 20px;
    }

    .logo-placeholder, .profile-photo {
        width: 135px;
        height: 135px;
        font-size: 55px;
    }

    .header h1, .profile-info h1 {
        font-size: 26px;
    }
}

/* Telefonlar */
@media (max-width: 576px) {
    .contact-actions, .contact-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn, .contact-actions a {
        width: 100%;
        max-width: 300px; /* Mobilde aşırı uzamaması için kısıt */
        min-width: unset;
    }
    
    .company-description, .profile-title {
        font-size: 15px;
    }
}