/* Genel Stil */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Tüm backdrop-filter'ları devre dışı bırak */
* {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

:root {
    --primary-color: #4285F4; /* Google mavi */
    --secondary-color: #34A853; /* Google yeşil */
    --accent-color: #EA4335; /* Google kırmızı */
    --light-color: #F8F9FA;
    --dark-color: #202124;
    --text-color: #3C4043;
    --body-font: 'Poppins', sans-serif;
    --gradient-primary: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    --gradient-secondary: linear-gradient(135deg, #FBBC05 0%, #EA4335 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden; /* X ekseninde taşmayı engelle */
    width: 100%;
    height: 100%;
    max-width: 100%;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden; /* X ekseninde taşmayı engelle */
    width: 100%;
    max-width: 100vw; /* En fazla ekran genişliği kadar */
    box-sizing: border-box;
    background-color: var(--light-color);
    position: relative; /* Konumlandırma için */
}

body.menu-open {
    overflow: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box; /* Önemli - padding'lerin toplam genişliği etkilememesi için */
    overflow: visible; /* İçeriğin taşmasına izin ver */
}

.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 5rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.underline {
    width: 8rem;
    height: 0.4rem;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Header Stil */
#header,
#header.sticky,
#header.scrolled,
#header.about-section,
#header.services-section,
#header.counters-section,
#header.contact-section,
#header.home-section {
    position: absolute !important; /* fixed yerine absolute pozisyon */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transform: translateY(0); /* transform özelliği important olmadan */
    background-color: transparent !important;
    padding: 1.5rem 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    will-change: transform; /* important kaldırıldı */
    transition: transform 0.3s ease; /* important kaldırıldı */
    pointer-events: auto !important;
    box-sizing: border-box !important; /* Önemli: içerik sınırlar dışına taşmasın diye */
    overflow: visible !important; /* Taşan içeriği göster */
}

/* Navbar ve tüm içerikleri görünür olsun */
.navbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Logo görünür olsun */
.logo {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Navigation görünür olsun (mobil menü dışında) */
nav {
    display: flex !important;
    justify-content: center;
    width: 100%;
    position: relative;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

nav ul li a:hover,
nav ul li a.active {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
    transform: translateY(-3px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: 5px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 30%;
}

/* Menü butonu ve mobil navigasyon stilleri */
.menu-btn {
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 2rem;
    top: 2rem;
    background-color: transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* Animasyon: X şekli oluşturma */
.menu-btn.active .menu-btn__burger {
    background: transparent;
}

.menu-btn.active .menu-btn__burger::before {
    transform: rotate(45deg);
    background-color: white;
}

.menu-btn.active .menu-btn__burger::after {
    transform: rotate(-45deg);
    background-color: white;
}

#header.sticky .logo img {
    height: 50px;
}

#header.sticky nav ul li a {
    color: white;
}

#header.sticky .menu-btn {
    color: white;
}

/* Parallax Section Styles */
.parallax-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.parallax-section .container {
    position: relative;
    z-index: 1;
}

/* Home Section */
#home {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: linear-gradient(135deg, #0c1633, #162652);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Digital Rain / Matrix Effect */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: transparent;
    overflow: hidden;
}

.digital-rain canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* 3D Grid overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(22, 38, 82, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 38, 82, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: rotateX(60deg) scale(1.5);
    opacity: 0.5;
    z-index: 2;
}

/* Glowing "circuit" lines */
.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path fill="none" stroke="rgba(66, 133, 244, 0.15)" stroke-width="2" d="M100,100 L150,100 L150,150 L200,150 L200,100 L250,100 L250,200 L300,200 M50,200 L100,200 L100,250 L150,250 L150,300 L250,300 L250,250 L300,250" /></svg>');
    background-size: 400px 400px;
    background-position: center center;
    z-index: 2;
    opacity: 0.7;
}

/* Content styling */
.home-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    background: rgba(22, 38, 82, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(66, 133, 244, 0.2);
    box-shadow: 0 0 30px rgba(66, 133, 244, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#home h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #4285F4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(66, 133, 244, 0.5);
}

#home p {
    font-size: 2rem;
    margin-bottom: 4rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

#home .btn {
    background: linear-gradient(45deg, #4285F4, #34A853);
    border: none;
    color: white;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#home .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(66, 133, 244, 0.4);
}

#home .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% {
        left: -50%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: 150%;
    }
}

/* Düzeltmeler */
.tech-overlay, 
.particles-container, 
.particle,
#home::before,
#home::after {
    display: none;
}

/* Animasyonlar düzeltmesi */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
#about {
    background: transparent; /* Tamamen şeffaf arkaplan */
    color: white;
    padding: 10rem 0;
    min-height: auto;
    position: relative;
    z-index: 2;
    margin-top: 0;
    border-top-left-radius: 0; /* Radius'u kaldırdım */
    border-top-right-radius: 0; /* Radius'u kaldırdım */
    box-shadow: none; /* Gölgeyi kaldırdım */
    transform: translateY(0); /* Başlangıç konumunu değiştirdim */
    opacity: 1;
    will-change: transform, opacity;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    overflow: hidden;
    background-color: transparent;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap; /* Mobil görünümde sarmayı sağlar */
}

.about-text,
.about-image {
    flex: 1 1 500px; /* Minimum 500px genişlik, esnek büyüme/küçülme */
    min-width: 300px; /* En az 300px genişlikte olsun */
}

.about-text h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 2.5rem;
    font-size: 1.6rem; /* Mobil için daha uygun font boyutu */
    line-height: 1.8; /* Satır aralığını artır */
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Mobil görünümde ortalama */
    max-width: 100%; /* Taşmayı engelle */
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Mobil düzenlemeler */
@media (max-width: 991px) {
    .about-content {
        flex-direction: column; /* Mobil görünümde sütun düzeni */
        gap: 4rem;
    }
    
    .about-text, 
    .about-image {
        flex: 1 1 100%; /* Tam genişlik */
        max-width: 100%;
    }
    
    .about-text {
        order: 2; /* Mobil'de resimden sonra metni göster */
        text-align: center; /* Metni ortala */
    }
    
    .about-image {
        order: 1; /* Mobil'de resmi önce göster */
        max-width: 500px; /* Maksimum genişlik */
        margin: 0 auto; /* Ortalama */
    }
    
    .about-text h3 {
        font-size: 2.2rem;
    }
    
    .about-text p {
        font-size: 1.5rem;
    }
}

/* Daha küçük cihazlar için */
@media (max-width: 576px) {
    #about {
        padding: 7rem 0;
    }
    
    .section-title h2 {
        font-size: 3rem;
    }
    
    .section-transition {
        height: 100px;
    }
    
    .about-text h3 {
        font-size: 2rem;
    }
    
    .about-text p {
        margin-bottom: 2rem;
    }
}

/* About bölümü ile Home bölümünü birleştiren geçiş elementi */
.section-transition {
    position: absolute;
    top: -150px; /* Ana sayfanın altına yerleştir */
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(12, 22, 51, 0), rgba(41, 128, 185, 0.5));
    z-index: 5;
    pointer-events: none; /* Etkileşimi engelle */
}

/* Video alanı ile about arasındaki boşluğu dolduracak wrapper */
.about-video-wrapper {
    position: fixed; /* Viewport'a göre sabit konumlandırma */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-video-bg {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.6) 0%, rgba(155, 89, 182, 0.6) 100%);
    z-index: 1;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(12, 22, 51, 0.7), rgba(41, 128, 185, 0.7));
    z-index: 1;
    pointer-events: none;
}

/* About bölümü için scroll animasyonu düzeltmeleri */
.about-content .parallax-element {
    opacity: 0;
    transform: translateY(30px) !important;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content .parallax-element.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* Scroll etkileri için düzenleme */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home - About geçişi için özel saydam arka plan */
.home-about-connector {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Geçiş yüksekliği artırıldı */
    background: linear-gradient(to bottom, rgba(12, 22, 51, 0), rgba(41, 128, 185, 0.7));
    z-index: 4;
    pointer-events: none;
    opacity: 1; /* Görünür olarak değiştirdik */
}

#about .container {
    position: relative;
    z-index: 5;
}

.about-content {
    position: relative;
    z-index: 10;
}

#about.visible {
    opacity: 1;
    transform: translateY(0);
}

#about .section-title h2,
#about .about-text h3 {
    color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text,
.about-image {
    flex: 1;
}

.about-text h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 2.5rem;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1);
}

/* Parallax Elements */
.parallax-element {
    position: relative;
    transition: transform 0.2s ease-out;
    will-change: transform;
    transform: translateY(0) !important; /* Başlangıçta sıfır pozisyonda olmasını sağla */
}

#about .parallax-element[data-speed] {
    transition: transform 0.2s ease-out;
}

.about-content .parallax-element {
    opacity: 0;
    transform: translateY(30px) !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-content .parallax-element.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

.about-text .parallax-element {
    display: block;
    margin-bottom: 1.5rem;
}

.about-image.parallax-element {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1);
    transform-origin: center center;
}

/* Services Section */
#services {
    position: relative;
    background-image: linear-gradient(90deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%), url('https://images.unsplash.com/photo-1483058712412-4245e9b90334?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2940&q=80');
    color: white;
    padding: 10rem 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

/* Bölümler arası geçiş elementleri - Geliştirilmiş gradient */
.section-connector {
    position: absolute;
    height: 150px; /* Yüksekliğini artırdık */
    width: 100%;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 1; /* Görünür olarak değiştirdik */
}

.section-connector.top {
    top: 0;
    background: linear-gradient(to bottom, rgba(41, 128, 185, 0.9), transparent);
}

.section-connector.bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(32, 33, 36, 0.9), transparent);
}

#services .section-title h2 {
    color: white;
}

.services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem 0;
    gap: 3rem;
    -webkit-overflow-scrolling: touch;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    scrollbar-width: none; /* Firefox için scroll çubuğunu gizle */
    -ms-overflow-style: none; /* IE ve Edge için scroll çubuğunu gizle */
    flex-wrap: nowrap; /* Tüm kartları yatay sırada tut */
}

.services-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari ve Opera için scroll çubuğunu gizle */
}

.services-container {
    padding: 0 20px;
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.card-wrapper {
    min-width: 300px;
    flex: 0 0 300px;
    height: 400px;
    perspective: 1000px;
    scroll-snap-align: center;
    position: relative;
    overflow: visible;
    margin-right: 0; /* Sağ kenardaki boşluğu kaldırdık */
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    border-radius: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
    transform-style: preserve-3d;
    overflow: hidden;
    border: 1px solid rgba(66, 133, 244, 0.2);
    box-shadow: var(--box-shadow);
    cursor: pointer; /* Tıklanabilir olduğunu göstermek için cursor ekledik */
}

.card.show {
    opacity: 1;
    transform: translateY(0) rotateY(0deg);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(66, 133, 244, 0.2);
}

/* Kartlar için çevirme stili */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-front {
    transform: rotateY(0deg);
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg);
    background: var(--dark-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hover ve tıklama için çevirme işlemi */
.card:hover .card-front,
.card.flipped .card-front {
    transform: rotateY(-180deg);
}

.card:hover .card-back,
.card.flipped .card-back {
    transform: rotateY(0deg);
}

.card .card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem;
    text-align: center;
    z-index: 2;
    box-sizing: border-box;
}

.card .border-line {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    overflow: hidden;
}

.card .border-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 120px;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #00ccff
    );
    animation: animate 4s linear infinite;
    animation-delay: -2s;
}

.card .border-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 120px;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #d400d4
    );
    animation: animate 4s linear infinite;
}

.card:hover .border-line::before,
.card:hover .border-line::after {
    animation-duration: 2s;
    width: 650px;
    height: 150px;
}

/* Slider kontrolleri */
.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 10px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    font-size: 1.8rem;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-btn.prev-btn {
    margin-right: auto;
}

.slider-btn.next-btn {
    margin-left: auto;
}

.card-back .card-text {
    color: #ccc;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

.card-back .card-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-back .card-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 4rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.5s;
    color: #1c1c1c;
}

.card:nth-child(1) .card-back .card-title,
.card:nth-child(1) .card-front .card-title {
    color: #03a9f4;
}

.card:nth-child(2) .card-back .card-title,
.card:nth-child(2) .card-front .card-title {
    color: #ff2770;
}

.card:nth-child(3) .card-back .card-title,
.card:nth-child(3) .card-front .card-title {
    color: #ffb700;
}

.card:nth-child(4) .card-back .card-title,
.card:nth-child(4) .card-front .card-title {
    color: #4dff03;
}

.card:nth-child(5) .card-back .card-title,
.card:nth-child(5) .card-front .card-title {
    color: #9725ea;
}

.card:nth-child(6) .card-back .card-title,
.card:nth-child(6) .card-front .card-title {
    color: #e91e63;
}

.card:nth-child(1) .card-back .card-btn,
.card:nth-child(1) .card-front .card-btn {
    background: var(--primary-color);
}

.card:nth-child(2) .card-back .card-btn,
.card:nth-child(2) .card-front .card-btn {
    background: var(--secondary-color);
}

.card:nth-child(3) .card-back .card-btn,
.card:nth-child(3) .card-front .card-btn {
    background: var(--accent-color);
}

.card:nth-child(4) .card-back .card-btn,
.card:nth-child(4) .card-front .card-btn {
    background: #FBBC05; /* Google sarı */
}

.card:nth-child(5) .card-back .card-btn,
.card:nth-child(5) .card-front .card-btn {
    background: var(--primary-color);
}

.card:nth-child(6) .card-back .card-btn,
.card:nth-child(6) .card-front .card-btn {
    background: var(--secondary-color);
}

.card:nth-child(7) .card-back .card-btn,
.card:nth-child(7) .card-front .card-btn {
    background: var(--accent-color);
}

.card:nth-child(8) .card-back .card-btn,
.card:nth-child(8) .card-front .card-btn {
    background: #FBBC05;
}

/* Projects Section */
#projects {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(241, 241, 241, 1) 100%);
    padding: 10rem 0;
    min-height: auto;
}

.projects-slider {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-card {
    min-width: 35rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    position: relative;
    height: 50rem;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-info {
    transform: translateY(-1rem);
}

.project-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Team Section */
#team {
    background-image: linear-gradient(90deg, rgba(41, 128, 185, 0.7) 0%, rgba(142, 68, 173, 0.7) 100%), url('../images/2.jpg');
    color: white;
    padding: 10rem 0;
    background-position: center;
    background-size: cover;
}

#team .section-title h2 {
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.team-member:nth-child(1) {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.2) 0%, rgba(131, 58, 180, 0.1) 100%);
}

.team-member:nth-child(2) {
    background: linear-gradient(135deg, rgba(253, 29, 29, 0.2) 0%, rgba(253, 29, 29, 0.1) 100%);
}

.team-member:nth-child(3) {
    background: linear-gradient(135deg, rgba(252, 176, 69, 0.2) 0%, rgba(252, 176, 69, 0.1) 100%);
}

.team-member:nth-child(4) {
    background: linear-gradient(135deg, rgba(56, 128, 255, 0.2) 0%, rgba(56, 128, 255, 0.1) 100%);
}

.team-member:hover {
    transform: translateY(-1rem);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.team-member img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.team-member h3 {
    font-size: 2.2rem;
    margin: 2rem 0 0.5rem;
}

.team-member p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Section */
#contact {
    position: relative;
    background: linear-gradient(135deg, rgba(32, 33, 36, 0.9) 0%, rgba(66, 133, 244, 0.8) 100%);
    color: white;
    padding: 10rem 0;
    min-height: auto;
    margin-bottom: 0; /* Eliminating space between contact and footer */
}

#contact .section-title h2,
#contact .contact-item h3 {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 5rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 2rem;
    margin-top: 0.5rem;
}

.contact-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
}

.form-group textarea {
    min-height: 15rem;
    resize: vertical;
}

.btn.contact-btn {
    background: var(--gradient-primary);
    color: white;
}

.btn.contact-btn:hover {
    background: var(--gradient-secondary);
}

/* Footer */
footer {
    position: relative;
    margin-top: 0; /* Eliminating space between contact and footer */
    color: white;
}

.footer-wave {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    filter: drop-shadow(0 -10px 10px rgba(0,0,0,0.1));
}

.footer-main {
    background: linear-gradient(135deg, #202124 0%, #303134 100%);
    padding: 8rem 0 4rem;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="rgba(52, 152, 219, 0.03)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
    animation: waveMove 15s linear infinite alternate;
}

.footer-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(155, 89, 182, 0.05) 0%, transparent 20%);
    z-index: 0;
}

@keyframes waveMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

/* Yıldız animasyonu için stil */
.footer-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: var(--opacity);
        transform: scale(1);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover img {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 15px rgba(52, 152, 219, 0.5));
}

.footer-logo p {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-desc {
    font-size: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    border-left: 3px solid rgba(52, 152, 219, 0.5);
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-info:hover .footer-desc {
    border-left-color: #3498db;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-info div {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.footer-contact-info div:hover {
    transform: translateX(5px);
    color: white;
}

.footer-contact-info i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.8rem;
    min-width: 25px;
    text-align: center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

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

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.footer-links:hover h3::after,
.footer-services:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 80px;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background: linear-gradient(90deg, var(--primary-color), transparent);
    }
    50% {
        background: linear-gradient(90deg, #9b59b6, var(--primary-color), transparent);
    }
    100% {
        background: linear-gradient(90deg, var(--primary-color), transparent);
    }
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.5rem 0;
}

.footer-links ul li a i,
.footer-services ul li a i {
    margin-right: 0.8rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.footer-links ul li a::before,
.footer-services ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.3s ease;
    border-radius: 5px;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-links ul li a:hover i,
.footer-services ul li a:hover i {
    color: var(--primary-color);
    transform: scale(1.2);
}

.footer-links ul li a:hover::before,
.footer-services ul li a:hover::before {
    width: 100%;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 3rem;
    overflow: hidden;
}

.newsletter-form input {
    width: 100%;
    padding: 1.5rem;
    border-radius: 3rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2980b9, #3498db);
    transition: all 0.3s ease;
    z-index: -1;
    opacity: 0;
}

.newsletter-form button:hover::before {
    opacity: 1;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.pulse-effect {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: all 0.5s ease;
    border-radius: 50%;
    z-index: -1;
}

.hover-effect:hover::before {
    transform: scale(1.5);
}

.social-icons a:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.social-icons a.facebook:hover {
    background: #3b5998;
    color: white;
}

.social-icons a.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-icons a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icons a.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-icons a.github:hover {
    background: #333;
    color: white;
}

/* İkonlar için ışıldama efekti */
.footer-contact-info i, 
.footer-links i, 
.footer-services i {
    position: relative;
}

.footer-contact-info i::after,
.footer-links i::after,
.footer-services i::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.8) 0%, rgba(52, 152, 219, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-contact-info div:hover i::after,
.footer-links li:hover i::after,
.footer-services li:hover i::after {
    opacity: 0.3;
    animation: glowPulse 1.5s infinite;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.social-icons a.hover-effect {
    overflow: visible;
}

.social-icons a.hover-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -2;
    opacity: 0;
    transform: scale(1);
    transition: all 0.5s ease;
}

.social-icons a.hover-effect:hover::after {
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.footer-bottom {
    background: #1a242f;
    padding: 2rem 0;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.5), transparent);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-bottom-content:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.footer-bottom-links a:hover {
    color: #3498db;
    background: rgba(255, 255, 255, 0.05);
}

#back-to-top {
    position: fixed !important;
    bottom: 3rem !important;
    right: 3rem !important;
    width: 5rem !important;
    height: 5rem !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    transition: all 0.3s ease !important;
    opacity: 0;
    visibility: hidden;
    z-index: 10000 !important; /* z-index'i artırıyoruz */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
}

#back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4285F4, #34A853);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

#back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    animation: bounce 2s infinite !important;
}

#back-to-top.clicked {
    animation: pulse-once 0.3s !important;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

#back-to-top:hover::before {
    opacity: 1;
}

#back-to-top i {
    transition: transform 0.3s ease;
    color: white !important;
}

#back-to-top:hover i {
    transform: translateY(-3px);
}

/* Mobil için yukarı çıkma butonu */
@media (max-width: 768px) {
    #back-to-top {
        bottom: 2rem !important;
        right: 2rem !important;
        width: 4.5rem !important;
        height: 4.5rem !important;
        font-size: 1.8rem !important;
        display: flex !important;
        z-index: 10000 !important; /* z-index değerini artırıyoruz */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
        position: fixed !important; /* position'ı tekrar vurguluyoruz */
        opacity: 1 !important; /* görünürlüğü zorla */
        visibility: visible !important; /* görünürlüğü zorla */
    }
    
    #back-to-top.visible {
        opacity: 1 !important; 
        visibility: visible !important;
        display: flex !important;
        transform: scale(1.1) !important; /* Butonu biraz daha büyüt */
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes pulse-once {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(52, 152, 219, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes animate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Neon yanıp sönme animasyonu */
@keyframes neonPulse {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
    100% {
        filter: brightness(1);
    }
}

.card-front .card-content .card-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-front .card-content .card-icon i {
    font-size: 3rem;
    color: white !important;
}

.card:nth-child(1) .card-front .card-content .card-icon i {
    color: #03a9f4;
}

.card:nth-child(2) .card-front .card-content .card-icon i {
    color: #ff2770;
}

.card:nth-child(3) .card-front .card-content .card-icon i {
    color: #ffb700;
}

.card:nth-child(4) .card-front .card-content .card-icon i {
    color: #4dff03;
}

.card:nth-child(5) .card-front .card-content .card-icon i {
    color: #9725ea;
}

.card:nth-child(6) .card-front .card-content .card-icon i {
    color: #e91e63;
}

.card-front .card-content::before {
    content: '';
    position: absolute;
    inset: 6px;
    background: #1c1c1c;
    border-radius: 1.6rem;
    z-index: -1;
}

.card-front .card-content .card-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: linear-gradient(#1c1c1c, #1c1c1c, #1c1c1c, #1c1c1c);
    z-index: -1;
}

.card:nth-child(1) .card-front .card-content .card-icon::before {
    background: linear-gradient(#1c1c1c, #1c1c1c, #03a9f4, #1c1c1c);
}

.card:nth-child(2) .card-front .card-content .card-icon::before {
    background: linear-gradient(#1c1c1c, #ff2770, #1c1c1c, #1c1c1c);
}

.card:nth-child(3) .card-front .card-content .card-icon::before {
    background: linear-gradient(#1c1c1c, #1c1c1c, #1c1c1c, #ffb700);
}

.card:nth-child(4) .card-front .card-content .card-icon::before {
    background: linear-gradient(#4dff03, #1c1c1c, #1c1c1c, #1c1c1c);
}

.card:nth-child(5) .card-front .card-content .card-icon::before {
    background: linear-gradient(#1c1c1c, #9725ea, #1c1c1c, #1c1c1c);
}

.card:nth-child(6) .card-front .card-content .card-icon::before {
    background: linear-gradient(#1c1c1c, #1c1c1c, #e91e63, #1c1c1c);
}

.card:nth-child(1) .border-line::before,
.card:nth-child(1) .border-line::after {
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #03a9f4
    );
}

.card:nth-child(2) .border-line::before,
.card:nth-child(2) .border-line::after {
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #ff2770
    );
}

.card:nth-child(3) .border-line::before,
.card:nth-child(3) .border-line::after {
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #ffb700
    );
}

.card:nth-child(4) .border-line::before,
.card:nth-child(4) .border-line::after {
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #4dff03
    );
}

.card:nth-child(5) .border-line::before,
.card:nth-child(5) .border-line::after {
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #9725ea
    );
}

.card:nth-child(6) .border-line::before,
.card:nth-child(6) .border-line::after {
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #e91e63
    );
}

/* Kartları mobil cihazlarda da iyi görünecek şekilde ayarla */
@media (max-width: 768px) {
    .services-grid {
        display: flex; /* Flex düzeni korunacak, yan yana görünecek */
        gap: 1rem; /* Kartlar arası boşluğu azalttık */
        padding: 0.5rem 0;
        overflow-x: auto; /* Yatay scroll etkinleştirildi */
        scroll-snap-type: x mandatory; /* Kaydırma davranışı korundu */
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch; /* Dokunmatik cihazlarda daha iyi kaydırma deneyimi */
        scrollbar-width: none; /* Firefox scroll çubuğunu gizle */
        margin: 0 auto; /* Ortalama */
        flex-wrap: nowrap; /* Mutlaka yan yana kalması için */
        justify-content: flex-start; /* Sol hizalama */
    }
    
    /* Container'ı daha iyi konumlandır */
    .services-container {
        position: relative;
        overflow: hidden;
        margin: 0 auto;
        width: 100%;
        padding: 0 15px;
    }
    
    .card-wrapper {
        min-width: 200px; /* Daha küçük genişlik */
        flex: 0 0 200px; /* Sabit genişlik */
        height: 300px; /* Daha küçük yükseklik */
        margin-right: 0.8rem; /* Sağdaki boşluğu küçülttük */
        perspective: 1000px;
        scroll-snap-align: center;
        position: relative;
    }
    
    .card {
        border-radius: 1rem; /* Köşeleri biraz daha azalttık */
        width: 100%;
        height: 100%;
    }
    
    .card-front .card-content .card-icon {
        width: 50px; /* İkon boyutunu daha da küçülttük */
        height: 50px;
        margin-bottom: 0.6rem;
    }
    
    .card-front .card-content .card-title,
    .card-back .card-title {
        font-size: 1.5rem; /* Başlık boyutunu küçülttük */
        margin-bottom: 0.6rem;
    }
    
    .card-back .card-text {
        font-size: 1.2rem; /* Metin boyutunu küçülttük */
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .card-back .card-btn {
        padding: 0.5rem 1.2rem; /* Buton boyutunu küçülttük */
        font-size: 1.1rem;
    }
    
    /* Slider kontrollerini küçülttük */
    .slider-controls {
        display: flex;
        top: calc(50% - 25px); /* Merkezi konumlandırma */
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* Daha küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 480px) {
    .card-wrapper {
        min-width: 180px; /* Daha küçük genişlik */
        flex: 0 0 180px; /* Sabit genişlik */
        height: 280px; /* Daha küçük yükseklik */
    }
    
    .card-front .card-content .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-front .card-content .card-title,
    .card-back .card-title {
        font-size: 1.4rem;
    }
    
    .card-back .card-text {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
    }
    
    /* Hizmetler bölümünün üst ve alt kenar boşluklarını azaltalım */
    #services {
        padding: 6rem 0;
    }
    
    /* Servis container'ı için ek düzenlemeler */
    .services-container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 3rem;
    }
    
    .container {
        width: 95%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    #home h1 {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons,
    .social-links {
        justify-content: center;
    }
    
    .counters-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-number {
        font-size: 4rem;
    }
    
    .card {
        height: 420px;
    }
}

/* Counters Section */
#counters {
    position: relative;
    background: linear-gradient(135deg, rgba(32, 33, 36, 0.9) 0%, rgba(66, 133, 244, 0.9) 100%), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2940&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#counters .container {
    position: relative;
    z-index: 2;
}

#counters .section-title h2 {
    color: white;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.counter-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    transform: translateY(50px);
    opacity: 0;
}

.counter-item.show {
    transform: translateY(0);
    opacity: 1;
}

.counter-item:hover {
    transform: translateY(-1rem);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.counter-item i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.counter-number {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #4285F4, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.about-image-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%), url('https://images.unsplash.com/photo-1483058712412-4245e9b90334?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2940&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.about-image-bg img {
    display: none; /* Resmi gizle, artık arka plan görüntüsü olarak kullanacağız */
}

@media (max-width: 768px) {
    .footer-wave {
        top: -60px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 4rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .footer-logo img {
        width: 150px;
        margin: 0 auto 1.5rem;
    }
    
    .footer-logo, 
    .footer-desc,
    .footer-links h3,
    .footer-services h3,
    .footer-newsletter h3,
    .footer-contact-info {
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-services h3::after,
    .footer-newsletter h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Mobil için düzenlemeler */
body.is-mobile #about {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

body.is-mobile .about-video-bg {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%);
}

body.is-mobile .section-transition {
    height: 80px;
    top: -80px;
}

body.is-mobile .about-image {
    margin-bottom: 3rem;
}

body.is-mobile .about-text h3 {
    text-align: center;
}

/* Geçiş bağlantılarının iyileştirilmesi */
@media (max-width: 768px) {
    .home-about-connector {
        height: 80px;
        background: linear-gradient(to bottom, rgba(12, 22, 51, 0), rgba(41, 128, 185, 0.7));
    }
    
    #about::before {
        height: 80px;
        top: -80px;
        background: linear-gradient(to bottom, rgba(12, 22, 51, 0.5), rgba(41, 128, 185, 0.5));
    }
    
    #about .container {
        padding-top: 2rem;
    }
    
    /* Diğer bölüm bağlantılarını iyileştir */
    .section-connector {
        height: 80px;
    }
}

/* En küçük ekranlar için */
@media (max-width: 480px) {
    .home-about-connector,
    .section-connector {
        height: 60px;
    }
    
    #about::before {
        height: 60px;
        top: -60px;
    }
    
    body.is-mobile .section-transition {
        height: 60px;
        top: -60px;
    }
    
    #about {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .section-title {
        margin-bottom: 4rem;
    }
    
    .section-title h2 {
        font-size: 2.8rem;
    }
}

/* Mobil header iyileştirmeleri */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        width: 95%;
        padding: 0 1rem;
    }
    
    #header,
    #header.sticky,
    #header.scrolled {
        position: fixed !important; /* Mobil görünümde de fixed pozisyonda kalmalı */
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    
    /* Navbar ve tüm içerikleri görünür olsun */
    .navbar {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .logo {
        margin-left: 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Mobil menü için nav */
    nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
    }
    
    /* Açık menünün görünümü */
    nav.active {
        right: 0 !important;
    }
}

/* Mobil menü düzeltmesi */
@media (max-width: 768px) {
    nav {
        position: fixed !important; /* position: absolute yerine fixed */
        top: 0 !important;
        right: -100% !important;
        width: 100%;
        height: 100vh;
        background-color: #162652; /* Arka planı tam opak yaptık */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.6s ease;
        z-index: 1000;
        opacity: 0;
        box-sizing: border-box; /* Kutunun toplam boyutu padding ve border dahil */
        overflow-y: auto; /* İçerik taşarsa dikey kaydırma çubuğu ekle */
        overflow-x: hidden; /* Yatayda taşma engelle */
    }
    
    nav.active {
        right: 0 !important;
        opacity: 1;
    }
    
    /* Menu butonu */
    .menu-btn {
        z-index: 1001;
        cursor: pointer;
        display: flex;
    }
    
    /* Menu açıldığında arka plan scroll'u engelle */
    body.menu-open {
        overflow: hidden;
    }
}

/* Mobil yukarı çıkma butonu ayarları */
@media (max-width: 768px) {
    #back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 4.5rem;
        height: 4.5rem;
        font-size: 1.8rem;
        z-index: 1001; /* Diğer elementlerin üzerinde görünsün */
    }
    
    #back-to-top.visible {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
}

@media (max-width: 768px) {
    /* Navbar ve mobil menü ayarları */
    .navbar {
        padding: 1rem;
        background-color: transparent !important;
    }
    
    /* Menü butunu şeffaf yap */
    .menu-btn {
        display: flex;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
        background-color: transparent;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        z-index: 9999 !important;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0;
        transition: all 0.3s ease;
    }
    
    /* Mobil menu iyileştirmeleri */
    nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        transition: all 0.3s ease;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        width: 100%;
        text-align: center;
        display: block;
        font-size: 1.6rem;
        padding: 1.2rem 2rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background-color: #4285F4; /* Menü öğelerinin hover durumunda tam opak arkaplan */
        transform: translateY(-3px);
        color: white;
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Mobil cihazlarda servis kartları - son düzeltme */
@media (max-width: 768px) {
    /* Services section için genel düzenlemeler */
    #services {
        overflow: hidden;
        position: relative;
        padding: 7rem 0;
    }
    
    /* Services grid için düzenlemeler */
    .services-grid {
        display: flex;
        gap: 1rem;
        padding: 0.5rem 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        flex-wrap: nowrap !important;
        justify-content: flex-start;
    }
    
    .services-grid::-webkit-scrollbar {
        display: none;
    }
    
    /* Container düzenlemesi */
    .services-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }
    
    /* Kart wrapper düzenlemeleri */
    .card-wrapper {
        min-width: 200px;
        width: 200px;
        flex: 0 0 200px;
        height: 300px;
        scroll-snap-align: center;
        perspective: 1000px;
        margin-right: 0.8rem;
        box-sizing: border-box;
    }
    
    /* Kart stilleri */
    .card {
        border-radius: 1rem;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
}

/* En küçük ekranlar için */
@media (max-width: 480px) {
    #services {
        padding: 5rem 0;
    }
    
    .card-wrapper {
        min-width: 180px;
        width: 180px;
        flex: 0 0 180px;
        height: 280px;
        margin-right: 0.6rem;
    }
}

/* Mobil cihazlarda kartların çevrilme stili */
@media (max-width: 768px) {
    /* Hover durumunda çevirme işlemini devre dışı bırak */
    .card:hover .card-front {
        transform: rotateY(0deg) !important;
    }
    
    .card:hover .card-back {
        transform: rotateY(180deg) !important;
    }
    
    /* Sadece flipped sınıfıyla çevirme işlemi yap */
    .card.flipped .card-front {
        transform: rotateY(-180deg) !important;
    }
    
    .card.flipped .card-back {
        transform: rotateY(0deg) !important;
    }
    
    /* Dokunma hissi vermek için geçişi hızlandır */
    .card-front, .card-back {
        transition: transform 0.4s ease !important;
    }
    
    /* Arka taraftaki butonları daha belirgin yap */
    .card-back .card-btn {
        margin-top: 1rem;
        font-weight: bold;
        padding: 0.8rem 1.5rem;
        font-size: 1.3rem;
        border-radius: 2rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert i {
    margin-right: 10px;
}

/* Form Submit Button Loading State */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

button[type="submit"] .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 