
/* Genel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo Boyutlandırma ve Hizalama */
.logo-img {
    max-width: 200px; /* Logo boyutunu isteğe göre ayarla */
    height: auto;
}

/* Navbar Özelleştirme */
.navbar {
    padding: 10px 0; /* Üst ve yan boşluk */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar-brand{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    position: relative;
}

/* Menü Öğeleri */
.nav-link {
    color: #4B0082; /* Menü öğeleri beyaz */
    font-weight: bold;
    font-size: medium;
    font-style: italic;
    margin: 0 15px; /* Öğeler arası boşluk */
    position: relative; /* Alt çizgi efekti için */
    transition: all 0.3s ease; /* Animasyon için geçiş efekti */
}

/* Hover ve Focus Efekti */
.nav-link:hover,
.nav-link:focus {
    color: #2C1A4D; /* Logodan mavi tonu */
    transform: scale(1.05); /* Hafif büyütme efekti */
}

/* Alt Çizgi Efekti (Hover ve Focus için) */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #2C1A4D; /* Alt çizgi rengi (logodan mavi) */
    bottom: -5px; /* Yazının altına yerleştir */
    left: 0;
    transition: width 0.3s ease; /* Çizgi animasyonu */
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%; /* Hover ve focus'ta çizgi tam genişlik */
}


/* Geniş Header (Hero Section) */
.hero-header {
    min-height: 80vh; /* Minimum yükseklik */
    background-image: url('img/yel1.png');
    background-size: cover;
    /*background: linear-gradient(135deg, #4B0082, #1E3A8A);*/
    display: flex;
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
    padding: 20px; /* İç boşluk */
}

/* Slogan Stili */
.slogan {
    font-size: 3.5rem; /* Büyük yazı boyutu */
    font-weight: bold;
    color: #FFFFFF; /* Yazı rengi beyaz */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5); /* Daha belirgin gölge */
    font-family: Arial, sans-serif; /* Güvenli bir font */
    animation: fadeInUp 1.5s ease forwards; 
}
.slogan_iki {
    font-size: 1.5rem; /* Büyük yazı boyutu */
    font-weight: bold;
    color: #FFFFFF; /* Yazı rengi beyaz */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5); /* Daha belirgin gölge */
    font-family: Arial, sans-serif; /* Güvenli bir font */
}



/* Hizmetlerim Bölümü */
.services {
    background-color: #F9F9F9; /* Hafif gri arka plan */
    padding: 50px 0; /* Üst ve alt boşluk */
}

/* Bölüm Başlığı */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #4B0082; /* Koyu mor */
    font-family: 'Poppins', sans-serif;
    margin-bottom: 40px;
}

.sec-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF; /* Koyu mor */
    font-family: 'Poppins', sans-serif;
    margin-bottom: 40px;
}
/* Hizmet Kartları */
.service-card {
    background-color: #FFFFFF; /* Beyaz arka plan */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Animasyon için başlangıçta görünmez */
    animation: fadeIn 1s ease forwards; /* Fade-in animasyonu */
    height: 150px;
}

.service-card-1 {
    background-color: #FFFFFF; /* Beyaz arka plan */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Animasyon için başlangıçta görünmez */
    animation: fadeIn 1s ease forwards; /* Fade-in animasyonu */
    height: 200px;
}

/* Kart Animasyon Gecikmeleri */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }

/* Hover Efekti */
.service-card:hover {
    transform: translateY(-10px); /* Hafif yukarı kalkma */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Daha belirgin gölge */
}

/* Hizmet İkonu */
.service-icon {
    font-size: 2.5rem;
    color: #FF69B4; /* Pembe */
    margin-bottom: 15px;
}

/* Hizmet Başlığı */
.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4B0082; /* Koyu mor */
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

/* Hizmet Açıklaması */
.service-description {
    font-size: 1rem;
    color: #666; /* Gri ton */
    font-family: 'Poppins', sans-serif;
}

.service-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 10px;
    background-color: #4B0082; /* Pembe */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-btn:hover {
    background-color: #8c3ab2; /* Koyu mor */
    transform: scale(1.05); /* Hafif büyütme efekti */
}

/* Portfolyo Önizleme Bölümü */
.portfolio-preview {
    background-color: #F9F9F9; /* Beyaz arka plan */
    padding: 50px 0;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(191, 140, 227, 0.8); /* Koyu mor, yarı şeffaf */
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.portfolio-description {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.portfolio-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4B0082; /* Pembe */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.portfolio-btn:hover {
    background-color: #8c3ab2; /* Koyu mor */
}

.see-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #4B0082; /* Koyu mor */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.see-more-btn:hover {
    background-color: #8c3ab2; /* Pembe */
    transform: scale(1.05);
}

/* Portfolyo Bölümü */
.portfolio {
    background-color: #F9F9F9; /* Hafif gri arka plan */
    padding: 50px 0;
}

/* Filtreleme Butonları */
.portfolio-filters {
    margin-bottom: 40px;
}
.filter-btn {
    background-color: #FFFFFF;
    border: 1px solid #4B0082; /* Koyu mor */
    color: #4B0082;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #4B0082; /* Koyu mor */
    color: #FFFFFF;
}

/* Portfolyo Öğeleri */
.portfolio-items {
    display: flex;
    flex-wrap: wrap;
}

.portfolio-item {
    display: block;
    transition: all 0.3s ease;
}
/* Hakkımızda Tanıtım Bölümü */
.about-intro {
    background-color: #F9F9F9; /* Hafif gri arka plan */
    padding: 50px 0;
}

.about-intro .col-lg-6 {
    display: flex;
    flex-direction: column; /* İçeriği dikeyde sırala */
    justify-content: center; /* Dikeyde ortala */
    align-items: flex-start; /* Yatayda sola hizala */
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Misyon ve Vizyon Bölümü */
.mission-vision {
    background-color: #F9F9F9;
    padding: 50px 0;
}

.mission-vision-content {
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.mission-vision-content:nth-child(1) { animation-delay: 0.2s; }
.mission-vision-content:nth-child(2) { animation-delay: 0.4s; }

.mission-vision-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.mission-vision-img:nth-child(1) { animation-delay: 0.2s; }
.mission-vision-img:nth-child(2) { animation-delay: 0.4s; }

.mission-vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4B0082; /* Koyu mor */
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.mission-vision-description {
    font-size: 1rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

/* İletişim Bölümü */
.contact {
    background:#4B0082;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.contact-form-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 40px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    max-width: 600px; /* Formun genişliğini biraz daralttık */
}

.contact-form-card .form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #4B0082; /* Koyu mor */
    font-size: 1rem;
}

.contact-form-card .form-control {
    border-radius: 8px;
    border: 2px solid #E0E0E0;
    font-family: 'Poppins', sans-serif;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card .form-control:focus {
    border-color: #8c3ab2; /* Pembe */
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
    outline: none;
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #4B0082; /* Koyu mor */
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
    background-color: #8c3ab2; /* Pembe */
    transform: translateY(-2px);
}

.contact-info {
    color: #FFFFFF;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.2s;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-info-item {
    font-size: 1.1rem;
    color: #E0E0E0;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info-item i {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover i {
    transform: scale(1.2);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #25D366; /* WhatsApp yeşili */
    color: #FFFFFF;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.whatsapp-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.whatsapp-btn:hover {
    background-color: #1DA851; /* Koyu WhatsApp yeşili */
    transform: translateY(-2px);
}

.social-icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    color: #4B0082; /* Koyu mor */
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icon-circle i {
    font-size: 1.2rem;
}

.social-icon-circle:hover {
    background-color: #8c3ab2; /* Pembe */
    color: #FFFFFF;
    transform: scale(1.1);
}

/* Proje Detayları Bölümü */
.project-detail {
    background-color: #4B0082;
    padding: 0px 0;
    position: relative;
    overflow: hidden;
}

.project-description {
    font-size: 1.1rem;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.img-fluid {
    margin-top: 20px;
    width: 100%;
    height:400px;
    object-fit: contain;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.4s;
}



/* Footer Bölümü */
.footer {
    background-color: black;
    color: #FFFFFF;
    padding: 50px 0;
}

/* Footer Açıklama */
.footer-description {
    font-size: 1rem;
    color: #E0E0E0; /* Hafif gri-beyaz */
    font-family: 'Poppins', sans-serif;
}

/* Footer Başlık */
.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4B0082; /* Pembe */
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

/* Footer Bağlantılar */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #E0E0E0;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8c3ab2; /* Mavi */
}

/* Footer İletişim */
.footer-contact {
    font-size: 1rem;
    color: #E0E0E0;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

/* Sosyal Medya İkonları */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.5rem;
    color: #FFFFFF;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2); /* Büyüme efekti */
    color: #8c3ab2; /* Pembe */
}

/* Telif Hakkı */
.footer-copyright {
    font-size: 0.9rem;
    color: #E0E0E0;
    font-family: 'Poppins', sans-serif;
}

/* Fade-In Animasyonu (Hizmet Kartları için) */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil Uyum */
@media (max-width: 991px) {
    .navbar-brand {
        display: none !important; /* Logoyu 991px ve altında gizle, önceliği artır */
    }

    .navbar-toggler {
        z-index: 1001; /* Toggle butonu en üstte */
    }

    .navbar-collapse {
        background: rgba(191, 140, 227, 0.8);
       /* background: linear-gradient(90deg, #a1c9b3,#dfc3c3,#db9999);*/
        position: absolute;
        top: 50px; /* Logo gizlendiği için menü daha yukarıda açılabilir */
        left: 0;
        right: 0;
        z-index: 999; /* Menü, diğer içeriklerin üstünde */
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
    }

    .navbar-nav {
        text-align: center; /* Menü elemanlarını ortala */
    }

    .nav-item {
        margin: 5px 0; /* Menü elemanları arasında boşluk */
    }

    .nav-link {
        color: #4B0082 !important; /* Menü link rengi */
        font-size: 1.1rem;
        margin: 5px 0; /* Daha küçük boşluk */
    }

    .nav-link::after {
        display: none; /* Mobil cihazlarda alt çizgi efektini kaldır */
    }

    .hero-header {
        min-height: 50vh; /* Mobilde daha kısa */
    }

    .slogan {
        font-size: 2rem; /* Mobilde yazı boyutu küçülür */
    }

    .hero-header {
        min-height: 50vh; /* Mobilde daha kısa */
    }

    .slogan {
        font-size: 2rem; /* Mobilde yazı boyutu küçülür */
    }

    .subtitle {
        font-size: 1rem; /* Mobilde alt slogan boyutu küçülür */
    }

    .section-title {
        font-size: 2rem; /* Mobilde başlık boyutu küçülür */
    }

    .service-card {
        padding: 15px; /* Mobilde daha az iç boşluk */
    }

    .service-title {
        font-size: 1.3rem; /* Mobilde başlık boyutu küçülür */
    }

    .service-description {
        font-size: 0.9rem; /* Mobilde açıklama boyutu küçülür */
    }

    .about-description {
        font-size: 1rem;
    }

    .about-img {
        margin-top: 20px;
    }
    .mission-vision-img {
        height: 200px;
        margin-bottom: 20px;
    }

    .mission-vision-content {
        padding: 10px;
    }

    .mission-vision-title {
        font-size: 1.3rem;
        text-align: center;
    }
    .section-title{
        text-align: center;
    }

    .mission-vision-description {
        font-size: 0.9rem;
    }

    .sec--title {
        font-size: 2rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .project-img {
        height: 300px;
        margin-top: 20px;
    }

    .contact-info{
        display: flex;
        flex-direction: column; /* Öğeler alt alta dizilir */
        align-items: center; /* Yatayda ortalar */
        justify-content: center;
        text-align: center;
        margin-top: 20px;
    }
    .col-lg-6 {
        display: flex;
        justify-content: center; /* Yatayda ortalar */
        align-items: center; /* Dikeyde ortalar */
    }
    .contact-form-card {
        width: 100%; /* Formun genişliğini korur */
        max-width: 600px; /* Formun çok geniş olmasını engeller */
        padding: 20px; /* Kenar boşlukları için */
    }

    .contact-btn {
        margin: 0 auto; /* Butonu yatayda ortalar */
        display: block; /* Butonun tam genişlik almamasını sağlar */
    }

    /* Footer Mobil Uyum */
    .footer-logo {
        text-align: center;
    }

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

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

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

    .social-icons {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    
}

@media (max-width: 480px) {
    .slogan {
        font-size: 1.5rem;
}

.sec-title{
    font-size: 1.5rem;
}

.slogan_iki{
    font-size: 1rem;
}

.section-title{
    font-size: 1.5rem;
}
}

@media (max-width: 770px) {
    .footer-title{
        text-align: center;
    }

}