/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.7); /* Koyu saydam arka plan */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999; /* Z-index değerini artırdık, kesinlikle en üstte olması için */
    height: 145px; /* Header yüksekliğini standartlaştırıyoruz */
    display: flex;
    align-items: center;
}

/* Tüm sayfalar için beyaz yazılar */
.header .nav-link {
    color: white;
}

.header .dropdown-trigger {
    color: white;
}

/* Artık scrolled sınıfını kullanmıyoruz, tüm zaman için aynı stil */
.header.scrolled {
    background: rgba(0, 0, 0, 0.7) !important; /* Siyah arka planı koruyoruz */
    background-image: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    height: 145px; /* Header yüksekliğini azalttık */
}

/* Artık tüm header'lar aynı stile sahip olacak, ek sınıf kullanmıyoruz */
.header .mobile-menu-btn span {
    background-color: white; /* Mobil menü çizgileri */
}

.header .nav-link:hover {
    color: #0077cc;
}

.header .dropdown-trigger:hover {
    color: #0077cc;
}

/* Removed duplicate .nav-wrapper declaration - using the standardized one above */

/* Standard padding for all header types */
.nav-wrapper {
    display: flex;
    justify-content: space-between; /* Logo solda, navigasyon sağda */
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 2000;
    width: 100%;
}

/* Logo ve navigasyon hizalaması */
.logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto; /* Navigasyonu sağa yasla */
}

/* No extra padding for bg header to match with regular header */
.header.header-with-bg .nav-wrapper {
    padding: 1.5rem 0;
    position: relative;
    z-index: 2000;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    margin-right: 17rem; /* Logo büyüdüğü için menü ile arasındaki boşluğu biraz daha artırdık */
}

.logo-img {
    height: 160px; /* Logo boyutunu azalttık */
    width: auto;
    object-fit: contain;
    display: block; /* Görünürlüğü garanti eder */
    background-color: transparent !important; /* Arka plan rengi olmayacak */
}

/* Artık logo her durumda aynı görünümde olacak, filtre kullanmıyoruz */

/* Navigation Styles */
/* .nav-menu tanımı yukarıda güncellendi */

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem; /* Menü itemleri arası boşluk */
    align-items: center;
    justify-content: flex-end; /* Sağa hizala */
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white; /* Beyaz renk - sabit */
    font-weight: 500;
    font-size: 22px; /* Font boyutunu büyüttük */
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header-with-bg class'ına sahip header içindeki nav-link'ler beyaz olsun */
.header-with-bg .nav-link {
    color: white;
}

/* Header-with-bg hover efektleri */
.header-with-bg .nav-link:hover {
    color: #0077cc;
}

.header-with-bg .dropdown-trigger:hover {
    color: #0077cc;
}

.header-with-bg .dropdown-link:hover {
    color: #0077cc;
}

/* Sayfa yüklendiğinde header'ı görünür yap */
.header.loaded {
    opacity: 1;
}

.nav-link:hover {
    color: #0077cc;
    background: transparent;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    text-decoration: none;
    color: white; /* Beyaz renk - sabit */
    font-weight: 500;
    font-size: 22px; /* Font boyutunu büyüttük - nav-link ile aynı */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header-with-bg class'ına sahip header içindeki dropdown-trigger beyaz olsun */
.header-with-bg .dropdown-trigger {
    color: white;
}

/* Tüm header türleri için genel hover efektleri */
.header .nav-link:hover,
.header-with-bg .nav-link:hover {
    color: #0077cc !important;
}

.header .dropdown-trigger:hover,
.header-with-bg .dropdown-trigger:hover {
    color: #0077cc !important;
}

.dropdown-trigger:hover {
    color: #0077cc;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
    font-size: 18px; /* İkon boyutu */
}

.dropdown:hover .dropdown-icon {
    transform: rotate(0deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9); /* Koyu arka plan - header ile uyumlu */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white; /* Açılır menüde beyaz yazı */
    text-decoration: none;
    font-weight: 400;
    font-size: 18px; /* Dropdown linklerin boyutu */
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.dropdown-link:hover {
    color: #0077cc; /* Hover durumunda mavi renk - tutarlılık */
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    z-index: 10000;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white; /* Mobil menü çizgileri beyaz */
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* Mobil menü açık durumunda animasyon */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobil menü overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    padding-top: 80px; /* Mobil header yüksekliği kadar */
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    padding: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #0077cc;
}

/* Mobil dropdown */
.mobile-dropdown {
    margin-top: 1rem;
}

.mobile-dropdown-trigger {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.mobile-dropdown-trigger:hover {
    color: #0077cc;
}

.mobile-dropdown-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
    padding: 1rem;
}

.mobile-dropdown-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    display: block;
    padding: 0.8rem 0;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-dropdown-link:last-child {
    border-bottom: none;
}

.mobile-dropdown-link:hover {
    color: #0077cc;
}

/* Main Content */
.main {
    margin-top: 0;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center center/cover no-repeat;
    color: white;
    padding: 0;
    height: 100vh; /* tam ekran yükseklik */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    color: white;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Special styling for İletişime Geçin button */
.btn-secondary {
    border-radius: 40px;
    padding: 1.5rem 3.5rem;
    background-color: #333;
    color: white;
    box-shadow: none;
    text-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0055a5 0%, #0077cc 100%); 
    color: white;
    border-color: #0055a5;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.5);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003d7a 0%, #0066b3 100%);
    border-color: #003d7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 85, 165, 0.6);
}

.btn-secondary {
    background-color: rgb(45, 45, 45);
    color: white;
    border: none;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background-color: rgb(60, 60, 60);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* iPad ve mobil için genel kurallar */
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 4px !important;
    }
}

/* iPhone 14 Pro Max ve benzer cihazlar için */
@media screen and (max-width: 430px) {
    .header {
        height: 70px !important;
        padding: 0 0.8rem !important;
    }
    
    .logo-img {
        height: 45px !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        padding: 0.6rem !important;
        min-width: 35px !important;
        min-height: 35px !important;
    }
    
    .mobile-menu-btn span {
        width: 22px !important;
        height: 2.5px !important;
    }
    
    .mobile-menu-overlay {
        padding-top: 70px !important;
    }
}

/* Debug için - hamburger menü her zaman görünsün mobilde */
@media screen and (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 6px !important;
    }
    
    .nav-menu {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Page Hero Styles */
.page-hero {
    background: #ffffff;
    color: #2a2a2a;
    padding: 4rem 0 3rem; /* Üstten padding arttırıldı */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 145px; /* Yeni header yüksekliğine göre ayarlandı */
}

/* Projeler sayfası için özel stil */
.projects-page-hero {
    padding: 4rem 0 2rem; /* Üstten padding arttırıldı */
    background: #f8f8f8; /* Gönderdiğiniz örnek sayfadaki gibi hafif gri arkaplan */
    margin-top: 145px; /* Yeni header yüksekliğine göre ayarlandı */
    border-top: none; /* Üst çizgiyi kaldırıyoruz */
}

/* İletişim sayfası için özel stil */
.contact-page-hero {
    margin-top: 145px; /* Yeni header yüksekliğine göre ayarlandı */
    padding: 4rem 0 2rem; /* Üstten padding arttırıldı */
    background: #f8f8f8; /* Projeler sayfası ile tutarlı */
}

/* İletişim başlığını büyütüp belirginleştirme */
.contact-page-hero .page-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* İletişim alt başlığı */
.contact-page-hero .page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Tamamlanan projeler başlığını büyütüp belirginleştirme */
.projects-page-hero .page-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Proje detay sayfası için özel stil */
.project-detail-page-hero {
    background: #f8f8f8;
    padding: 4rem 0 2rem; /* Üstten padding arttırıldı */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 145px; /* Yeni header yüksekliğine göre ayarlandı */
    border-top: none; /* Üst çizgiyi kaldırıyoruz */
}

.project-detail-page-hero .page-title {
    font-size: 3rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Metni daha belirgin yapıyoruz */
}

.project-detail-page-hero .page-subtitle {
    font-size: 1.3rem;
    color: #666;
}

/* Alt başlığı biraz daha yumuşak bir renkte gösterme */
.projects-page-hero .page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

/* About Hero with Background Slider */
.about-hero {
    position: relative;
    min-height: 60vh; /* shorter than full viewport so it doesn't cover whole site */
    background: transparent;
    color: white;
    padding-top: 145px; /* space for fixed header */
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 2;
}

.hero-background-slider {
    position: absolute; /* contained inside the hero section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-slider .slide {
    position: absolute; /* position inside the hero */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 15s ease-in-out;
    transform: scale(1);
}

.hero-background-slider .slide.active {
    opacity: 1;
    animation: zoomEffect 15s ease-in-out infinite;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute; /* contained inside hero */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.about-hero .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center; /* merkezi başlık daha uygun */
    padding: 100px 20px; /* içerik için yeterli boşluk */
}

/* About Section Styles */
.about-section {
    padding: 4rem 0;
    position: relative;
    z-index: 10; /* Daha yüksek z-index değeri */
    background: white; /* İçeriğin beyaz arka planını garantileyelim */
    border-top-left-radius: 30px; /* Yumuşak geçiş için yuvarlatılmış köşeler */
    border-top-right-radius: 30px;
}

/* Centered about section for homepage */
.about-section-centered {
    padding: 5rem 0;
}

.about-content-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content-centered .about-description {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #4a4a4a;
}

.section-title.text-center {
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85); /* Footer ile aynı arka plan rengi */
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-radius: 15px;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Values Section */
.values-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    color: #888888;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background: #fff; /* Beyaz arka plan */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-details {
    margin-bottom: 10px;
}

.project-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.project-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #f0f0f0;
}

.view-project-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background: #888888;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-project-btn:hover {
    background: #999999;
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.project-status.ongoing {
    background: #b8860b;
}

.project-status.completed {
    background: #708090;
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.project-location {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #888888, #999999);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888888;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.project-awards {
    margin-top: 1rem;
}

.award {
    display: inline-block;
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #4a4a4a;
    margin-right: 0.5rem;
}

/* Project Detail Page Styles */
.project-detail-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.project-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-detail-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-properties {
    margin-top: 1.5rem;
}

.property-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.property-item:last-child {
    border-bottom: none;
}

.property-label {
    font-weight: 600;
    color: #4a4a4a;
}

.property-value {
    color: #888888;
}

.project-detail-description {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-detail-description p {
    margin-top: 1rem;
    line-height: 1.7;
    color: #555;
}

.project-detail-gallery {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.back-to-projects {
    text-align: center;
    margin-top: 2rem;
}

/* Filter Section - Kaldırıldı
.filter-section {
    padding: 2rem 0;
    background: #f8f8f8;
    border-bottom: 1px solid #eaeaea;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #888888;
    background: transparent;
    color: #888888;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #888888;
    color: white;
}
*/

/* Timeline Styles */
.project-timeline {
    margin-top: 4rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #888888;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #888888;
    border-radius: 50%;
}

.timeline-date {
    font-weight: 600;
    color: #888888;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Minimal contact section for homepage */
.contact-section-minimal {
    padding: 5rem 0;
    background: #fff; /* Projeler bölümü ile aynı beyaz arka plan */
}

.contact-info-minimal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-item-minimal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon-minimal {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.contact-text p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.contact-form-wrapper {
    background: white;
    padding: 70px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 74, 74, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

/* Map Section */
.map-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container {
    height: 100%;
    min-height: 650px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.directions-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.directions-btn {
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.directions-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.directions-btn span {
    font-size: 16px;
}

/* Contact Info Bottom Section */
.contact-info-bottom {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-details p + p {
    margin-top: 4px;
}

/* Footer */
.footer {
    background: #232323; /* Solid dark gray/black background */
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 160px; /* Logo boyutunu %25 artırdık (100px -> 125px) */
    width: auto;
    object-fit: contain;
    background-color: transparent !important; /* Arka plan rengi olmayacak */
}

.footer-section {
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff; /* Daha parlak başlıklar */
    font-size: 1.4rem;
}

.footer-section p {
    color: #f0f0f0; /* Daha parlak yazı rengi */
    font-size: 1.5rem;
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #f0f0f0; /* Daha parlak link rengi */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0077cc; /* Header link hover rengiyle uyumlu mavi */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Daha belirgin bir çizgi */
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 1.1rem;
    background: #232323; /* Match the footer background */
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .about-hero .page-title {
        font-size: 3.5rem;
        letter-spacing: 1px;
    }
    
    .about-hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-minimal {
        flex-direction: column;
        gap: 2rem;
    }
    
    .form-map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info-bottom {
        padding: 30px 20px;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    .directions-wrapper {
        position: static;
        padding: 15px;
        background: #f8f9fa;
        text-align: center;
    }
    
    .directions-btn {
        display: inline-flex;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobil cihazlar için zorla kurallar */
@media screen and (max-width: 1024px) {
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 4px !important;
    }
}

/* iPhone 14 Pro Max ve benzer cihazlar için */
@media screen and (max-width: 430px) {
    .header {
        height: 70px !important;
        padding: 0 0.8rem !important;
    }
    
    .logo-img {
        height: 45px !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        padding: 0.6rem !important;
        min-width: 35px !important;
        min-height: 35px !important;
    }
    
    .mobile-menu-btn span {
        width: 22px !important;
        height: 2.5px !important;
    }
    
    .mobile-menu-overlay {
        padding-top: 70px !important;
    }
}

/* Debug için - hamburger menü her zaman görünsün mobilde */
@media screen and (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 6px !important;
    }
    
    .nav-menu {
        display: none !important;
        visibility: hidden !important;
    }
}

/* --- Kurumsal sayfalar için tam ekran animasyonlu hero --- */
/* Bu kurallar yalnızca body.about-page olduğunda aktif olur */
body.about-page .header {
    background: rgba(0, 0, 0, 0.7) !important; /* Ana sayfadaki gibi koyu saydam */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* header her zaman üstte */
}

body.about-page .header .nav-link,
body.about-page .header .dropdown-trigger,
body.about-page .header .dropdown-link {
    color: white !important;
}

/* Kurumsal sayfalarda hover efektleri */
body.about-page .header .nav-link:hover {
    color: #0077cc !important;
}

body.about-page .header .dropdown-trigger:hover {
    color: #0077cc !important;
}

body.about-page .header .dropdown-link:hover {
    color: #0077cc !important;
}

body.about-page .about-hero {
    position: relative; /* fixed yerine relative - scroll ile birlikte hareket eder */
    width: 100%;
    height: 100vh; /* tam ekran */
    padding-top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0; /* header için boşluk yok, çünkü header fixed */
}

body.about-page .hero-background-slider {
    position: absolute; /* fixed yerine absolute - hero ile birlikte hareket eder */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

body.about-page .hero-background-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 15s ease-in-out;
    transform: scale(1);
}

body.about-page .hero-background-slider .slide.active {
    opacity: 1;
    animation: zoomEffect 15s ease-in-out infinite;
}

body.about-page .hero-overlay {
    position: absolute; /* fixed yerine absolute - hero ile birlikte hareket eder */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

body.about-page .about-hero .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 0px 20px 60px; /* Yukarı almak için padding-top'u düşürüyoruz */
    color: white;
}

/* İçerik bölümü (main) kaymaması için kurumsal sayfalarda main'e üst boşluk KALDIRILDI */
body.about-page main {
    margin-top: 0; /* hero artık normal akışta olduğu için boşluğa gerek yok */
}

/* --- Full-screen hero for homepage --- */
body.home-full-hero .header {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

body.home-full-hero .header .nav-link,
body.home-full-hero .header .dropdown-trigger,
body.home-full-hero .header .dropdown-link {
    color: white !important;
}

body.home-full-hero .hero {
    position: fixed; /* fullscreen hero */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    overflow: hidden;
}

body.home-full-hero .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* Ensure the hero's inner content sits above the overlay */
body.home-full-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding-top: 100px; /* leave room for the fixed header */
}

/* If the hero uses .hero-background-slider, make slides fill viewport */
body.home-full-hero .hero-background-slider,
body.home-full-hero .hero-background-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

/* Push main content below the fullscreen hero so it appears after scroll */
body.home-full-hero main {
    margin-top: 100vh;
}

/* Make buttons and hero text more visible */
body.home-full-hero .hero-title {
    color: white;
    text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}

body.home-full-hero .hero-description {
    color: rgba(255,255,255,0.9);
}

/* Small screens adjustments */
@media (max-width: 768px) {
    /* Ana sayfa full hero mobil */
    body.home-full-hero .hero-content { 
        padding-top: 80px; 
    }
    
    body.home-full-hero main { 
        margin-top: 80vh; 
    }
    
    /* Kurumsal sayfa mobil düzenlemesi */
    body.about-page .header {
        height: 80px !important;
        padding: 0 1rem !important;
    }
    
    body.about-page .about-hero {
        height: 60vh !important; /* Mobilde daha küçük hero */
        padding-top: 80px !important;
        padding-bottom: 1rem !important;
    }
    
    body.about-page .about-hero .page-hero-content {
        padding: 20px 20px 40px !important;
        text-align: center !important; /* Mobilde merkezi hizalama */
    }
    
    body.about-page .page-title {
        font-size: 2rem !important;
    }
    
    body.about-page .page-subtitle {
        font-size: 1rem !important;
    }
    
    /* Kurumsal sayfa hero background slider mobil */
    body.about-page .hero-background-slider,
    body.about-page .hero-background-slider .slide {
        height: 60vh !important;
    }
    
    body.about-page .hero-overlay {
        height: 60vh !important;
    }
}
