/* Genel Ayarlar */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #2c3e50; /* Kurumsal renk */
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
    position: relative; /* Dropdown için */
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active { /* Aktif sayfa linki için JS ile class eklenebilir */
    color: #007bff; /* Ana renk */
    border-bottom-color: #007bff;
}

.header-phone {
    font-weight: 500;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

/* Telefon numarası kartı stili */
.header-phone-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 8px 18px;
    margin-left: 28px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
}
.header-phone-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

/* Dropdown Menu */
.dropdown .arrow {
    font-size: 0.7em;
    margin-left: 5px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin-top: 10px; /* Küçük bir boşluk */
    min-width: 200px;
    z-index: 1001;
    border-radius: 4px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { /* Klavye erişimi için */
    display: block;
}

.dropdown-menu li {
    margin-left: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    white-space: nowrap;
    border-bottom: none; /* Alt çizgiyi kaldır */
}

.dropdown-menu a:hover {
    background-color: #f4f4f4;
    color: #007bff;
}


/* Mobil Menu Toggle Butonu */
.mobile-nav-toggle {
    display: none; /* Varsayılan olarak gizli */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Mobil için Media Query */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px; /* Header yüksekliğine göre ayarla */
        right: 0;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    .nav-links[data-visible="true"] {
        transform: translateX(0);
    }

    .nav-links li {
        margin-left: 0;
        width: 100%;
        margin-bottom: 15px;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1002; /* Navigasyonun üzerinde kalması için */
    }

    .header-phone {
        font-size: 0.85rem;
    }

    /* Dropdown mobil uyumu */
    .dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 1px solid #eee;
        margin-top: 5px;
        padding-left: 15px; /* İçeri kaydırma */
        background-color: #f9f9f9;
    }
    .dropdown .arrow { display: inline-block; } /* Mobilde her zaman göster */
    .dropdown-toggle:focus + .dropdown-menu,
    .dropdown-toggle:active + .dropdown-menu {
        display: block; /* Tıklama ile açma */
    }
}


.section-padding {
    padding: 60px 0;
}
.bg-light {
    background-color: #f8f9fa;
}
.text-center {
    text-align: center;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after { /* Başlık altına çizgi efekti */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}
.about-summary-section .section-title::after,
.collaboration-section .section-title::after { /* Soldan hizalı başlıklar için */
    left: 0;
    transform: translateX(0);
}


/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-secondary {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}
.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Tam ekran yüksekliği */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Video taşmasını engelle */
    color: #fff;
}
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover; /* Videonun alanı kaplamasını sağlar */
}
.hero-overlay { /* Video üzerine hafif bir karartma */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Siyah ve %50 opaklık */
    z-index: -1;
}
.hero-content {
    position: relative; /* Overlay'in üzerinde kalması için */
    z-index: 1;
}
.company-name-hero {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    letter-spacing: 1px;
}
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}
.btn-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Hero animasyonları (isteğe bağlı) */
.animated-text {
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
}
.company-name-hero.animated-text { animation-delay: 0.3s; }
.hero-subtitle.animated-text { animation-delay: 0.6s; }
.animated-button {
    animation: fadeInUp 1s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Hakkımızda Özeti */
.grid { display: grid; gap: 30px; }
.grid-2-cols-responsive {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.about-summary-media img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    object-fit: cover;
    max-height: 500px; 
}

/* Projeler Önizleme */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Tıklanabilir hissi verir */
}
.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.project-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.project-card:hover img {
    transform: scale(1.1);
}
.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-card:hover .project-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.project-card-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
}
.project-card-info .location {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* İşbirliği Alanı */
.collaboration-text {
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
    color: #555;
}


/* Responsive Grid */
@media (max-width: 768px) {
    .company-name-hero { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .grid-2-cols-responsive {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
    }
    .about-summary-text {
        order: 2; /* Yazıyı resmin altına al */
        text-align: center;
    }
    .about-summary-media {
        order: 1;
        margin-bottom: 20px;
    }
    .about-summary-media img {
        max-height: 300px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-title::after {
        left: 50%; /* Mobil için ortala */
        transform: translateX(-50%);
    }
    .about-summary-section .section-title::after { /* Soldan hizalı başlıklar için mobil */
        left: 0;
        transform: translateX(0);
    }
}

.site-footer-main {
    background-color: #2c3e50; /* Koyu kurumsal renk */
    color: #ecf0f1;
    padding-top: 50px;
    padding-bottom: 0; /* Alt kısım için ayrı padding */
}
.footer-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}
.footer-company-name {
    font-size: 1.5rem;
}
.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #bdc3c7;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover {
    color: #00aeff; /* Vurgu rengi */
    padding-left: 5px;
}
.footer-address, .footer-phone a, .footer-email a {
    color: #bdc3c7;
    text-decoration: none;
}
.footer-phone a:hover, .footer-email a:hover {
    color: #00aeff;
}

.footer-bottom {
    background-color: #233140; /* Biraz daha koyu */
    padding: 20px 0;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Mobil için */
}
.copyright {
    font-size: 0.9rem;
    color: #95a5a6;
    margin: 0;
}

.footer-digger img:hover {
    opacity: 1; /* Hover durumunda tam görünürlük */
    transform: scale(1.1); /* Hover durumunda hafifçe büyütme efekti */
}
.footer-digger {
    /* Konteyner için gerekirse ek ayarlar yapılabilir, 
       örneğin görselin konumunu daha iyi ayarlamak için */
    display: flex; /* Görseli dikeyde ortalamak için ebeveynine flex ekleyebiliriz */
    align-items: center; /* Dikey ortalama */
    justify-content: flex-end; /* Sağa yaslamak için (mevcut düzende zaten sağda) */
}

.footer-digger img {
    max-height: 80px;  /* Yüksekliği artırdık (örneğin 50px'den 80px'e) */
    /* width: auto;  // En-boy oranını korumak için height ayarlandığında width auto olabilir */
    opacity: 0.85; /* Biraz daha görünür yaptık (isteğe bağlı) */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Yumuşak geçişler */
    /* display: block; // Zaten inline style olarak verilmiş, burada da olabilir */
}
@media (max-width: 768px) {
    .footer-container-grid {
        text-align: center;
    }
    .footer-col h3, .footer-col h4 {
        margin-top: 20px; /* Sütunlar arası boşluk */
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .copyright {
        margin-bottom: 10px;
    }
    .footer-digger img {
        max-height: 60px; /* Mobilde biraz daha küçük */
        margin-top: 10px; /* Üstteki yazı ile arasına boşluk */
    }
}

/* Sayfa Hero Alanı (Hakkımızda, Projeler vb. için ortak) */
.page-hero-section {
    padding: 100px 0; /* Header yüksekliğini hesaba katın */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 550px; /* veya daha fazla */
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.6); /* Koyu kurumsal renk tonu */
    z-index: 1;
}
.page-hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.page-hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Şirket Bilgileri Alanı */
.company-info-section .section-title,
.mission-vision-section .section-title {
    text-align: left; /* Bu bölümlerde başlıklar sola hizalı olabilir */
}
.company-info-section .section-title::after,
.mission-vision-section .section-title::after {
    left: 0;
    transform: translateX(0);
}
.info-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.align-items-center {
    align-items: center;
}

/* Misyon & Vizyon */
.mission-vision-section .grid {
    gap: 40px;
}
/* .mission-box, .vision-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} 
*/
.mission-box:hover, .vision-box:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.grid-2-cols-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-box, .vision-box {
  background-color: #fff; /* isteğe bağlı */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* isteğe bağlı */
}

/* Yükseklik eşitleme için ebeveynde de gerekli olabilir */
.grid-2-cols-responsive > div {
  display: flex;
  flex-direction: column;
}

.mv-icon {
    width: 60px; /* İkon boyutunu ayarla */
    height: 60px;
    margin-bottom: 20px;
    /* fill: #007bff; SVG ikonlar için renk */
}
.mission-box h3, .vision-box h3 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 15px;
}

/* Değerler Alanı */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.value-item {
    background-color: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.value-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}
.value-item h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Uzmanlık Alanları */
.expertise-list {
    list-style: none;
    padding: 0;
    max-width: 800px; /* Ortalamak için */
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Daha iyi dağılım */
    gap: 15px;
}
.expertise-list li {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 1.05rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.expertise-list li:hover {
    background-color: #007bff;
    color: #fff;
}
.expertise-list li i { /* Font Awesome ikonları için */
    margin-right: 10px;
    color: #007bff; /* Varsayılan ikon rengi */
    transition: color 0.3s ease;
}
.expertise-list li:hover i {
    color: #fff;
}

@media (max-width: 768px) {
    .page-hero-content h1 { font-size: 2.2rem; }
    .page-hero-content p { font-size: 1.1rem; }

    .mission-box, .vision-box {
        padding: 20px;
    }
    .mission-box h3, .vision-box h3 {
        font-size: 1.5rem;
    }
    .expertise-list {
        grid-template-columns: 1fr; /* Mobil için tek sütun */
    }
}

/* Proje Filtreleme */
.project-filters-section {
    background-color: #f8f9fa; /* veya farklı bir arkaplan */
}
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Mobil için */
    gap: 10px;
    margin-bottom: 30px; /* Sonraki bölümle arasına boşluk */
}
.filter-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: #fff;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 20px; /* Yuvarlak butonlar */
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}
.filter-btn.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 5px rgba(0,123,255,0.3);
}

/* Tüm Projeler Grid */
.projects-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.project-item-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex; /* İçeriği daha iyi yönetmek için */
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1; /* Animasyon için başlangıç değeri */
}
.project-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
/* Filtreleme animasyonu için */
.project-item-card.hidden-item {
    animation: fadeOutScale 0.4s forwards;
}
.project-item-card.visible-item {
    animation: fadeInScale 0.4s forwards;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeOutScale {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}


.project-item-image {
    position: relative;
    height: 220px; /* Sabit yükseklik */
    overflow: hidden;
}
.project-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-item-card:hover .project-item-image img {
    transform: scale(1.08);
}
.project-item-image-overlay { /* İsteğe bağlı: Resim üzerine hover efekti */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.3); /* Ana renk ve opaklık */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-item-card:hover .project-item-image-overlay {
    opacity: 1;
}
.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}
.btn-light {
    background-color: rgba(255,255,255,0.9);
    color: #007bff;
    border: none;
}
.btn-light:hover {
    background-color: #fff;
}

.project-item-content {
    padding: 20px;
    flex-grow: 1; /* Kartın kalan boşluğunu doldurur */
    display: flex;
    flex-direction: column;
}
.project-item-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}
.project-item-content .location {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}
.project-item-content .location i { /* Font Awesome ikonu için */
    margin-right: 5px;
    color: #007bff;
}
.project-item-content .description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; /* Açıklamanın esnek olmasını sağlar */
}
.project-status {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    align-self: flex-start; /* Sol alta yaslar */
}
.project-status.completed {
    background-color: #d4edda; /* Yeşil tonu */
    color: #155724;
    border: 1px solid #c3e6cb;
}
.project-status.ongoing {
    background-color: #fff3cd; /* Sarı tonu */
    color: #856404;
    border: 1px solid #ffeeba;
}

@media (max-width: 768px) {
    .projects-grid-full {
        grid-template-columns: 1fr; /* Mobil için tek sütun */
    }
}