/* ==================== 
   General Styles 
   ==================== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==================== 
   Page Load Animations
   ==================== */
/* Navbar initial state - yukarıda gizli */
.navbar {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0; /* Sabit padding */
    min-height: 70px; /* Sabit minimum yükseklik */
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    animation: slideDownNavbar 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    display: flex;
    align-items: center; /* İçeriği dikeyde ortala */
}

@keyframes slideDownNavbar {
    0% {
        transform: translateY(-100%);
        opacity: 0;
        filter: blur(10px);
    }
    60% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

/* Particles fade in - yumuşak geçiş */
#particles-js {
    opacity: 0;
    animation: fadeInParticles 2.5s ease 0.3s forwards;
}

@keyframes fadeInParticles {
    0% {
        opacity: 0;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* Mobil için optimize edilmiş animasyonlar */
@media (max-width: 768px) {
    .navbar {
        animation-duration: 1s;
    }
    
    #particles-js {
        animation-duration: 2s;
    }
}

/* ==================== 
   Navigation 
   ==================== */

.navbar.scrolled {
    background: rgba(30, 41, 59, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.logo-img {
    height: 55px;  /* Logo boyutu artırıldı */
    width: auto;
    object-fit: contain; /* Görüntü oranını koru */
    display: block; /* Block element olarak göster */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff !important;
    transition: var(--transition);
    display: flex; /* Flex ile hizalama */
    align-items: center; /* Dikey ortala */
    padding: 0; /* Ekstra padding kaldır */
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.brand-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0.5rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ==================== 
   Hero Section 
   ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Daha canlı, parlak gradient */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    padding-top: 80px; /* Menü için üst boşluk */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Daha az koyulaştırma - daha canlı görünüm */
    background: rgba(30, 41, 59, 0.4);
    z-index: 1;
    /* Canlılık için animasyonlu gradient overlay */
    background: linear-gradient(
        45deg,
        rgba(99, 102, 241, 0.3),
        rgba(139, 92, 246, 0.3),
        rgba(236, 72, 153, 0.3)
    );
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    /* Daha parlak, canlı gradient */
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    background-size: 200% auto;
    animation: gradient-flow 3s linear infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

.btn-outline-light {
    border: 2px solid #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

.scroll-down {
    margin-top: 3rem;
}

.scroll-down a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* ==================== 
   Section Styles 
   ==================== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 
   Services Section - Grid Layout
   ==================== */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* ==================== 
   TECH STACK SECTION
   ==================== */
.tech-stack-section {
    .service-icon-large {
        width: 90px;
        height: 90px;
    }
    
    .service-icon-large i {
        font-size: 2.5rem;
    }
    
    .service-title-parallax {
        font-size: 2rem;
    }
    
    .service-description-parallax {
        font-size: 1rem;
    }
    
    .service-number-big {
        font-size: 5rem;
    }
}

/* Old Services Section - Keep for fallback */
.services-section {
    background: var(--light-color);
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #64748b;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ==================== 
   Tech Stack Section - Fullscreen Parallax Slides
   ==================== */
.tech-fullscreen-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tech-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Image - FIXED, doesn't scroll at all */
.tech-slide-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* Show only the active slide's background */
.tech-slide.active .tech-slide-bg {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Each slide has its own background */
.tech-slide[data-tech="web-mobile"] .tech-slide-bg {
    background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1920&q=80');
}

.tech-slide[data-tech="embedded-iot"] .tech-slide-bg {
    background-image: url('https://images.unsplash.com/photo-1553406830-ef2513450d76?w=1920&q=80');
}

.tech-slide[data-tech="smart-home"] .tech-slide-bg {
    background-image: url('https://images.unsplash.com/photo-1558089687-f282ffcbc126?w=1920&q=80');
}

.tech-slide[data-tech="electronics"] .tech-slide-bg {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

/* Dark Overlay - also fixed */
.tech-slide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.8) 100%);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.tech-slide.active .tech-slide-overlay {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Content Container */
.tech-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
}

/* Badge */
.tech-slide-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Title */
.tech-slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #60a5fa 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Description */
.tech-slide-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Features List */
.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.tech-feature-item i {
    color: #60a5fa;
    font-size: 1.3rem;
    min-width: 25px;
}

.tech-feature-item:hover {
    transform: translateX(10px);
    color: #fff;
}

.tech-feature-item:hover i {
    color: #a78bfa;
    transform: scale(1.2);
}

/* Tech Logos Grid */
.tech-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.tech-logo-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.8);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    box-shadow: 
        0 25px 60px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(99, 102, 241, 0.2),
        inset 0 0 30px rgba(99, 102, 241, 0.1);
}

.tech-logo-item i {
    font-size: 4rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    transition: all 0.4s ease;
}

.tech-logo-item:hover i {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
}

.tech-logo-item span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    transition: color 0.3s ease;
}

.tech-logo-item:hover span {
    color: #60a5fa;
}

/* Scroll Indicator for first slide */
.tech-slide:first-child::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    z-index: 10;
}

.tech-slide:first-child::before {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: #60a5fa;
    border-radius: 3px;
    animation: scroll-down 2s ease-in-out infinite;
    z-index: 11;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .tech-slide-title {
        font-size: 2.5rem;
    }
    
    .tech-slide-description {
        font-size: 1.1rem;
    }
    
    .tech-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .tech-logo-item {
        padding: 2rem 1.5rem;
    }
    
    .tech-logo-item i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .tech-slide {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0;
    }
    
    .tech-slide-bg {
        background-attachment: scroll;
    }
    
    .tech-slide-title {
        font-size: 2rem;
    }
    
    .tech-slide-description {
        font-size: 1rem;
    }
    
    .tech-slide-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .tech-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-logo-item {
        padding: 1.5rem 1rem;
    }
    
    .tech-logo-item i {
        font-size: 2.5rem;
    }
    
    .tech-logo-item span {
        font-size: 0.9rem;
    }
    
    .tech-feature-item {
        font-size: 0.95rem;
    }
}

/* Old styles - will be removed */
.tech-section-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: visible; /* hidden → visible (detay kutuları taşabilsin) */
    padding: 6rem 0 !important;
}

/* Floating particles background */
.tech-particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: float-particles 20s ease-in-out infinite;
}

@keyframes float-particles {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-20px); }
}

.tech-section-modern .section-title,
.tech-section-modern .section-subtitle {
    color: #fff;
}

/* Category styling */
.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.tech-category {
    position: relative;
    overflow: visible; /* Detay kutuları taşabilsin */
}

.category-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.category-title i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Tech Grid - Responsive */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    overflow: visible; /* Detay kutuları taşabilsin */
}

/* Tech Card - 3D Parallax Effect */
.tech-card {
    position: relative;
    perspective: 1000px;
    cursor: pointer;
}

.tech-card-inner {
    position: relative;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    overflow: visible; /* hidden → visible (detay kutusu taşabilsin) */
}

/* Glowing background effect */
.tech-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tech-card:hover .tech-glow {
    opacity: 1;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* 3D Hover Effect */
.tech-card:hover .tech-card-inner {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
}

/* Hide main content when showing details */
.tech-card:hover .tech-icon,
.tech-card:hover .tech-info {
    opacity: 0.1;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* Tech Icon */
.tech-icon {
    margin-bottom: 1rem;
    transform: translateZ(30px);
}

.tech-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.tech-card:hover .tech-icon i {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
}

/* Tech Info */
.tech-info {
    transform: translateZ(20px);
}

.tech-info h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.tech-card:hover .tech-info h4 {
    color: #60a5fa;
}

.tech-level {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Specific tech colors on hover */
/* Web & Mobil Geliştirme */
.tech-card[data-tech="react"]:hover .tech-icon i {
    background: linear-gradient(135deg, #61dafb, #21a1c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="nodejs"]:hover .tech-icon i {
    background: linear-gradient(135deg, #68a063, #3c873a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="wordpress"]:hover .tech-icon i {
    background: linear-gradient(135deg, #21759b, #00a0d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="database"]:hover .tech-icon i {
    background: linear-gradient(135deg, #00758F, #4DB33D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gömülü Sistemler & MCU */
.tech-card[data-tech="esp32"]:hover .tech-icon i {
    background: linear-gradient(135deg, #e7352c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="stm32"]:hover .tech-icon i {
    background: linear-gradient(135deg, #03234b, #0085ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="pic"]:hover .tech-icon i {
    background: linear-gradient(135deg, #ee2724, #ff5733);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="raspberry"]:hover .tech-icon i {
    background: linear-gradient(135deg, #c51a4a, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* IoT Platformları */
.tech-card[data-tech="tuya"]:hover .tech-icon i {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="alexa"]:hover .tech-icon i {
    background: linear-gradient(135deg, #00caff, #00a8e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="google-home"]:hover .tech-icon i {
    background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc04, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="mqtt"]:hover .tech-icon i {
    background: linear-gradient(135deg, #660066, #9933cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Elektronik Tasarım */
.tech-card[data-tech="kicad"]:hover .tech-icon i {
    background: linear-gradient(135deg, #314cb6, #5271ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="eagle"]:hover .tech-icon i {
    background: linear-gradient(135deg, #008C46, #00B359);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="3d-printer"]:hover .tech-icon i {
    background: linear-gradient(135deg, #FF6347, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="oscilloscope"]:hover .tech-icon i {
    background: linear-gradient(135deg, #8A2BE2, #9370DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Haberleşme & Kablosuz */
.tech-card[data-tech="http"]:hover .tech-icon i {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="websocket"]:hover .tech-icon i {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="bluetooth"]:hover .tech-icon i {
    background: linear-gradient(135deg, #0A84FF, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="lora"]:hover .tech-icon i {
    background: linear-gradient(135deg, #8B008B, #9932CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card[data-tech="modbus"]:hover .tech-icon i {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-section-modern {
        padding: 4rem 0 !important;
    }
    
    .tech-categories {
        gap: 3rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .tech-card-inner {
        padding: 1.5rem 1rem;
    }
    
    .tech-icon i {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}

/* ==================== 
   Projects Section 
   ==================== */
.projects-section {
    background: var(--light-color);
}

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
}

.project-info {
    padding: 1.5rem;
}

.project-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==================== 
   About Section 
   ==================== */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::after {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    display: block;
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-content {
    padding: 2rem;
    position: relative;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.about-content p {
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.about-content p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.team-expertise {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1rem;
    background: #fff;
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.expertise-item:hover::before {
    transform: scaleY(1);
}

.expertise-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.expertise-item i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 1rem;
    min-width: 35px;
    transition: var(--transition);
}

.expertise-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.expertise-item span {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 600;
}

/* ==================== 
   Contact Section 
   ==================== */
.contact-section {
    background: var(--light-color);
}

.contact-info-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.contact-info-card.clickable {
    cursor: pointer;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: #64748b;
    margin: 0;
}

/* Freelance Card */
.contact-info-card.freelance-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
}

.contact-info-card.freelance-card:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    transform: translateY(-10px) scale(1.02);
}

.freelance-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0369a1;
}

.freelance-text strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.contact-action {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-action {
    opacity: 1;
    transform: translateY(0);
}

/* Multi-Action Card (Telefon) */
.contact-info-card.multi-action {
    padding-bottom: 1.5rem;
}

.contact-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-info-card.multi-action:hover .contact-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
    color: white;
}

.action-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.action-btn.whatsapp:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Sosyal Medya İletişim Kartları */
.social-contact-section {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-contact-section h3 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.social-contact-section h3 i {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-contact-grid-triple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .social-contact-grid-triple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .social-contact-grid-triple {
        grid-template-columns: 1fr;
    }
}

.social-contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.4s ease;
}

.social-contact-card.linkedin::before {
    background: linear-gradient(90deg, transparent, rgba(10, 102, 194, 0.1), transparent);
}

.social-contact-card.instagram::before {
    background: linear-gradient(90deg, transparent, rgba(225, 48, 108, 0.1), transparent);
}

.social-contact-card.github::before {
    background: linear-gradient(90deg, transparent, rgba(51, 51, 51, 0.1), transparent);
}

.social-contact-card:hover::before {
    left: 100%;
}

.social-contact-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-contact-card.linkedin:hover {
    border-color: #0a66c2;
}

.social-contact-card.instagram:hover {
    border-color: #e1306c;
}

.social-contact-card.github:hover {
    border-color: #333;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.social-contact-card.linkedin .social-icon {
    background: linear-gradient(135deg, #0a66c2, #0077b5);
}

.social-contact-card.instagram .social-icon {
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737);
}

.social-contact-card.github .social-icon {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-icon i {
    font-size: 1.6rem;
    color: white;
}

.social-contact-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-info {
    flex-grow: 1;
}

.social-info h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.social-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.social-contact-card .arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: var(--transition);
}

.social-contact-card:hover .arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Form Başlık Bölümü */
.form-header {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-header-inline {
    margin-bottom: 2rem;
}

.form-header h3,
.form-header-inline h3 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-header h3 i,
.form-header-inline h3 i {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header .lead,
.form-header-inline .lead {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.gradient-text-form {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.3rem !important;
}

/* İletişim Görsel Bölümü */
.contact-visual-section {
    height: 100%;
}

.contact-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.contact-image-wrapper:hover .contact-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.overlay-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.overlay-card:hover {
    transform: translateY(-5px);
    background: white;
}

.overlay-card i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overlay-card h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
}

.overlay-card p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.contact-benefits {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-benefits h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-benefits h4 i {
    color: #10b981;
    margin-right: 0.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.8rem 0;
    color: #64748b;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li i {
    color: #fbbf24;
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.benefits-list li:hover {
    padding-left: 10px;
    color: var(--dark-color);
}

/* Modern İletişim Formu */
.contact-form-modern {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.banner-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.banner-icon i {
    font-size: 2rem;
    color: white;
}

.banner-text h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.form-content {
    padding: 2.5rem;
}

.form-group-modern {
    position: relative;
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.form-control-modern {
    width: 100%;
    padding: 0.9rem 1rem;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-control-modern:focus {
    background: white;
    border-bottom-color: var(--primary-color);
}

.form-control-modern:focus + .form-underline::before {
    transform: scaleX(1);
}

.form-underline {
    position: relative;
    height: 2px;
    margin-top: -2px;
}

.form-underline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 120px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

textarea.form-control-modern:focus {
    border-color: var(--primary-color);
}

select.form-control-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e2e8f0;
    flex-wrap: wrap;
}

.form-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
    flex: 1;
    min-width: 250px;
}

.form-info i {
    color: #10b981;
    font-size: 1.2rem;
}

.btn-submit-modern {
    position: relative;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-submit-modern .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
}

.btn-submit-modern:hover .btn-bg {
    transform: scale(1.05);
}

.btn-submit-modern .btn-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.btn-submit-modern:active {
    transform: translateY(-1px);
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .banner-text h4 {
        font-size: 1.2rem;
    }
    
    .form-content {
        padding: 1.5rem;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-submit-modern {
        width: 100%;
        justify-content: center;
    }
    
    .form-info {
        min-width: 100%;
    }
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ==================== 
   Footer 
   ==================== */
/* ==================== 
   Footer - Modern Design
   ==================== */
.footer {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

/* Wave Animation at Top */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave-path {
    fill: #f8fafc;
}

/* Footer Content */
.footer-content {
    position: relative;
    padding: 80px 0 40px;
    z-index: 1;
}

/* Logo & Brand Section */
.footer-brand-section {
    padding-right: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 15px rgba(99, 102, 241, 0.5));
}

.footer-slogan {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 1rem;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1rem;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/* Social Links - Modern Style */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Quality Badge */
.footer-badge {
    margin-top: 1.5rem;
}

.quality-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.quality-badge i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.quality-badge div {
    display: flex;
    flex-direction: column;
}

.quality-badge strong {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.quality-badge span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        padding: 60px 0 30px;
    }
    
    .footer-wave svg {
        height: 40px;
    }
    
    .footer-brand-section {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-badge {
        display: flex;
        justify-content: center;
    }
    
    .footer-bottom-links {
        margin-top: 10px;
    }
}


/* ==================== 
   Scroll to Top 
   ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

/* ==================== 
   Project Detail Panel (Expanding Cards)
   ==================== */
.project-detail-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
    opacity: 0;
    padding: 0;
}

.project-detail-panel.active {
    max-height: 2000px;
    opacity: 1;
    padding: 2rem 0;
    margin-top: 1rem;
}

.project-detail-content {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid #e2e8f0;
}

.close-detail {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
}

.close-detail:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.detail-section {
    display: none;
}

.detail-section.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-section h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}

.detail-section h3 i {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.detail-card h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-card h5 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.detail-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-features li {
    padding: 0.4rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.detail-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ==================== 
   Project Modal Styles 
   ==================== */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-bottom: none;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.project-detail-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.project-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-detail-item h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.project-detail-item h5 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.project-detail-item p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-features-modal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features-modal li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.project-features-modal li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-close {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.btn-close:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==================== 
   Responsive Design 
   ==================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Mobil Menü Küçültme */
    .navbar {
        padding: 0.5rem 0; /* Daha ince menü */
    }
    
    .navbar-brand {
        font-size: 1.2rem; /* Daha küçük logo */
    }
    
    .nav-link {
        font-size: 0.9rem; /* Daha küçük menü yazıları */
        margin: 0.3rem 0;
        padding: 0.4rem 0.8rem;
    }
    
    /* Tüm Section'lar için Padding Azaltma */
    .services-section,
    .tech-section-modern,
    .projects-section,
    .about-section,
    .contact-section {
        padding: 3rem 0 !important; /* 4rem → 3rem */
    }
    
    /* Section Title Küçültme */
    .section-title {
        font-size: 1.75rem !important; /* 2rem → 1.75rem */
        margin-bottom: 1.5rem !important; /* 2rem → 1.5rem */
    }
    
    /* Container Padding Azaltma */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Hero Section Responsive */
    .hero-section {
        padding-top: 90px; /* Menü için boşluk (menü küçüldü) */
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.75rem; /* Çok hafif küçültüldü (2rem → 1.75rem) */
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.85rem; /* Biraz daha küçük alt başlık */
        margin-bottom: 1.5rem;
    }
    
    /* Butonlar - daha küçük ve stack layout */
    .hero-buttons {
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn-lg {
        font-size: 0.9rem; /* Daha küçük font */
        padding: 0.6rem 1.2rem; /* Daha küçük padding */
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 0.75rem auto;
    }
    
    .hero-buttons .btn-lg.me-3 {
        margin-right: auto !important;
    }
    
    /* Scroll down indicator - daha aşağıda */
    .scroll-down {
        margin-top: 2.5rem;
    }
    
    .scroll-down a {
        font-size: 1.5rem;
    }
    
    /* Hakkımızda Bölümü Küçültme */
    .about-content p {
        font-size: 0.9rem !important; /* Yazıları küçült */
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }
    
    .about-content .lead {
        font-size: 1rem !important; /* Lead yazı biraz daha büyük */
        margin-bottom: 1.25rem !important;
    }
    
    .expertise-item {
        font-size: 0.85rem !important;
        padding: 0.5rem !important;
    }
    
    .expertise-item i {
        font-size: 1.2rem !important;
    }
    
    .stat-item h3 {
        font-size: 1.75rem !important; /* Sayı boyutu */
    }
    
    .stat-item p {
        font-size: 0.85rem !important; /* Açıklama küçük */
    }
    
    /* Tech Cards Küçültme */
    .tech-card {
        padding: 1rem !important; /* 1.5rem → 1rem */
    }
    
    .tech-icon i {
        font-size: 2rem !important; /* 3rem → 2rem */
    }
    
    .tech-info h4 {
        font-size: 1rem !important; /* 1.1rem → 1rem */
    }
    
    .tech-info .tech-level {
        font-size: 0.8rem !important;
    }
    
    /* Service Cards Küçültme */
    .service-card {
        padding: 1.5rem !important; /* 2rem → 1.5rem */
        margin-bottom: 1rem !important;
    }
    
    .service-card i {
        font-size: 2rem !important; /* 2.5rem → 2rem */
        margin-bottom: 0.75rem !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Project Cards Küçültme */
    .project-card {
        margin-bottom: 1rem !important;
    }
    
    .project-card .card-body {
        padding: 1rem !important; /* 1.5rem → 1rem */
    }
    
    .project-card h3 {
        font-size: 1.1rem !important;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .team-expertise {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Tablet için ek ayarlar */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn-lg {
        font-size: 0.95rem;
        padding: 0.7rem 1.5rem;
    }
}
