/* --- GENEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* --- NAVİGASYON (HEADER) --- */
header {
    background: #111;
    color: #fff;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between; /* Logo sola, Hakkımızda sağa */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e67e22; /* Karahan Spor Turuncusu */
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #e67e22;
    padding: 8px 20px;
    border-radius: 25px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #e67e22;
    color: #fff;
}

/* --- HERO BÖLÜMÜ (ANA SAYFA) --- */
#hero {
    height: 85vh;
background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("tartan-zemin-calismasi.png") center/cover no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* --- BUTONLAR --- */
.btn {
    background: #e67e22;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn:hover {
    background: #d35400;
    transform: scale(1.05);
}

.btn-full {
    width: 100%;
    cursor: pointer;
}

/* --- HİZMETLER (KARTLAR) --- */
#hizmetler {
    padding: 80px 5%;
    text-align: center;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* --- FORM SAYFALARI (TEKLİF, HAKKIMIZDA, BAŞARI) --- */
.form-bg {
    background: #f4f4f4;
    padding-top: 120px; /* Header'ın altında kalmaması için */
    min-height: 100vh;
}

.form-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .card-container { flex-direction: column; align-items: center; }
}

/* Butonları yan yana dizer */
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

/* Buton tasarımı */
.nav-btn {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #e67e22;
    transition: 0.3s;
}

/* Teklif Al butonu turuncu olsun */
.nav-btn.orange {
    background: #e67e22;
}

/* Galeri Düzeni */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    padding: 20px;
}

/* Proje Kartı */
.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Fotoğrafın bozulmadan kutuyu doldurmasını sağlar */
}

.project-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.project-info strong {
    color: #333;
    font-size: 1.1rem;
}

.project-info span {
    color: #e67e22;
    font-size: 0.9rem;
    margin-top: 5px;
}


/* --- YENİ İNTERAKTİF PROJELER --- */
.proje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 35px;
    padding: 100px 5% 50px; /* Üstten 100px verdik ki header'ın altında kalmasın */
    max-width: 1400px;
    margin: 0 auto;
}

.proje-kart {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
}

.proje-kart:hover {
    transform: scale(1.03) translateY(-15px);
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.25);
    border-color: #e67e22;
}

.proje-kart img {
    width: 100%;
    height: 320px; 
    object-fit: cover;
    transition: 0.5s;
}

.proje-kart:hover img {
    transform: scale(1.1); /* Resim hafifçe yaklaşır */
}

.proje-kart-icerik {
    padding: 25px;
    text-align: left;
}

.proje-kart h3 {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
}

.proje-kart p {
    color: #666;
    margin-bottom: 20px;
}

/* Alt Yönlendirme Alanı Stili */
.alt-yonlendirme {
    background: #1a1a1a; /* Koyu, profesyonel arka plan */
    padding: 60px 5%;
    margin-top: 50px;
    text-align: center;
    border-radius: 20px 20px 0 0; /* Sadece üst köşeler yuvarlak */
    color: #fff;
}

.yonlendirme-icerik h2 {
    color: #e67e22; /* Karahan Turuncusu */
    font-size: 2rem;
    margin-bottom: 15px;
}

.yonlendirme-icerik p {
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

/* Butonu Dev ve İnteraktif Yapıyoruz */
.projeler-link-btn {
    display: inline-block;
    padding: 18px 45px;
    background-color: #e67e22;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
    border: 2px solid transparent;
}

.projeler-link-btn:hover {
    background-color: transparent;
    border-color: #e67e22;
    color: #e67e22;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.4);
}






/* Mobil Düzenlemeleri */
@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Elemanları alt alta dizir */
        gap: 15px; /* Aralarına mesafe koyar */
        padding: 15px 0;
    }

    .logo a {
        font-size: 1.3rem; /* Mobilde logoyu biraz küçültelim */
    }

    nav ul {
        flex-wrap: wrap; /* Butonlar sığmazsa aşağı kaysın */
        justify-content: center;
    }

    nav ul li a {
        padding: 6px 15px; /* Butonları biraz daraltalım */
        font-size: 0.9rem;
    }
}