:root {
    --primary-color: #007bff; /* Mavi - Vurgu Rengi */
    --secondary-color: #fca311; /* Turuncu - CTA Rengi */
    --dark-bg: #1c1c1c; /* Koyu Arka Plan */
    --light-text: #f0f0f0; /* Açık Metin Rengi */
    --card-bg: #2a2a2a; /* Kart Arka Planı */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    scroll-behavior: smooth; /* Yumuşak Kaydırma */
}

/* Navigasyon */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(28, 28, 28, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.cta-nav {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-nav:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05); /* HOVER ANIMATION: Hafif Büyüme */
}

/* HERO Section */
header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding-top: 50px; /* Navigasyon için boşluk */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--light-text);
}

.cta-main {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta-main:hover {
    background-color: #ffc266;
    box-shadow: 0 0 20px var(--secondary-color); /* HOVER ANIMATION: Parlama Efekti */
}

  .lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 15px;
  }

  .lang-switch button {
    background: none;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    color: #fff;
  }
  .lang-switch button a{
    text-decoration: none;
    color: #fff;

  }

  .lang-switch button:hover {
    background: #222;
    color: #62e32b;
  }

/* Ortak Section Stilleri */
.section {
    padding: 70px 3%;
    text-align: center;
    border-radius: 20px;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* 2. Hizmetler Grid ve Kartlar */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}

.service-card a{
    text-decoration: none;
    color: #fff;
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: transform 0.4s;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.service-card p {
    color: #b0b0b0;
}

/* YENİLİKÇİ HOVER ANIMATION */
.service-card:hover {
    transform: translateY(-10px); /* Kart yukarı hareket etsin */
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4); /* Mavi parlayan gölge */
}

.service-card:hover i {
    transform: rotateY(180deg); /* İkon dönsün */
}

/* Kartın Üstünde Çıkan Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none; /* Üzerindeki içeriğe tıklanmasını engeller */
}
.card-overlay a{
    text-decoration: none;
    color: #fff;
}
.service-card:hover .card-overlay {
    opacity: 1; /* HOVER ANIMATION: Overlay görünür olsun */
}

/* 3. Neden Biz? Section */
.neden-biz {
    background-color: #232323;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    padding: 25px;
    border: 1px solid #444;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-item:hover {
    background-color: var(--card-bg);
    transform: scale(1.05); /* HOVER ANIMATION: Kartı hafif büyüt */
}

/* 4. İletişim Formu */
.iletisim {
    max-width: 750px;
    margin: 0 auto;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: var(--light-text);
    font-size: 1rem;
    border-left: 5px solid var(--primary-color);
}

#contactForm textarea {
    resize: vertical;
}

/* Footer (Yeni ve Geliştirilmiş) */
footer {
    background-color: #111;
    padding: 40px 5% 10px; /* Üst padding artırıldı */
    border-top: 1px solid #333;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap; /* Küçük ekranlarda alta geçiş için */
    text-align: left;
}

.footer-col {
    flex-basis: 30%; /* Her sütun yaklaşık %30 yer kaplasın */
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

/* Başlık Altına İnce Çizgi */
.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 5px;
}

.footer-col p, .footer-col ul li a {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.5;
    text-decoration: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

.footer-col i {
    margin-right: 8px;
    color: var(--primary-color);
}

.acil-hat {
    font-size: 1.1rem !important;
    font-weight: bold;
    color: var(--secondary-color) !important;
    margin-top: 15px;
}

/* Sosyal Medya İkonları */
.social-links {
    margin-top: 20px;
}

.social-links i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

/* HOVER ANIMATION: Önceki gibi döndür ve büyüt */
.social-links i:hover {
    color: var(--primary-color);
    transform: rotate(10deg) scale(1.2); 
}

/* Copyright Alanı */
.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #666;
}

/* Medya Sorgusu */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-col {
        flex-basis: 100%;
        text-align: center;
    }
    
    /* Mobil görünümde başlık altındaki çizgiyi ortala */
    .footer-col h4::after {
        margin: 5px auto 0; 
    }
    
    .logo-col .logo {
        margin-bottom: 15px;
    }
    
    .footer-col ul {
        display: flex; /* Linkleri yan yana getir */
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-col ul li {
        margin: 0 10px;
    }
}

/* Medya Sorguları (Responsive Tasarım) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
    }
    nav ul li {
        margin-bottom: 10px;
    }
    .cta-nav {
        margin-top: 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section {
        padding: 50px 5%;
    }
}

.whatsapp-bubble {
        position: fixed; /* Sayfada sabit kalır */
        bottom: 25px;    /* Alttan 25px mesafede */
        right: 25px;     /* Sağdan 25px mesafede */
        
        background-color: #25D366; /* WhatsApp yeşili */
        color: white;             /* İkon rengi */
        
        width: 60px;
        height: 60px;
        border-radius: 50%; /* Daire şeklinde yapar */
        
        /* İkonu ortalamak için */
        display: flex;
        align-items: center;
        justify-content: center;
        
        font-size: 32px; /* İkon boyutu */
        text-decoration: none; /* Link alt çizgisini kaldırır */
        
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Gölgelik */
        z-index: 1000; /* Diğer öğelerin üzerinde kalır */
        
        transition: transform 0.2s ease; /* Hafif animasyon */
    }

    /* Üzerine gelince hafifçe büyüt */
    .whatsapp-bubble:hover {
        transform: scale(1.1);
    }