/* style.css - Yerlikaya Teknik Servis Profesyonel Tasarım (İnce Header, Tek Satır Menü ve Sabit Butonlar) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --ana-mavi: #004b87; 
    --vurgu-turuncu: #ff5722; 
    --arkaplan-gri: #f4f7f6;
    --metin-koyu: #2c3e50;
    --whatsapp-yesil: #25D366;
}

body { 
    font-family: 'Poppins', sans-serif; 
    margin: 0; 
    padding: 0; 
    color: var(--metin-koyu); 
    line-height: 1.6;
}

/* Üst Bilgi ve Akıllı Header */
header { 
    background-color: var(--ana-mavi); 
    color: white; 
    position: sticky; 
    top: 0; 
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 5px 0; 
}
header.scrolled { 
    padding: 2px 0; 
    background-color: rgba(0, 75, 135, 0.98); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
}

/* EN ÜST ŞERİT (Adres ve Telefonlar Beyaz & Kalın) */
.header-top { 
    background-color: #00335e; 
    padding: 5px 10px; 
    font-size: 0.8em; 
    display: flex; 
    justify-content: center; 
    gap: 15px;
    flex-wrap: wrap; 
    text-align: center;
    color: white; 
    font-weight: 600; 
}
.header-top a { 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
}

.header-main { 
    padding: 5px 10px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 5px; 
}

@media (min-width: 992px) {
    .header-main { 
        flex-direction: row; 
        justify-content: space-between; 
        padding: 10px 20px;
    }
}

.logo-container img { 
    max-width: 130px; 
    height: auto; 
    transition: 0.4s; 
    border-radius: 5px; 
}
header.scrolled .logo-container img { 
    max-width: 100px; 
}

/* MENÜ VE AÇILIR MENÜ (DROPDOWN) - TEK SATIR AYARI */
nav { 
    display: flex; 
    flex-wrap: nowrap; 
    justify-content: center; 
    align-items: center; 
    gap: 2px; 
    width: 100%;
}

nav a, .dropbtn {
    color: white; 
    text-decoration: none; 
    font-size: 0.85em; 
    font-weight: 600;
    padding: 5px 6px; 
    white-space: nowrap; 
    transition: 0.3s; 
    cursor: pointer; 
    border: none; 
    background: none;
}
nav a:hover, .dropdown:hover .dropbtn { 
    color: var(--vurgu-turuncu); 
}

.dropdown { 
    position: relative; 
    display: inline-block; 
}

.dropdown-content {
    display: none; 
    position: absolute; 
    background-color: var(--ana-mavi);
    min-width: 180px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1; 
    border-radius: 5px; 
    top: 100%; 
    left: 50%;
    transform: translateX(-50%); 
    overflow: hidden;
}
.dropdown-content a {
    color: white; 
    padding: 12px 16px; 
    display: block; 
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    font-size: 0.9em;
    white-space: normal; 
}
.dropdown-content a:hover { 
    background-color: var(--vurgu-turuncu); 
    color: white; 
}
.dropdown:hover .dropdown-content { 
    display: block; 
}

@media (max-width: 991px) {
    .dropdown-content { 
        position: absolute; 
        width: 200px; 
    }
}

/* Karşılama, Hizmetler ve Diğer Alanlar */
.hero { background: var(--arkaplan-gri); padding: 60px 20px; text-align: center; }
.hero h1 { color: var(--ana-mavi); font-size: 2.2em; }
.hero-btn { display: inline-block; padding: 12px 30px; background: var(--vurgu-turuncu); color: white; text-decoration: none; border-radius: 50px; font-weight: 600; }

.section-title { text-align: center; color: var(--ana-mavi); margin-top: 40px; }
.services { display: flex; justify-content: center; gap: 20px; padding: 20px; flex-wrap: wrap; }
.service-box { background: white; border-top: 4px solid var(--vurgu-turuncu); box-shadow: 0 5px 15px rgba(0,0,0,0.08); padding: 20px; width: 220px; text-align: center; border-radius: 8px; }
.service-box img { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; }

.stats-section { background: var(--ana-mavi); color: white; padding: 30px; display: flex; justify-content: space-around; flex-wrap: wrap; text-align: center; }
.stat-box h4 { font-size: 2em; color: var(--vurgu-turuncu); margin: 0; }

.values-section { background-color: var(--ana-mavi); padding: 0 20px 40px 20px; text-align: center; }
.values-section div { border: 1px solid rgba(255,255,255,0.2); color: white; padding: 15px; margin: 0 auto 10px auto; max-width: 500px; border-radius: 5px; font-size: 1.1em; font-weight: 300; }

footer { background: #00335e; color: white; text-align: center; padding: 30px; font-size: 0.85em; border-top: 2px solid rgba(255,255,255,0.8); }
footer a { color: var(--vurgu-turuncu); text-decoration: none; }

/* SABİT BUTONLAR (WhatsApp Sağda, Telefon Solda) */
.whatsapp-float { 
    position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; 
    background: var(--whatsapp-yesil); border-radius: 50px; display: flex; 
    align-items: center; justify-content: center; z-index: 2000; box-shadow: 0 4px 12px rgba(0,0,0,0.3); 
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

.phone-float { 
    position: fixed; width: 60px; height: 60px; bottom: 20px; left: 20px; 
    background-color: var(--vurgu-turuncu); color: white; border-radius: 50px; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 2000; 
    animation: pulse-animation 2s infinite; 
}
.phone-float svg { width: 30px; height: 30px; fill: white; }

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 87, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}
