/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&family=Lato:wght@400;700&display=swap');

/* Tema Renkleri */
:root {
    --primary-color: #1a1a1a; /* Yaklaşık siyah */
    --secondary-color: #2a2a2a; /* Koyu gri */
    --accent-color: #e74c3c; /* Kırmızı ton */
    --text-color: #f5f5f5; /* Çok açık gri / Beyaz */
    --soft-gray: #b0b0b0; /* Yumuşak gri */
    --divider-color: #444444; /* İnce çizgi rengi */
    --background-overlay: rgba(0, 0, 0, 0.6); /* Arka plan kaplama */
    --hover-color: #ffffff; /* Hover durumunda beyaz */
    
    /* Border Değişkenleri */
    --header-border-color: #ffffff; /* Beyaz renk */
    --header-border-width: 1px; /* İnce çizgi */
    --header-padding-bottom: 10px; /* Padding */
}

/* Genel Stil */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--secondary-color); /* Daha koyu arka plan */
    color: var(--text-color); /* Açık gri metin */
    position: relative;
}

/* Global Box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--primary-color); /* Koyu mavi-gri */
    border-bottom: 2px solid var(--divider-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.logo img {
    width: 250px;
    height: auto;
}

/* Navigasyon Menüsü */
.navigation {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase; /* Büyük harf */
}

.nav-item:hover {
    background-color: var(--accent-color); /* Hover rengi */
    color: var(--hover-color);
    transform: scale(1.05);
}

.nav-item.active {
    background-color: var(--accent-color); /* Aktif menü rengi */
    color: var(--hover-color);
}

/* Hamburger Menü Stilleri */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    height: 4px;
    width: 30px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* Hamburger Menü Animasyonu Stilleri */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger .bar {
    transition: all 0.3s ease;
}

/* Üst Mesaj Bölümü */
.top-message-section {
    position: relative;
    width: 100%;
    padding: 60px 25px 30px;
    background: url('images/concrete-texture.jpg') center/cover no-repeat;
    margin-top: 80px;
    background-attachment: fixed;
}

.top-message-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-overlay);
    z-index: 0;
}

.top-message-content {
    position: relative;
    text-align: center;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease forwards;
}

.top-message-content h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
    color: var(--accent-color); /* Yeni başlık rengi */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-transform: uppercase; /* Büyük harf */
    font-family: 'Roboto Slab', serif;
    border-bottom: var(--header-border-width) solid var(--header-border-color);
    padding-bottom: var(--header-padding-bottom);
    display: inline-block;
}

.top-message-content h1:hover {
    color: var(--hover-color); /* Hover sırasında beyaz */
}

.top-message-content p {
    font-size: 1.3em;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
    color: var(--soft-gray); /* Daha yumuşak gri */
    font-family: 'Lato', sans-serif;
}

.top-message-content p:hover {
    color: var(--text-color); /* Hover sırasında daha açık gri */
}

/* İnce Çizgi (Divider) */
.section-divider {
    width: 80%;
    border-top: 1px solid var(--divider-color);
    margin: 0 auto 25px auto;
    opacity: 0.8;
}

/* Belirgin Ayrılmış About Bölümü */
.distinctive-section {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 50px 25px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 50px;
}

/* Kurumsal Tanıtım */
.about-us,
.about-us-main {
    text-align: center;
    color: var(--text-color);
    animation: fadeInUp 1.5s ease;
}

.about-title,
.about-title-main,
.about-us h2 {
    font-size: 3em;
    margin-bottom: 25px;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    transition: color 0.3s ease;
    border-bottom: var(--header-border-width) solid var(--header-border-color);
    padding-bottom: var(--header-padding-bottom);
    display: inline-block;
}

.about-title:hover,
.about-title-main:hover,
.about-us h2:hover {
    color: var(--hover-color);
}

.about-description,
.about-description-main,
.hizmet-item p {
    font-size: 1.3em;
    line-height: 1.8;
    margin-bottom: 50px;
    animation: fadeInUp 2s ease;
    color: var(--soft-gray);
    font-family: 'Lato', sans-serif;
}

.about-description:hover,
.about-description-main:hover,
.hizmet-item p:hover {
    color: var(--text-color);
}

/* Vizyon ve Misyon */
.vision-mission-container {
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    max-width: 1200px;
    gap: 30px;
    animation: fadeInUp 2s ease;
}

.vision,
.mission {
    width: 45%;
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeInUp 2s ease;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.vision:hover,
.mission:hover {
    transform: scale(1.05);
    background-color: var(--primary-color);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
}

.vision h3,
.mission h3 {
    font-size: 2em;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    transition: color 0.3s ease;
    border-bottom: var(--header-border-width) solid var(--header-border-color);
    padding-bottom: var(--header-padding-bottom);
    display: inline-block;
}

.vision:hover h3,
.mission:hover h3 {
    color: var(--hover-color);
}

.vision p,
.mission p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--soft-gray);
    transition: color 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.vision:hover p,
.mission:hover p {
    color: var(--text-color);
}

/* Öne Çıkanlar */
.highlights {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 30px auto;
    max-width: 1200px;
    animation: fadeInUp 2s ease;
}

.highlight-item {
    width: calc(33.33% - 25px);
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 2.5s ease;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item h3 {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    border-bottom: var(--header-border-width) solid var(--header-border-color);
    padding-bottom: var(--header-padding-bottom);
    display: inline-block;
}

.highlight-item:hover {
    background-color: var(--primary-color);
    color: var(--hover-color);
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}

.highlight-item:hover h3 {
    color: var(--hover-color);
}

.highlight-item p {
    font-size: 1.1em;
    line-height: 1.5;
    color: var(--soft-gray);
    font-family: 'Lato', sans-serif;
}

.highlight-item p:hover {
    color: var(--text-color);
}

/* Hizmetler Kutucuklar */
.hizmetler-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 50px 25px;
    margin: 50px auto;
    max-width: 1200px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.5s ease;
}

.hizmet-item {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hizmet-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.hizmet-item h3 {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    border-bottom: var(--header-border-width) solid var(--header-border-color);
    padding-bottom: var(--header-padding-bottom);
    display: inline-block;
}

.hizmet-item h3:hover {
    color: var(--hover-color);
}

.feature-list {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    text-align: left;
}

.feature-item {
    position: relative;
    padding: 10px 0 10px 30px;
    margin-bottom: 12px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--soft-gray);
    font-family: 'Lato', sans-serif;
}

.feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    color: var(--text-color);
}

.feature-item:hover::before {
    background-color: var(--hover-color);
}

.hizmet-item:hover {
    background-color: var(--secondary-color);
    color: var(--hover-color);
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0,0,0,0.4);
}

.hizmet-item:hover .feature-item {
    color: var(--text-color);
}

.hizmet-item:hover .feature-item::before {
    background-color: var(--hover-color);
}

/* Instagram İkonu Bölümü - Desktop */
.instagram-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    background-color: var(--secondary-color);
    max-width: 2000px;
    margin: 0 auto;
    width: 100%;
}

.instagram-section a {
    display: inline-block;
}

.instagram-icon {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.instagram-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Büyük harfle yazılan tüm başlıklara beyaz ince border ekle */
h1, h2, h3, h4, h5, h6,
.bordered {
    border-bottom: var(--header-border-width) solid var(--header-border-color);
    padding-bottom: var(--header-padding-bottom);
    display: inline-block;
}

/* Mobil Görünüm İçin İkon Boyutunu Küçültme */
@media (max-width: 768px) {

    .about-title,
    .about-title-main {
        font-size: 2.5em;
    }

    .about-description,
    .about-description-main,
    .hizmet-item p {
        font-size: 1em;
    }

    .vision-mission-container {
        flex-direction: column;
        align-items: center;
    }

    .vision,
    .mission {
        width: 100%;
    }

    .highlights {
        flex-direction: column;
    }

    .highlight-item {
        width: 100%;
    }

    .top-message-content h1 {
        font-size: 2.5em;
    }

    .top-message-content p {
        font-size: 1em;
    }

    .hizmet-item img {
        height: 150px;
    }

    /* Hamburger Menü Görünür Hale Gelsin */
    .hamburger {
        display: flex;
    }

    /* Navigasyon Menüsünü Gizle ve Aşağı Doğru Kaydırma */
    .navigation {
        position: fixed;
        top: 80px;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 15px; /* Padding'ı azaltın */
        transition: right 0.3s ease-in-out;
        overflow: hidden; /* Overflow: hidden olarak ayarlayın */
    }

    /* Navigasyon Menüsü Aktif Olduğunda Görünür Hale Getir */
    .navigation.active {
        right: 0;
    }

    .nav-item {
        margin: 10px 0; /* Margin'ı azaltın */
        padding: 8px 15px; /* Padding'ı azaltın */
        font-size: 0.9em; /* Font boyutunu küçültün */
        width: 100%;
        text-align: center;
    }

    /* Hizmetler Kutucukları için Grid Sütunlarını Tek Sütuna Çevir */
    .hizmetler-container {
        grid-template-columns: 1fr;
    }

    /* Instagram İkonu Bölümü - Mobil */
    .instagram-section {
        padding: 20px 0;
        background-color: var(--secondary-color);
    }

    /* Resim İkonu Stil */
    .instagram-icon {
        width: 35px;
        height: 35px;
    }

    /* Büyük harfle yazılan tüm başlıklara beyaz ince border ekle */
    h1, h2, h3, h4, h5, h6,
    .bordered {
        border-bottom: var(--header-border-width) solid var(--header-border-color);
        padding-bottom: var(--header-padding-bottom);
        display: inline-block;
    }
}

/* Sayfa Kaydırmasını Engelle */
body.no-scroll {
    overflow: hidden;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
