/* --- Font Tanımlamaları --- */


/* --- Genel Ayarlar --- */

/* Sitenin yumuşak kaymasını sağlar */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    /* FuturaLT yerine Jost yaptık */
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    /* Genişliği sabitledim ki çok büyük ekranlarda dağılmasın */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    background-color: #262626;
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 1s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    /* Burger menü konumlandırması için */
}

.logo-img {
    height: 50px;
    filter: brightness(200);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-family: 'FuturaLT', sans-serif;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #5990cf;
}

.btn-call {
    background-color: #5990cf;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    white-space: nowrap;
    /* Buton yazısının alt alta inmesini engeller */
}

.btn-call:hover {
    background-color: #4a7ab0;
}

/* Burger Menü İkonu (Sadece Mobilde Görünecek) */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* Menünün üstünde kalmalı */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 1)), url('images/IMG_8458.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    padding: 0 0px; /*burası 0 20 idi*/
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 180px;
    /* Logoyu biraz daha derli toplu yaptık */
    margin-bottom: 20px;
}

.hero-text h1 {
    font-family: 'FuturaLT', sans-serif;
    font-size: 5rem;
    /* PC'de daha büyük, dolgun ve görkemli */
    color: #262626;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* Çok açılmıştı, biraz topladık */
    margin-bottom: 15px;
    font-weight: bold;
    /* Yazıyı kalınlaştırdık */
}

.hero-text .catchphrase {
    font-family: 'BrandonGrotesque', sans-serif;
    font-size: 2.2rem;
    /* Biraz daha büyüttük */
    color: #1c3d5a;
    /* Daha koyu, daha tok ve okunabilir bir lacivert */
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 1);
    /* Arkaplandan tamamen kopması için güçlü beyaz gölge */
}

/* Yeni Marka Alanı (Flexbox ile Yan Yana Dizilim) */
.brand-container {
    display: flex;
    align-items: center;
    /* Dikeyde ortala */
    gap: 25px;
    /* İkon ile yazı arası boşluk */
    padding: 0px; /*burası 20 idi*/
}

/* İkon Alanı */
/* İkon/Logo Alanı */
.brand-img {
    max-width: 150px;
    /* Logonun PC'deki boyutu. Gözüne küçük gelirse 180px veya 200px yapabilirsin */
    height: auto;
}

/* Metin Alanı */
.brand-text h1 {
    font-family: 'Teko', sans-serif;
    font-weight: 300;
    font-size: 7.5rem;
    /* 5rem'di, tam %50 oranında devasa yaptık */
    color: #262626;
    letter-spacing: 0.05em;
    line-height: 0.9;
    /* Yazı devleştiği için alt/üst boşlukları kısmak iyi durur */
    margin-bottom: 5px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.brand-text .catchphrase {
    font-family: 'Jost', sans-serif;
    font-size: 1.7rem;
    /* 1.5rem'di, sloganı da orantılı şekilde büyüttük */
    color: #5990cf;
    font-weight: 600;
    letter-spacing: 0.00em;
}

/* --- Mobilde Görünecek Ekstra Buton (PC'de Gizli) --- */
.btn-call-mobile {
    display: none;
    /* Bilgisayarda bu butonu tamamen görünmez yapar */
}

/* --- Özellikler (4'lü Alan) --- */
.features {
    background-color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid #eeeeee;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}

.feature-icon {
    font-size: 3.5rem;
    color: #5990cf;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) translateY(-5px);
}

.feature-box h3 {
    font-family: 'FuturaLT', sans-serif;
    font-size: 1.2rem;
    color: #262626;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.feature-box p {
    font-family: 'BrandonGrotesque', sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #666666;
}

/* --- Neden Biz Section --- */
.why-us {
    background-color: #262626;
    color: white;
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.why-us h2 {
    font-family: 'FuturaLT', sans-serif;
    font-size: 3rem;
    margin-bottom: 40px;
    color: #5990cf;
}

.why-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Projeler (Grid) --- */
.projects {
    padding: 100px 0;
    background-color: #f4f4f4;
}

.projects h2 {
    text-align: center;
    font-family: 'FuturaLT', sans-serif;
    font-size: 3rem;
    color: #262626;
    margin-bottom: 50px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* --- Proje Galeri Resimleri ve Üzerine Gelme (Hover) Efekti --- */
.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi kutuya en-boy oranını bozmadan sığdırır */
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    /* Fare üzerine gelince resim hafifçe büyür */
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 38, 38, 0.7);
    /* Navbar renginin saydam haliyle karartma */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Başlangıçta görünmez */
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    /* Fare üzerine gelince kararma görünür olur */
}

.gallery-overlay h3 {
    color: white;
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    transform: translateY(20px);
    /* Yazı biraz aşağıdan başlar */
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
    /* Fare gelince yazı yukarı kayarak oturur */
}

/* --- Tıklayınca Açılan Büyüteç (Modal) Ekranı --- */
.modal {
    display: none;
    /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 2000;
    /* Her şeyin üstünde olması için */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Arkayı simsiyah yapar */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin-top: 5vh;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
    /* Açılış animasyonu */
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-family: 'Jost', sans-serif;
    font-size: 1.2rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #5990cf;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 1.2rem;
}

/* --- Harita ve İletişim --- */
#contact-map {
    padding-top: 50px;
    /* Haritanın üstüne biraz boşluk */
}

.map-container {
    width: 100%;
    margin-bottom: 50px;
}

.responsive-map {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-info h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* --- Scroll Animasyon Sınıfları --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* =========================================
   MOBİL UYUMLULUK (MEDIA QUERIES)
   ========================================= */

/* Tablet ve Küçük Ekranlar İçin (992px ve altı) */
@media screen and (max-width: 992px) {

    /* Özellikler Grid 2x2 */
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil Telefonlar İçin (768px ve altı) */
@media screen and (max-width: 768px) {

    /* --- Navbar ve Burger Menü (AYNEN KALIYOR) --- */
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 80px;
        background-color: #262626;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        gap: 40px;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* --- YENİ EKLENEN KISIM: Marka ve Logo Mobil Ayarları --- */
    .brand-container {
        flex-direction: column;
        /* İkon ve yazıyı mobilde alt alta al */
        gap: 15px;
        text-align: center;
    }

    .brand-text {
        text-align: center;
        /* Mobilde yazılar ortalansın */
    }

    /* İkon/Logo Alanı */
    .brand-img {
        max-width: 100px;
        /* Mobilde logoyu biraz daha küçültüyoruz */
    }

    .brand-text h1 {
        font-size: 3.8rem;
        /* 2.2rem'di. Mobilde Teko fontunun kendini göstermesi için iyice büyüttük */
        letter-spacing: 0.05em;
        line-height: 1;
        /* Satır atlama ihtimaline karşı satır arasını sıkıştırdık */
    }

    .brand-text .catchphrase {
        font-size: 1.2rem;
        /* 1.2rem'di, telefonda artık çok daha rahat okunacak */
    }

    /* Hero İçindeki Ekstra Butonu Mobilde Göster */
    .btn-call-mobile {
        display: inline-block;
        /* Gizliliği kaldırıp görünür yapar */
        background-color: #5990cf;
        /* Mavi tema rengimiz */
        color: white;
        padding: 12px 30px;
        border-radius: 5px;
        font-family: 'Jost', sans-serif;
        font-weight: 600;
        font-size: 1.2rem;
        margin-top: 25px;
        /* Sloganla arasına nefes alacak boşluk */
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        /* Butona tıkla hissi veren hafif gölge */
    }

    .btn-call-mobile:hover {
        background-color: #4a7ab0;
    }

    /* --- Diğer Bölümler (AYNEN KALIYOR) --- */
    .why-us h2,
    .projects h2 {
        font-size: 2rem;
    }

    .why-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .responsive-map {
        height: 300px;
    }
}