/* Global Stiller */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; padding: 0; background-color: #f9f9f9; color: #333; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { color: #0056b3; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Header */
header { background: #ffffff; border-bottom: 1px solid #e0e0e0; padding: 15px 0; position: relative; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8em; font-weight: bold; color: #004a99; line-height: 1.2; }
.logo span { font-size: 0.6em; color: #555; display: block; font-weight: normal; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
nav li { margin-left: 25px; }
nav a { font-weight: 600; color: #333; font-size: 1em; }
nav a:hover, nav a.active { color: #004a99; }

/* HEADER GÜNCELLEMELERİ VE LOGO STİLLERİ */
header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    /* Navigasyonun ve logonun dikeyde hizalanmasını sağlar */
}

/* Yeni Logo Konteyneri Stili */
.logo-container {
    display: flex;
    flex-direction: column; /* Logo ve alt metni alt alta hizala */
    align-items: flex-start; /* Sola hizala */
    text-decoration: none; /* Link alt çizgilerini kaldır */
}

/* Logo Görseli Stili */
.header-logo {
    height: 35px; /* Logo yüksekliğini ayarla */
    width: auto;
    margin-bottom: 3px; /* Altındaki metinle arasına boşluk bırak */
}

/* Alt Agency Metni Stili */
.sub-agency {
    font-size: 0.8em;
    color: #555;
    font-weight: normal;
    margin-top: -5px; /* Logoya daha yakın olmasını sağla */
}

/* Mevcut nav stilleri bozulmasın diye margin ekleyelim */
nav {
    margin-top: 10px; 
}

/* Mobil Uyum (Responsive) Güncellemesi */
@media (max-width: 768px) {
    /* Mobil düzende sadece logo görseli görünsün, alt metin gizlensin */
    
    .header-logo {
        height: 30px; /* Mobilde logoyu biraz küçült */
    }
    
    /* Navigasyonun mobil yerleşimi bozulmasın */
    nav {
        margin-top: 0;
    }
}

/* Hamburger Menü İkonu */
.hamburger-menu {
    display: none; /* Masaüstünde gizli */
    font-size: 28px;
    background: none;
    border: none;
    color: #004a99;
    cursor: pointer;
    padding: 5px;
}

/* Ana Sayfa Hero (Manşet) */
.hero { background: #004a99; color: white; padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 2.8em; margin: 0 0 10px; }
.hero p { font-size: 1.2em; margin: 0 0 30px; }
.btn { background: #ffc107; color: #333; padding: 15px 30px; border-radius: 5px; font-weight: bold; text-decoration: none; display: inline-block; }
.btn:hover { background: #e0a800; }

/* Diğer Sayfalar Başlık */
.page-header { background: #004a99; color: white; padding: 40px 20px; text-align: center; }
.page-header h1 { margin: 0; font-size: 2.5em; }

/* Google Ads Uyum Banner'ı */
.compliance-banner { background: #fff3cd; border: 1px solid #ffeeba; color: #856404; padding: 20px; text-align: center; font-weight: 500; margin: 30px auto; max-width: 1100px; border-radius: 5px; line-height: 1.7; }
.compliance-banner strong { color: #721c24; }

/* Bölümler (Sections) */
section { padding: 60px 0; }
.section-title { text-align: center; font-size: 2.2em; margin-bottom: 40px; color: #004a99; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 30px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.card h3 { margin-top: 0; color: #004a99; }

/* Hizmetler Sayfası */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.service-card h3 { margin-top: 0; color: #004a99; }
.service-card p { margin-bottom: 20px; }
.service-card .btn-more { font-weight: bold; }
.compliance-note { background-color: #f8f9fa; border-left: 5px solid #004a99; padding: 20px; margin-top: 40px; font-style: italic; color: #555; }

/* İletişim Sayfası */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: #fff; padding: 30px; border-radius: 8px; border: 1px solid #e0e0e0; }
.contact-info h3 { margin-top: 0; }
.contact-info p { line-height: 1.7; margin-bottom: 15px; }
.contact-info strong { color: #004a99; }
.map-container { border-radius: 8px; overflow: hidden; border: 1px solid #e0e0e0; }
.map-container iframe { width: 100%; height: 450px; border: 0; }
.company-info-box { background-color: #f8f9fa; border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; margin-top: 20px; }
.company-info-box h4 { margin-top: 0; }

/* SSS Sayfası */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.faq-item details > summary { list-style: none; padding: 20px 25px; font-weight: 600; font-size: 1.1em; color: #004a99; cursor: pointer; }
.faq-item details[open] > summary { border-bottom: 1px solid #e0e0e0; }
.faq-item details > p { padding: 0 25px 20px; line-height: 1.7; color: #555; margin: 15px 0 0; }
.faq-item details > summary::marker { display: none; }
.faq-item details > summary:after { content: '+'; float: right; font-size: 1.5em; }
.faq-item details[open] > summary:after { content: '−'; }

/* Yasal Sayfalar (İçerik) */
.content-area { background: #fff; padding: 40px; border-radius: 8px; max-width: 900px; margin: 0 auto; line-height: 1.8; }
.content-area h2 { color: #004a99; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }
.content-area h3 { color: #333; }
.content-area ul { padding-left: 25px; }
.legal-box { background-color: #f8f9fa; border: 1px solid #e0e0e0; padding: 20px 30px; border-radius: 8px; margin-top: 30px; }
.legal-box h3 { margin-top: 0; }
.legal-box ul { padding-left: 20px; }
.legal-box li { margin-bottom: 10px; }
.highlight { background-color: #fff3cd; padding: 10px 15px; border-radius: 5px; font-weight: 500; display: block; margin: 10px 0; }


/* Footer */
footer { background: #333; color: #ccc; padding: 40px 0; font-size: 0.9em; }
footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
footer h4 { color: #ffffff; margin-top: 0; }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 10px; }
footer a { color: #ccc; }
footer a:hover { color: #fff; }
.footer-compliance { grid-column: 1 / -1; border-top: 1px solid #555; padding-top: 20px; margin-top: 20px; text-align: center; font-size: 0.85em; color: #aaa; }
.footer-compliance strong { color: #fff; }

/* --------------------------------- */
/* MOBİL UYUMLULUK (RESPONSIVE) */
/* --------------------------------- */
@media (max-width: 768px) {
    header .container {
        flex-direction: row; /* Logo ve hamburger yan yana */
        justify-content: space-between;
    }
    .logo { font-size: 1.6em; }
    
    .hamburger-menu {
        display: block; /* Mobilde göster */
    }
    
    nav {
        display: none; /* Menüyü varsayılanda gizle */
        width: 100%;
        background-color: #ffffff;
        position: absolute;
        top: 73px; /* Header yüksekliğine göre ayarlandı */
        left: 0;
        z-index: 100;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    nav.active {
        display: block; /* JavaScript ile bu sınıf eklendiğinde göster */
    }

    nav ul {
        flex-direction: column; /* Menü linklerini alt alta getir */
        width: 100%;
        padding: 0;
    }
    nav li {
        margin: 0;
    }
    nav a {
        display: block;
        padding: 18px 20px;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }
    nav li:last-child a {
        border-bottom: none;
    }

    /* Diğer Mobil Stiller */
    .grid-3 { grid-template-columns: 1fr; }
    .hero { padding: 50px 20px; }
    .hero h1 { font-size: 2.1em; }
    .hero p { font-size: 1.1em; }
    .page-header h1 { font-size: 2.0em; }
    .section-title { font-size: 1.9em; }
    section { padding: 40px 0; }

    .service-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
    .contact-info { padding: 25px; }

    .faq-item details > summary { padding: 20px; font-size: 1.05em; }
    .faq-item details > p { padding: 0 20px 20px; }

    .content-area { padding: 25px; }
    .legal-box { padding: 20px; }
    
    footer .container { grid-template-columns: 1fr; text-align: left; }
    footer h4 { margin-top: 20px; }
    footer div:first-child h4 { margin-top: 0; }
    .footer-compliance { text-align: left; }
}

/* İletişim Formu Stilleri */
.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.contact-form label {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Padding'in genişliğe dahil olmasını sağlar */
    font-size: 1em;
}
.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}
.contact-form button {
    background-color: #004a99;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s;
}
.contact-form button:hover {
    background-color: #003a7a;
}
/* Mobil Düzenleme */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}
