/* =========================================
   GENEL AYARLAR
   ========================================= */
:root {
    /* 4. KONTRAST DÜZELTMESİ: Mavi rengi koyulaştırdık (#0d6efd -> #0a58ca) */
    /* Bu sayede beyaz ve gri zemin üzerinde Google "Okunabilir" onayı verecek */
    --primary: #0a58ca;       
    --primary-light: #0d6efd; 
    --secondary: #146c43;     
    --dark: #212529;
    --light: #f8f9fa;
    --text-color: #2c2c2c;    /* Metin rengini de biraz koyulaştırdık */
    
    --gradient-hero: linear-gradient(135deg, rgba(10, 88, 202, 0.92) 0%, rgba(0, 40, 110, 0.96) 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light);
    color: var(--text-color);
    padding-bottom: 80px;
    line-height: 1.6;
}

a { text-decoration: none; transition: 0.3s; }

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-color: #333;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 0 0 50% 50% / 4%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
    font-size: 3.5rem; 
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-phone-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.hero-phone-box:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-phone-box a {
    color: white;
    font-size: 2rem;
    font-weight: 800;
}
.hero-phone-box:hover a { color: var(--primary); }

/* MODERN KUTULAR */
.modern-box {
    background: white;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modern-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--primary);
    transition: 0.3s;
}

.modern-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 88, 202, 0.15);
}

.modern-box:hover::before { height: 100%; opacity: 0.1; }

.box-icon {
    width: 70px;
    height: 70px;
    background: #eef5ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.modern-box:hover .box-icon {
    background: var(--primary);
    color: white;
    transform: rotate(15deg);
}

.box-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.box-action {
    margin-top: 15px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BUTONLAR */
.btn-primary-custom {
    background-color: var(--primary); 
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #084298;
    color: white;
    transform: scale(1.05);
}

/* YAPIŞKAN BUTONLAR */
.sticky-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.float-wa { background-color: #25D366; }
.float-call { background-color: var(--primary); }

.float-btn:hover { transform: scale(1.1); color: white; }

@keyframes pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse { animation: pulse-anim 2s infinite; }

/* MOBİL */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-phone-box a { font-size: 1.4rem; }
    .hero-phone-box { padding: 10px 30px; }
    
    .sticky-buttons {
        flex-direction: row;
        left: 15px; right: 15px; bottom: 15px;
        justify-content: space-between; gap: 10px;
    }
    .float-btn {
        width: 100%; border-radius: 12px; height: 55px; font-size: 1.2rem;
    }
    .float-btn i { margin-right: 8px; }
    .float-wa::after { content: 'WhatsApp'; font-size: 16px; font-weight: bold; }
    .float-call::after { content: 'Hemen Ara'; font-size: 16px; font-weight: bold; }
}