/* 1. GENEL AYARLAR VE GEÇİŞLER */
html {
    scroll-behavior: smooth;
    /* Menü yüksekliği kadar (yaklaşık 80px) kaydırma payı ekler, 
       böylece Hakkımızda'ya basınca başlık menünün altında kalmaz */
    scroll-padding-top: 80px; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.transition-300 {
    transition: all 0.3s ease-in-out;
}

/* 2. NAVBAR VE NAVİGASYON */
.navbar-brand {
    color: #b89253 !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #b89253 !important;
    transform: translateY(-1px);
}

/* 3. HERO (GİRİŞ) ALANI - BEYAZ BOŞLUK DÜZELTİLDİ */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../img/inşaatgörseli.jpg') no-repeat center center;
    background-size: cover;
    
    /* 100vh ekranın tamamını kaplar, altındaki beyaz boşluğu yok eder */
    height: 100vh; 
    width: 100%;
    margin-bottom: 0 !important; /* Alt boşluğu kesin olarak sıfırlar */
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.hero-line {
    width: 80px;
    height: 4px;
    background-color: #b89253;
    margin: 0 auto 30px;
}

/* 4. BÖLÜM AYARLARI */
section {
    /* Bölümlerin birbirine yapışmaması ve şık durması için */
    padding: 80px 0;
    margin: 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-wrap h2 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #b89253;
    margin: 10px auto 0;
}

/* 5. HİZMET KARTLARI */
.service-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 12px;
    height: 320px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.service-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
    z-index: 2;
}

.service-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card:hover .service-bg {
    transform: scale(1.1);
}

.service-card:hover .service-content h5 {
    color: #b89253;
}

/* 6. PROJELER */
.project-img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.project-status {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #b89253;
    margin-bottom: 5px;
    display: block;
}

/* 7. REFERANSLAR VE LOGOLAR */
.grayscale-logo {
    filter: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.grayscale-logo:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* 8. BUTONLAR */
.btn-warning {
    background-color: #b89253 !important;
    border: none !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* 9. FOOTER VE İMLEÇ DÜZENLEMESİ */
/* İmleci/İkonu kaldırmak için kullanılan sınıfı gizle (eğer HTML'den silemezsen) */
.footer-icon-circle i.bi-geo-alt-fill {
    display: none !important;
}

.footer-icon-circle {
    width: 40px;
    height: 40px;
    background-color: rgba(184, 146, 83, 0.15);
    color: #b89253;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(184, 146, 83, 0.3);
}

footer.bg-dark {
    border-top: 4px solid #b89253 !important;
}

/* 1. Ok Simgelerini Küçült ve Beyaz Yap */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent !important;
    width: 2rem; /* Boyutu küçülttük (3.5rem'den 2rem'e) */
    height: 2rem;
    /* Saf beyaz ok ikonları */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
    transition: transform 0.2s ease;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* 2. Arka Planı Tamamen Şeffaf Tut ve Hafif Gölgelendir (Beyazın her zeminde görünmesi için) */
.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Tıklama alanını daralttık */
    opacity: 0.4; /* Normalde çok şeffaf */
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.5)); /* Beyaz okun koyu resimlerde kaybolmaması için hafif gölge */
}

/* 3. Üzerine Gelince Belirginleşsin */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

/* ŞAKAAA */

/* Proje görsellerini her zaman merkezde tutar */
.project-img {
    width: 100%;
    height: 400px; /* Sabit yükseklik veriyoruz ki kaymasın */
    object-fit: cover; /* Görseli bozmadan alanı doldurur */
    object-position: center; /* Görselin tam merkezine odaklanır */
    display: block;
}