/* ===========================
   CSS Custom Properties
   =========================== */
:root {
    --brand-dark: #1A0033;
    --brand-mid: #8B00FF;
    --brand-hot: #FF007A;
    --text-strong: #111827;
    --text-sub: #6B7280;
    --active: #8B00FF;
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* ===========================
   Global Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Masaüstünde tam ekran ve scrollsuz */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-strong);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

@media (max-width: 1280px) {
    .container {
        max-width: 1200px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ===========================
   Header Styles
   =========================== */
/* Tekrar eden header'ları gizle - Sadece ID'si main-site-header olanı göster */
header.site-header:not(#main-site-header) {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.brand:hover {
    opacity: 0.85;
}

.brand-logo {
    height: 75px; /* 62px * 1.2 = 74.4px -> 75px (%20 büyütüldü) */
    width: auto;
    object-fit: contain;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    transition: var(--transition);
    position: relative;
}

.nav-link .top {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.nav-link .sub {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-strong);
    margin-top: 2px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Hover & Active States */
.nav-link:hover .top,
.nav-link.is-active .top {
    color: var(--active);
}

.nav-link:hover .sub,
.nav-link.is-active .sub {
    color: var(--active);
}

/* Active state - Mor renk */
.nav-link.is-active .top,
.nav-link.is-active .sub {
    color: var(--active) !important;
}

/* Focus State (Accessibility) */
.nav-link:focus {
    outline: none; /* Kırmızı kutu kaldırıldı */
}

/* Mobile Menu Toggle (Hidden by default) */
.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle-label span {
    width: 26px;
    height: 3px;
    background: var(--text-strong);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Gradient Bars */
.gradient-bars {
    position: relative;
    width: 100%;
    height: 20px; /* 31px'ten 20px'e düşürüldü */
    background-image: url('/assets/images/header-gradient.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 16px rgba(139, 0, 255, 0.25);
}

.bar {
    display: none;
}

.bar--thin {
    display: none;
}

.bar--thick {
    display: none;
}

.gloss {
    display: none;
}

/* Mobile Top Bar */
.mobile-top-bar {
    display: none;
    width: 100%;
    height: 40px;
    background-image: url('/assets/images/header-gradient.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.mobile-top-bar-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 0 1rem;
    gap: 8px; /* İLETİŞİM ile ikonlar arası minimal boşluk */
}

.mobile-top-bar .contact-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    width: fit-content; /* Sadece text genişliği kadar */
}

.mobile-top-bar .contact-text:hover {
    opacity: 0.8;
}

.mobile-top-bar .social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.mobile-top-bar .social-link {
    color: white;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.mobile-top-bar .social-link:hover {
    opacity: 0.8;
}


/* ===========================
   Responsive Breakpoints
   =========================== */

/* 1024px - Tablet */
@media (max-width: 1024px) {
    .header-container {
        padding: 0.75rem 2rem;
    }
    
    .nav-list {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.9rem;
    }
    
    .nav-link .top {
        font-size: 11px;
        font-weight: 600;
    }
    
    .nav-link .sub {
        font-size: 11px;
        font-weight: 600;
    }
}

/* 768px - Mobile */
@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .brand-logo {
        height: 52px; /* 40px * 1.3 = 52px (%30 büyük) */
    }
    
    /* Show Hamburger Menu */
    .menu-toggle-label {
        display: flex;
    }
    
    /* Hide Navigation by default */
    .main-nav {
        position: fixed;
        top: 0; /* Top bar'ın üzerine çıkması için 0 */
        right: -100%;
        width: 50%; /* Sayfanın yarısını geçmeyecek şekilde ayarlandı */
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        padding: 80px 2rem 2rem; /* X butonu için üst boşluk */
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        overflow-y: auto;
        z-index: 2000;
    }
    
    /* Show Navigation when checkbox is checked */
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }

    /* Menü açıkken hamburger butonunu sabitle ve X pozisyonunu ayarla */
    .menu-toggle:checked ~ .menu-toggle-label {
        position: fixed;
        top: 25px;
        right: 20px;
        z-index: 2001;
    }
    
    /* Animate Hamburger Icon */
    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
        background-color: #000;
    }
    
    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background-color: #000;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem; /* Linkler arası boşluk */
    }
    
    .nav-item {
        width: 100%;
        border-bottom: none; /* Çizgiler kaldırıldı - Minimal stil */
        margin: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0;
        align-items: flex-start;
    }
    
    .nav-link .top {
        font-size: 15px;
        font-weight: 800;
        color: #1A1A1A;
        letter-spacing: -0.01em;
        margin-bottom: 4px;
    }
    
    .nav-link .sub {
        font-size: 13px;
        font-weight: 600;
        color: #666;
        margin-top: 0;
    }
    
    /* Hide bottom bars on mobile */
    .gradient-bars {
        display: none;
    }
    
    /* Show top bar on mobile */
    .mobile-top-bar {
        display: block;
    }

    /* Mobile - Sub Pages Adjustments */
    /* Tüm alt sayfalar için genel arka plan ayarları - Resmi Ezdik ama her slide için özelleştireceğiz */
    .slide-background {
        background-size: 100% 100% !important; /* Görseli ekrana tam sığdır (stretch) */
        background-position: center center !important;
    }

    /* Her Sayfa İçin Özel Mobil Görsel Ataması */
    
    /* 1. DNA'mız */
    #slide-dnamiz .slide-background {
        background-image: url('/assets/images/mobil/dna.jpg') !important;
    }

    /* 2. Yaratıcılık */
    #slide-yaraticilik .slide-background {
        background-image: url('/assets/images/mobil/yaraticilik.jpg') !important;
    }

    /* 3. Bilimle İletişim */
    #slide-bilim-iletisim .slide-background {
        background-image: url('/assets/images/mobil/bilimle.jpg') !important;
    }

    /* 4. Organizasyonel Çözümler */
    #slide-organizasyonel-cozumler .slide-background {
        background-image: url('/assets/images/mobil/organizasyonel.jpg') !important;
    }

    /* 5. Bağ Kurma */
    #slide-bag-kurma .slide-background {
        background-image: url('/assets/images/mobil/bag.jpg') !important;
    }

    /* 6. Başarılar */
    #slide-basarilar .slide-background {
        background-image: url('/assets/images/mobil/birlikte.jpg') !important;
    }

    /* Masaüstü içerik görselini, videoyu, okları ve iletişim kutusunu mobilde GİZLE */
    .slide-main-image, 
    .slide-main-video, 
    .slide-arrow,
    .slide-contact-section {
        display: none !important;
    }

    /* Logo kaldırıldı */
    .slide-background::after {
        display: none !important;
        content: none !important;
    }

    /* Flex Layout for Mobile Full Screen - Resmin tam sığması için Flexbox */
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%; /* Fallback */
        height: 100dvh; /* Dynamic Viewport Height - Tarayıcı barlarını hesaba katar */
        overflow: hidden; /* Scrollu engelle - varsayılan */
    }

    body {
        display: flex;
        flex-direction: column;
        position: relative; /* Fixed yerine Relative */
    }
    
    /* Header'ı akışa dahil et */
    .site-header {
        flex-shrink: 0;
        position: relative !important;
        top: auto;
        z-index: 10;
    }

    /* Main alanı kalan boşluğu doldursun */
    main {
        flex-grow: 1;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin: 0 !important;
        width: 100%;
        height: 100%;
        /* Görselin altındaki yazıların okunabilmesi için alttan güvenli boşluk bırak */
        padding: 0 0 80px 0 !important; 
        background-color: #ffffff;
    }

    .slide-container {
        flex-grow: 1;
        width: 100%;
        height: 100% !important;
        min-height: 0;
        margin: 0;
        padding: 0;
        position: relative;
    }

    /* Slide Section Mobilde Absolute - varsayılan (scroll kapalı sayfalar için) */
    .slide-section {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding: 0;
        margin: 0;
    }

    /* Resim ayarları - varsayılan (scroll kapalı sayfalar için) */
    .slide-background {
        width: 100%;
        height: 95%;
        position: absolute;
        top: 0;
        left: 0;
        background-size: 100% 100% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    /* iPhone alt çizgi (Home Indicator) için güvenli alan */
    .slide-content {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
}

/* ========================================
   MOBİL SCROLL AKTİF SAYFALAR İÇİN AYARLAR
   (yaraticilik, bilim-iletisim, organizasyonel-cozumler, bag-kurma)
   ======================================== */
@media (max-width: 768px) {
    /* HTML ve Body scroll aktif */
    html.mobile-scroll-enabled,
    body.mobile-scroll-enabled {
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        position: static !important;
    }
    
    body.mobile-scroll-enabled {
        display: block !important;
    }
    
    /* Main scroll aktif */
    body.mobile-scroll-enabled main {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        flex-grow: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Slide container scroll aktif */
    body.mobile-scroll-enabled .slide-container {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        flex-grow: 0 !important;
    }
    
    /* Slide section relative ve auto height */
    body.mobile-scroll-enabled .slide-section {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        display: none !important;
    }
    
    body.mobile-scroll-enabled .slide-section.active {
        display: block !important;
    }
    
    /* Background görseli - scroll aktif sayfalarda gizle, img kullan */
    body.mobile-scroll-enabled .slide-background {
        display: none !important;
    }
    
    /* Mobil scroll görsel - varsayılan gizli */
    .mobile-scroll-image {
        display: none;
    }
    
    /* Slide content scroll aktif */
    body.mobile-scroll-enabled .slide-content {
        display: none !important; /* Masaüstü içeriği gizle */
    }
    
    /* Slide section scroll aktif - padding/margin sıfırla */
    body.mobile-scroll-enabled .slide-section.active {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Mobil scroll img - tam genişlik, boşluksuz */
    body.mobile-scroll-enabled .mobile-scroll-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: bottom; /* Alt boşluğu kaldır */
    }
}

/* ===========================
   Ana Sayfa - Tam Ekran Video (Slider yapısı YOK)
   =========================== */
.home-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.home-logo-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    height: 280px;
    background-image: url('/assets/images/logo-bottom.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.9;
    z-index: 2;
}

/* Büyük Ekranlar - Ana Sayfa Logo */
@media (min-width: 1920px) {
    .home-logo-overlay {
        width: 320px;
        height: 320px;
    }
}

/* Tablet - Ana Sayfa Logo */
@media (max-width: 1024px) {
    .home-logo-overlay {
        width: 210px;
        height: 210px;
    }
}

/* Mobile - Ana Sayfa Logo */
@media (max-width: 768px) {
    .home-logo-overlay {
        width: 140px;
        height: 140px;
    }
    
    /* Masaüstü videoyu mobilde gizle */
    .home-video-desktop {
        display: none !important;
    }
    
    /* Mobil videoyu göster */
    .home-video-mobile {
        display: block !important;
    }
}

/* Masaüstü - Mobil videoyu gizle */
.home-video-mobile {
    display: none;
}

/* Masaüstü - Desktop videoyu göster */
.home-video-desktop {
    display: block;
}

/* ===========================
   Slide System (Diğer Sayfalar)
   =========================== */
.slide-container {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Viewport height - tam sayfa */
    overflow: hidden;
    margin-top: 0; /* Boşluk kaldırıldı */
    display: flex;
    align-items: stretch; /* İçeriği tam yüksekliğe yay */
}

.slide-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%; /* Container'ın tamamını kaplasın */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding-top: 0; /* Üst padding kaldırıldı */
    display: flex;
    flex-direction: column;
}

.slide-section.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 88%;
    min-height: 88vh; /* En az viewport kadar yüksek */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Logo Sağ Alt Köşe - Tam yapışık */
.slide-background::after {
    content: '';
    position: absolute;
    bottom: 50px; /* Logo 50px yukarı taşındı */
    right: 0;
    width: 280px; /* 200px * 1.4 = 280px (%40 büyük) */
    height: 280px; /* 200px * 1.4 = 280px (%40 büyük) */
    background-image: url('/assets/images/logo-bottom.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.9;
    z-index: 2;
}

@media (max-width: 1024px) {
    .slide-background::after {
        width: 210px; /* 150px * 1.4 = 210px (%40 büyük) */
        height: 210px;
    }
}

@media (max-width: 768px) {
    .slide-background::after {
        width: 140px; /* 100px * 1.4 = 140px (%40 büyük) */
        height: 140px;
    }
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh; /* Tam viewport height */
    display: flex;
    align-items: flex-start; /* Yukarı bitişik */
    justify-content: center;
    padding: 0 1.5rem 220px 1.5rem; /* Alt padding artırıldı - logo için alan */
}

.slide-image-container {
    position: relative;
    max-width: 850px; /* Görsel alanı küçültüldü */
    width: 70%; /* Genişlik yüzdesi azaltıldı */
    margin: 0 auto; /* Yatay merkezleme */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 0; /* Tüm slider'lar için sabit üst padding */
}

.slide-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    align-self: stretch;
}

/* Video - Aynı stil ile */
.slide-main-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    align-self: stretch;
    object-fit: cover; /* Video'nun container'a uyum sağlaması */
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.slide-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.slide-arrow:hover img {
    opacity: 1; /* Hover'da tam renk */
}

.slide-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slide-arrow img {
    width: 60px;
    height: 60px;
    display: block;
    opacity: 0.5; /* Renk tonu daha belirgin */
    transition: opacity 0.3s ease;
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Daha parlak ve gölgeli */
}

.slide-arrow-prev {
    left: -70px;
}

.slide-arrow-next {
    right: -70px;
}

/* Büyük Ekranlar (1920px+) */
@media (min-width: 1920px) {
    .slide-content {
        padding: 0 1.5rem 250px 1.5rem; /* Alt boşluk artırıldı */
    }
    
    .slide-image-container {
        max-width: 1000px; /* Daha küçük */
        width: 65%; /* Daha küçük */
    }
    
    .slide-arrow-prev {
        left: -85px;
    }
    
    .slide-arrow-next {
        right: -85px;
    }
    
    .slide-arrow img {
        width: 65px;
        height: 65px;
    }
    
    .slide-background::after {
        width: 320px; /* Logo biraz küçük */
        height: 320px;
    }
}

@media (max-width: 1400px) {
    .slide-arrow-prev {
        left: -55px;
    }
    
    .slide-arrow-next {
        right: -55px;
    }
    
    .slide-arrow img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1024px) {
    .slide-content {
        padding: 0 1.25rem 120px 1.25rem; /* Alt padding sabit 120px - logo için alan */
    }
    
    .slide-image-container {
        width: 85%; /* Tablet'te biraz daha geniş */
        padding-top: 0; /* Tüm slider'lar için sabit */
    }
    
    .slide-arrow-prev {
        left: 10px;
    }
    
    .slide-arrow-next {
        right: 10px;
    }
    
    .slide-arrow img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        padding: 0 1rem 100px 1rem; /* Alt padding sabit 100px - logo için alan */
    }
    
    .slide-image-container {
        width: 90%; /* Mobilde biraz daha geniş */
        padding-top: 0; /* Tüm slider'lar için sabit */
    }
    
    .slide-arrow-prev {
        left: 5px;
    }
    
    .slide-arrow-next {
        right: 5px;
    }
    
    .slide-arrow img {
        width: 35px;
        height: 35px;
    }
}

/* Contact Section - Slide Image Sağ Kenarına Hizalı */
.slide-contact-section {
    position: relative;
    margin-top: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    max-width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0;
    background: transparent; /* Arka plan şeffaf */
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    align-self: flex-end;
}

.slide-contact-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff; /* Beyaz renk */
    letter-spacing: 0.12em;
    white-space: nowrap;
    text-transform: uppercase; /* İLETİŞİM büyük harf */
    text-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Hafif gölge */
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.slide-contact-text:hover {
    opacity: 0.85;
}

.slide-social-icons {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.slide-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff; /* Beyaz arka plan */
    border-radius: 8px; /* Karemsi yuvarlak köşeler */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Hafif gölge */
    text-decoration: none;
}

.slide-social-link i {
    font-size: 1.5rem; /* İkon boyutu artırıldı */
    color: #8B00FF; /* Mor renk (Tema rengi) */
}

.slide-social-link.linkedin {
    background: #ffffff;
}

.slide-social-link.linkedin i {
    color: #8B00FF;
}

.slide-social-link.instagram {
    background: #ffffff;
}

.slide-social-link.instagram i {
    color: #8B00FF;
}

.slide-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #ffffff;
}

@media (max-width: 1024px) {
    .slide-contact-section {
        margin-top: 1.25rem;
        padding: 0;
        gap: 0.75rem;
    }

    .slide-contact-text {
        font-size: 0.875rem;
    }

    .slide-social-link {
        width: 36px;
        height: 36px;
    }

    .slide-social-link i {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .slide-contact-section {
        margin-top: 1rem;
        padding: 0;
        gap: 0.625rem;
    }

    .slide-contact-text {
        font-size: 0.8125rem;
        letter-spacing: 0.08em;
    }

    .slide-social-link {
        width: 32px;
        height: 32px;
    }

    .slide-social-link i {
        font-size: 1rem;
    }
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--secondary-color);
    gap: 0.5rem;
}

.btn-link i {
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-item h2 {
    margin-bottom: 0.5rem;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 5rem 0;
    background: var(--light-color);
}

/* ===========================
   Footer Styles
   =========================== */
/* Footer kaldırıldı */

/* ===========================
   Utility Classes
   =========================== */
.bg-gradient {
    background: var(--gradient);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .services-section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta-section .btn {
        margin-top: 1rem;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ===========================
   Loading State
   =========================== */
.htmx-indicator {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.htmx-request .htmx-indicator {
    opacity: 1;
}

.htmx-request.htmx-indicator {
    opacity: 1;
}

/* ===========================
   Contact Popup Modal
   =========================== */
.contact-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.contact-popup-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.contact-popup-overlay.active .contact-popup-container {
    transform: scale(1);
}

/* Kapatma Butonu */
.contact-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 1.25rem;
}

.contact-popup-close:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}

/* Header */
.contact-popup-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.contact-popup-header h2 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #000000; /* Siyah renk */
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-popup-header h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000000; /* Siyah renk */
    letter-spacing: 0.01em;
    margin: 0;
}

/* İletişim Bilgileri */
.contact-popup-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center; /* Dikey ortalama */
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-hot) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Sola hizala */
}

.contact-text p,
.contact-text a {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000000; /* Siyah renk */
    line-height: 1.6;
    text-decoration: none;
}

.contact-text a {
    color: #000000; /* Siyah renk */
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--brand-mid); /* Hover'da mor */
}

/* Tablet */
@media (max-width: 768px) {
    .contact-popup-container {
        padding: 2rem;
        max-width: 90%;
    }
    
    .contact-popup-header h2 {
        font-size: 1rem;
    }
    
    .contact-popup-header h3 {
        font-size: 0.875rem;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .contact-text p,
    .contact-text a {
        font-size: 0.875rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .contact-popup-container {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .contact-popup-close {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
    
    .contact-popup-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .contact-popup-header h2 {
        font-size: 0.9375rem;
    }
    
    .contact-popup-header h3 {
        font-size: 0.8125rem;
    }
    
    .contact-popup-info {
        gap: 1.25rem;
    }
    
    .contact-info-item {
        gap: 0.75rem;
        padding: 0.875rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-text p,
    .contact-text a {
        font-size: 0.8125rem;
    }
}
