/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2c3e50; /* Koyu Lacivert/Gri - Logodaki koyu kısım */
    --accent: #e67e22; /* Turuncu - Logodaki vurgu rengi */
    --accent-dark: #d35400;
    --light: #f8f9fa;
    --dark: #1a252f;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --border: #e9ecef;
}

/* Genel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.7; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light); }

/* Tipografi */
h1, h2, h3, h4 { color: var(--primary); font-weight: 700; margin-bottom: 15px; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
.section-title { text-align: center; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent); }
.section-desc { text-align: center; margin-bottom: 50px; color: var(--text-light); max-width: 700px; margin-left: auto; margin-right: auto; }

/* Butonlar */
.btn-cta, .btn-submit, .btn-hero { display: inline-block; background: var(--accent); color: var(--white); padding: 12px 25px; border-radius: 5px; font-weight: 600; border: none; cursor: pointer; }
.btn-cta:hover, .btn-submit:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-cta-dark { background: var(--primary); color: var(--white); }
.btn-cta-dark:hover { background: var(--dark); }

/* Header & Nav */
header { background: var(--white); padding: 15px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-container img { height: 50px; /* Logo yüksekliği */ }
nav ul { display: flex; gap: 25px; align-items: center; }
nav a { font-weight: 600; font-size: 0.95rem; color: var(--primary); }
nav a:hover { color: var(--accent); }

/* Hero Section (Ana Banner) */
.hero { background: url('img/banner.jpg') no-repeat center center/cover; height: 75vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; background-color: var(--primary); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.6)); }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.hero .btn-hero { margin: 5px; }

/* Page Header (Alt Sayfa Bannerları) */
.page-header { background: linear-gradient(45deg, var(--primary), var(--dark)); color: var(--white); padding: 60px 0; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: 10px; }

/* Hizmetler Grid (Ana Sayfa) */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 35px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-5px); border-bottom-color: var(--accent); }
.service-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.service-card h3 { font-size: 1.3rem; }
.read-more { display: inline-flex; align-items: center; margin-top: 15px; font-weight: 600; color: var(--accent); }
.read-more i { margin-left: 8px; font-size: 0.8rem; transition: 0.3s; }
.read-more:hover i { margin-left: 12px; }

/* Hakkımızda Section */
.about-flex { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-img { flex: 1; text-align: center; }

/* Hizmet Detay Sayfası & Sidebar */
.layout-sidebar { display: flex; gap: 40px; }
.detail-content { flex: 3; }
.sidebar { flex: 1; }
.detail-content p { margin-bottom: 20px; }
.detail-content strong { color: var(--primary); }
.cta-box { background: var(--light); padding: 30px; border-radius: 10px; border-left: 4px solid var(--accent); margin-top: 30px; }
.cta-box h3 { font-size: 1.5rem; }
.cta-box .btn-cta, .cta-box .btn-cta-dark { margin-right: 10px; margin-top: 15px; }
.widget { background: var(--white); padding: 25px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; }
.widget h3 { font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.service-list-widget li { border-bottom: 1px solid var(--border); }
.service-list-widget li:last-child { border-bottom: none; }
.service-list-widget a { display: block; padding: 12px 0; color: var(--text-light); font-weight: 500; }
.service-list-widget a:hover, .service-list-widget a.active { color: var(--accent); padding-left: 5px; }
.service-list-widget i { font-size: 0.8rem; margin-right: 8px; color: var(--accent); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-img { height: 200px; background-color: var(--border); background-size: cover; background-position: center; }
.blog-content { padding: 25px; }
.blog-date { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 15px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-link { font-weight: 600; color: var(--accent); }
.blog-main-image { width: 100%; height: auto; border-radius: 10px; margin-bottom: 30px; }
.blog-meta-date { color: var(--text-light); margin-bottom: 25px; }
.blog-full-content p { margin-bottom: 20px; }
.share-post { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }

/* İletişim Sayfası */
.contact-flex { display: flex; gap: 50px; }
.contact-info-box { flex: 1; }
.contact-form-box { flex: 1.5; background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.info-item { display: flex; gap: 15px; margin-bottom: 30px; }
.info-item i { font-size: 1.5rem; color: var(--accent); width: 40px; height: 40px; background: rgba(230, 126, 34, 0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.info-item h4 { margin-bottom: 5px; font-size: 1.1rem; }
.input-group { margin-bottom: 20px; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 5px; font-family: inherit; background: var(--light); transition: 0.3s; }
.input-group input:focus, .input-group textarea:focus { border-color: var(--accent); outline: none; background: var(--white); }
.btn-submit { width: 100%; padding: 15px; font-size: 1.1rem; }

/* Footer */
footer { background: var(--dark); color: #aaa; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p i { margin-right: 10px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; text-align: center; font-size: 0.9rem; }

/* Whatsapp Float */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 2px 5px 15px rgba(0,0,0,0.2); z-index: 9999; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.2rem; }
    .layout-sidebar, .contact-flex, .about-flex { flex-direction: column; }
    .sidebar { order: 2; } .detail-content { order: 1; }
    .about-img { display: none; }
}
@media (max-width: 768px) {
    .header-flex { flex-direction: column; }
    nav ul { flex-wrap: wrap; justify-content: center; margin-top: 15px; gap: 15px; }
    .section-padding { padding: 60px 0; }
    .contact-form-box { padding: 25px; }
}

/* Hizmet Kartı Resim Düzenlemesi */
.service-card { padding: 0; overflow: hidden; /* Eski padding'i kaldır */ }
.card-img-top { height: 220px; overflow: hidden; position: relative; }
.card-img-top img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .card-img-top img { transform: scale(1.1); }
.card-body { padding: 25px; }

/* İkonlu Placeholder (Resim yoksa) */
.placeholder-icon { width: 100%; height: 100%; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--accent); }

/* Detay Sayfası Banner Karartma */
.page-header { position: relative; }
.overlay-dark { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.6); }

/* Footer Link Düzeltme */
.footer-logo { max-width: 200px; }

/* ... Önceki CSS kodlarınızın devamı veya günceli ... */

/* DROPDOWN MENÜ (Header Kısmı) */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 5px;
    top: 100%; /* Linkin hemen altı */
    left: 0;
}
.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: var(--light); color: var(--accent); }
.dropdown:hover .dropdown-content { display: block; }
.dropbtn i { margin-left: 5px; font-size: 0.8rem; }

/* EKİP KARTLARI (Yönetim Kurulu Sayfası) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border: 1px solid var(--border);
}
.team-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.team-img {
    height: 180px;
    width: 100%;
    overflow: hidden;
}
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.team-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--border);
}
.team-info { padding: 20px; }
.team-info h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 5px; }
.team-info span { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* Mobilde Dropdown */
@media (max-width: 768px) {
    .dropdown-content { position: static; box-shadow: none; background: #f9f9f9; width: 100%; }
    .dropdown-content a { padding-left: 30px; }
    /* Mobilde hover sorunu olmasın diye her zaman açık yapabiliriz veya JS gerekir.
       Şimdilik basit CSS ile üzerine basınca görünmesini sağlıyoruz */
}