/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* Navbar Stilleri */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: #007bff;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Hizmetler Section */
.services {
    padding: 5rem 2rem;
    text-align: center;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* İletişim Section */
.contact {
    padding: 5rem 2rem;
    background: #f8f9fa;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.social-button:hover {
    transform: scale(1.05);
}

.whatsapp {
    background: #25D366;
}

.instagram {
    background: #E4405F;
}

/* BURAYI EKLE: LinkedIn Mavisi */
.linkedin {
    background: #0077b5;
}
.social-button.linkedin {
    background-color: #0077b5 !important; /* Rengi zorla uygula */
    color: #ffffff !important;            /* Yazıyı beyaz yap */
    border: 1px solid #0077b5;            /* Çerçeve ekle */
}

/* Tıklayınca rengi değişsin */
.social-button.linkedin:hover,
.social-button.linkedin:active {
    background-color: #005582 !important;
    transform: scale(1.05);
}
/* Footer */
footer {
    background: #333;
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
/* Footer Kurumsal İbare Düzenlemesi */
.corporate-badge {
    margin: 1.5rem 0; /* Üstten ve alttan boşluk */
    font-size: 1.1rem;
    color: #ccc; /* Hafif gri ton */
}

.corporate-badge a {
    color: #fff; /* Link beyaz olsun */
    font-weight: 700; /* Kalın font */
    text-decoration: none;
    border-bottom: 1px dotted #fff; /* Altına ince şık bir çizgi */
    transition: all 0.3s ease;
}

.corporate-badge a:hover {
    color: #007bff; /* Üzerine gelince mavi olsun */
    border-bottom-color: #007bff;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7; /* Telif yazısı biraz daha sönük dursun */
}
.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.social-media a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

/* Logo Text Stili */
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Hakkımızda Section */
.about {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 2rem;
    color: #333;
}
/* MOBİL DÜZELTME KODU */
 
.about-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

/* Referanslar Section */
.references {
    padding: 5rem 2rem;
    background: white;
}

.references h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.reference-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.reference-card {
    background: white;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    display: block;
    position: relative;
}

.reference-card::after {
    content: "Siteyi Ziyaret Et →";
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 10px;
    text-align: center;
    transition: bottom 0.3s ease;
}

.reference-card:hover::after {
    bottom: 0;
}

/* GÜNCELLENMİŞ CSS - Hem Dolsun Hem Sığsın */
.reference-image {
    width: 100%;
    height: 320px; /* Yüksekliği 200px'den 160px'e çektik ki geniş resimler tam otursun */
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.reference-image img {
    width: 100%;
    height: 100%;
     object-position: center top; /* Resmin üst/orta kısmına odaklanır (Genelde logolar oradadır) */
    transition: transform 0.5s ease;
}

 
.reference-card:hover .reference-image img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.reference-card h3 {
    color: #007bff;
    margin: 1rem 0;
    padding: 0 1rem;
}

.reference-card p {
    color: #666;
    font-size: 0.9rem;
    padding: 0 1rem 1.5rem;
}

/* Hamburger Menu Stili */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    /* Navbar */
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Hero Section */
    .hero {
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Hizmetler Section */
    .card-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    /* Hakkımızda Section */
    .about-content {
        padding: 0 20px;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    /* Referanslar Section */
    .reference-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 20px;
    }

    /* İletişim Section */
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-button {
        width: 80%;
        margin: 0 auto;
        justify-content: center;
    }

    /* Footer */
    .footer-content {
        padding: 0 20px;
    }
}

/* Tablet için ek düzenlemeler */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .reference-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: 3rem 1rem;
    }
} 
/* ... Önceki kodlar aynı ... */

/* Yeni Eklenen Stiller */

/* Page Header (Alt Sayfalar İçin) */
.page-header {
    height: 50vh; /* Hero'dan daha kısa */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2015');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-content p {
    font-size: 1.2rem;
}

/* Secondary Button (Tümünü Gör butonu için) */
.secondary-btn {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.secondary-btn:hover {
    background: #007bff;
    color: white;
}

/* Referans Sayfası Grid Ayarı */
.references.full-page {
    background: #f8f9fa;
    padding-top: 5rem;
}

.references.full-page .reference-cards {
    /* Daha sıkı bir grid yapısı için gerekirse ayar yapabilirsin */
    row-gap: 3rem; 
}

/* Aktif Link Rengi */
.nav-link.active {
    color: #007bff;
    font-weight: 700;
}

/* Responsive Düzeltmeler */
@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        margin-top: 60px; /* Mobil menü payı */
    }
    .header-content h1 {
        font-size: 2.5rem;
    }
}
/* =========================================
   SPONSOR/PARTNER KAYAN ŞERİT (MARQUEE)
   ========================================= */
.sponsors-wrapper {
    background-color: #ffffff; 
    padding: 30px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    /* Hem üste hem alta gölge eklendi */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 -4px 6px rgba(0,0,0,0.05); 
    z-index: 10;
}
/* Şeridin sağ ve sol kenarlarına yumuşak geçiş (fade) efekti ekler */
.sponsors-wrapper::before,
.sponsors-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.sponsors-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}
.sponsors-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.sponsors-track {
    display: flex;
    align-items: center;
    width: max-content; /* Şeridin genişliğini logolara göre otomatik hesaplar */
    animation: scrollSponsors 20s linear infinite; 
}

/* Fareyle üzerine gelince kayma dursun istersen bu kodu kullanabilirsin */
.sponsors-wrapper:hover .sponsors-track {
    animation-play-state: paused;
}

.sponsor-logo {
    height: 60px; /* Logoların yüksekliği */
    width: auto;
    margin: 0 40px; /* Logolar arası boşluk */
    object-fit: contain;
    filter: grayscale(100%); /* Logoları siyah/beyaz yapar, daha profesyonel durur */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Logonun üzerine gelince renkli ve belirgin olsun */
.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Animasyon Keyframes */
@keyframes scrollSponsors {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Yarı yola kadar kaydır, sonra başa dönecek (Sonsuz döngü taktiği) */
        transform: translateX(-50%);
    }
}

/* Mobil cihazlar için boyutlandırma */
@media (max-width: 768px) {
    .sponsor-logo {
        height: 40px;
        margin: 0 20px;
    }
    .sponsors-wrapper::before,
    .sponsors-wrapper::after {
        width: 50px; /* Mobilde fade efektini küçült */
    }
}