/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Lights */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.10) 0%, transparent 60%),
        radial-gradient(circle at 90% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    animation: ambientFloat 20s ease-in-out infinite;
}

@keyframes ambientFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -30px) rotate(1deg); }
    50% { transform: translate(20px, -20px) rotate(-1deg); }
    75% { transform: translate(-10px, 20px) rotate(0.5deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
    padding-top: 80px; /* Navbar yüksekliği kadar boşluk ekle */
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #333333;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #6366f1;
    color: #6366f1;
    text-decoration: none;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MacBook Container */
.macbook-container {
    position: relative;
    z-index: 2;
}

.macbook-image {
    width: 520px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 3;
}

.macbook-screen {
    position: absolute;
    top: 11%;
    left: 12.5%;
    width: 75%;
    height: 75%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    z-index: 1;
}

.site-preview {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.site-image {
    width: 100%;
    height: 485%;
    display: block;
    object-fit: cover;
    object-position: center top;
    animation: scrollSite 12s ease-in-out infinite;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

@keyframes scrollSite {
    0%, 16.67% {
        transform: translateY(0);
    }
    33.33%, 50% {
        transform: translateY(-50%);
    }
    66.67%, 80% {
        transform: translateY(-80%);
    }
    80%, 100% {
        transform: translateY(-80%);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-cube {
    position: absolute;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    animation: float 6s ease-in-out forwards;
}

.cube-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cube-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.cube-3 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.silhouette {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.silhouette::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2a2a2a 0%, #444444 100%);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888888;
    font-size: 0.9rem;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #6366f1, transparent);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Section Styles */
.section-header {
    margin-bottom: 3rem;
}

.section-number {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

/* 3D Floating Elements for Services */
.services-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-3d-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float3D 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
    transform: rotateX(45deg) rotateY(45deg);
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 8%;
    animation-delay: 2s;
    border-radius: 50%;
    transform: rotateX(30deg) rotateZ(45deg);
}

.shape-3 {
    width: 100px;
    height: 40px;
    bottom: 25%;
    left: 10%;
    animation-delay: 4s;
    border-radius: 50px;
    transform: rotateY(60deg) rotateX(30deg);
}

.shape-4 {
    width: 50px;
    height: 50px;
    top: 35%;
    right: 25%;
    animation-delay: 6s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotateX(60deg) rotateZ(30deg);
}

@keyframes float3D {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotateX(45deg) rotateY(45deg) rotateZ(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotateX(60deg) rotateY(60deg) rotateZ(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) rotateX(30deg) rotateY(30deg) rotateZ(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-25px) translateX(5px) rotateX(75deg) rotateY(15deg) rotateZ(270deg);
        opacity: 0.7;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: portfolioFloat1 12s ease-in-out infinite;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: portfolioFloat2 15s ease-in-out infinite reverse;
}

@keyframes portfolioFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-20px, -30px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

@keyframes portfolioFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 20px) scale(1.15); }
    66% { transform: translate(15px, -25px) scale(0.85); }
}

/* Portfolio 3D Elements */
.portfolio-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.portfolio-3d-shape {
    position: absolute;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: portfolio3DFloat 10s ease-in-out infinite;
}

.portfolio-shape-1 {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
    transform: rotateX(45deg) rotateY(30deg);
}

.portfolio-shape-2 {
    width: 70px;
    height: 70px;
    top: 60%;
    left: 8%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border-radius: 50%;
    animation-delay: 3s;
    transform: rotateX(60deg) rotateZ(45deg);
}

.portfolio-shape-3 {
    width: 120px;
    height: 50px;
    bottom: 30%;
    right: 20%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border-radius: 50px;
    animation-delay: 6s;
    transform: rotateY(45deg) rotateX(30deg);
}

.portfolio-shape-4 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 25%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-delay: 9s;
    transform: rotateX(30deg) rotateY(60deg) rotateZ(15deg);
}

@keyframes portfolio3DFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotateX(45deg) rotateY(30deg) rotateZ(0deg);
        opacity: 0.7;
    }
    20% { 
        transform: translateY(-30px) translateX(15px) rotateX(60deg) rotateY(45deg) rotateZ(72deg);
        opacity: 0.9;
    }
    40% { 
        transform: translateY(-15px) translateX(-20px) rotateX(30deg) rotateY(60deg) rotateZ(144deg);
        opacity: 1;
    }
    60% { 
        transform: translateY(-25px) translateX(10px) rotateX(75deg) rotateY(15deg) rotateZ(216deg);
        opacity: 0.8;
    }
    80% { 
        transform: translateY(-10px) translateX(-10px) rotateX(45deg) rotateY(75deg) rotateZ(288deg);
        opacity: 0.6;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.portfolio-item:hover::before {
    left: 100%;
}

.portfolio-item:hover {
    transform: translateY(-15px) rotateX(8deg) rotateY(8deg) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 20px;
    text-align: center;
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: #ccc;
    margin-bottom: 20px;
}

.view-project {
    padding: 10px 20px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-project:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #111111;
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    z-index: 1;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat h3 {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #888888;
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.4),
        0 0 100px rgba(255, 255, 255, 0.2);
    background: #1a1a1a;
    align-self: flex-start;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.1) 60%, transparent 80%);
    filter: blur(25px);
    z-index: 0;
    border-radius: 40px;
    animation: videoGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.about-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@keyframes videoGlow {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}


/* Hero Secondary Title Styles */
.hero-subtitle-text {
    margin: 1rem 0;
}

.hero-secondary-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #cccccc;
    margin: 0;
    line-height: 1.4;
}

/* References Section */
.references {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}



.references-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.references-left {
    padding-right: 2rem;
}

.references-left .section-number {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.references-left .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.references-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.references-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-carousel {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.logo-item {
    position: relative;
    padding: 1rem;
    transition: all 0.8s ease;
    opacity: 0.4;
    filter: grayscale(100%) brightness(0.6);
    transform: scale(0.9);
}

.logo-item.active {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1);
}

.logo {
    width: 140px;
    height: auto;
    display: block;
}

/* Multiple background layers for smooth color transitions */
.references::before,
.references::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

/* Red background layer */
.references::before {
    background: 
        radial-gradient(circle at 70% 50%, rgba(220, 38, 38, 0.18) 0%, rgba(220, 38, 38, 0.08) 40%, transparent 70%),
        radial-gradient(circle at 30% 30%, rgba(220, 38, 38, 0.12) 0%, transparent 50%);
}

/* Orange background layer */
.references::after {
    background: 
        radial-gradient(circle at 70% 50%, rgba(234, 88, 12, 0.18) 0%, rgba(234, 88, 12, 0.08) 40%, transparent 70%),
        radial-gradient(circle at 30% 30%, rgba(234, 88, 12, 0.12) 0%, transparent 50%);
}

/* Blue background layer - using a new pseudo element approach */
.references .bg-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0.08) 40%, transparent 70%),
        radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

/* Active color states */
.references.color-red::before {
    opacity: 0.9;
}

.references.color-orange::after {
    opacity: 0.9;
}

.references.color-blue .bg-blue {
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(110px);
    z-index: 1;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.contact-item i {
    color: #6366f1;
    width: 20px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}


/* Responsive Design */
@media (max-width: 992px) {
    .references-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .references-left {
        padding-right: 0;
    }
    
    .references-left .section-title {
        font-size: 2.5rem;
    }
    
    .logo-carousel {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .logo {
        width: 120px;
    }
    
    .slider-track {
        height: 250px;
    }
    
    .slide img {
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Navbar yüksekliği kadar boşluk bırak */
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        z-index: 999; /* Navbar'ın altında kalmasını sağla */
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        height: 300px;
        order: -1; /* MacBook'u üstte göster */
    }
    
    .macbook-image {
        width: 350px;
        max-width: 90vw;
    }
    
    .floating-elements {
        display: none; /* Mobilde floating elementleri gizle */
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-container {
        max-width: 90%;
        margin: 0 auto 2rem;
    }
    
    .video-container::before {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
        filter: blur(20px);
    }
    
    .hero-secondary-title {
        font-size: 1.25rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .portfolio-card {
        margin-bottom: 1.5rem;
    }

    /* References Section Mobile Adjustments */
    .references-content {
        flex-direction: column;
        text-align: center;
    }

    .references-header {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .logos-container {
        justify-content: center;
        flex-wrap: wrap; /* Logoların alt alta geçmesini sağla */
    }

    .bg-overlay {
        width: 100%;
        clip-path: none; /* Mobil görünümde kesme yolunu kaldır */
        background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.15) 20%, rgba(99, 102, 241, 0.3) 100%); /* Dikey gradient */
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .macbook-image {
        width: 280px;
        max-width: 85vw;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .slider-track {
        height: 180px;
    }
    
    .slide img {
        max-height: 120px;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .scroll-indicator {
        bottom: 20px;
        left: 20px;
    }
    
    .video-container {
        max-width: 95%;
        margin: 0 auto 1.5rem;
    }
    
    .video-container::before {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        filter: blur(15px);
    }
    
    .hero-secondary-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Footer */
.footer {
    background: #111111;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo h3 {
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #888888;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.9rem;
}
