/* Tema değişkenleri - Dark (Güncellenmiş) */
:root {
    /* Dark tema renkleri - Canlı ve modern */
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #a78bfa;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #0ea5e9;
    
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.9);
    --card-hover-bg: rgba(51, 65, 85, 0.95);
    
    --light-text: #f8fafc;
    --gray-text: #cbd5e1;
    --muted-text: #94a3b8;
    
    --border-color: rgba(99, 102, 241, 0.2);
    --border-hover-color: rgba(99, 102, 241, 0.5);
    
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --gradient-3: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --black-white-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    
    --shadow-color: rgba(99, 102, 241, 0.2);
    --shadow-hover-color: rgba(99, 102, 241, 0.4);
    
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --footer-bg: #020617;
    
    --input-bg: rgba(30, 41, 59, 0.6);
    --input-focus-bg: rgba(51, 65, 85, 0.8);
}

/* Lite tema renkleri - Aynı renk tonlarında ama açık */
[data-theme="lite"] {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #a78bfa;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #0ea5e9;
    
    --dark-bg: #f8fafc;
    --darker-bg: #f1f5f9;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-hover-bg: rgba(255, 255, 255, 1);
    
    --light-text: #0f172a;
    --gray-text: #475569;
    --muted-text: #64748b;
    
    --border-color: rgba(99, 102, 241, 0.2);
    --border-hover-color: rgba(99, 102, 241, 0.5);
    
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --gradient-3: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --black-white-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    
    --shadow-color: rgba(99, 102, 241, 0.15);
    --shadow-hover-color: rgba(99, 102, 241, 0.3);
    
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #f1f5f9;
    
    --input-bg: rgba(99, 102, 241, 0.05);
    --input-focus-bg: rgba(99, 102, 241, 0.1);
}

/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.4s ease,
                color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    transition: color 0.4s ease;
}

/* Tema geçiş butonu */
.theme-switcher {
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 30px;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-left: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-switcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover-color);
}

.theme-switcher::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--light-text);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="lite"] .theme-switcher::before {
    transform: translateX(30px);
    background: #FFD700;
}

.theme-switcher::after {
    content: '🌙';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-size: 14px;
    transition: opacity 0.3s ease;
    z-index: 1;
}

[data-theme="lite"] .theme-switcher::after {
    content: '☀️';
    left: auto;
    right: 8px;
    opacity: 1;
}

/* Tema geçiş animasyonu */
.theme-transition * {
    transition: background-color 0.4s ease,
                color 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

/* Custom select arrow */
select.form-control-custom {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Fix for select label */
.form-floating > select.form-control-custom ~ label {
    opacity: 0.65 !important;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem) !important;
    background: var(--dark-bg) !important;
    padding: 0 0.5rem !important;
    border-radius: 4px !important;
    z-index: 3 !important;
}

/* Yeni animasyon keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float3D {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    25% { transform: translateY(-10px) rotateX(5deg) rotateY(5deg); }
    50% { transform: translateY(0) rotateX(0) rotateY(0); }
    75% { transform: translateY(-10px) rotateX(-5deg) rotateY(-5deg); }
}

@keyframes textGlow {
    0% { filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes checkmarkPop {
    0% { transform: scale(0.8); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes inputFocusGlow {
    0% { box-shadow: 0 0 0 0 var(--shadow-color); }
    70% { box-shadow: 0 0 0 10px var(--shadow-color); }
    100% { box-shadow: 0 0 0 0.25rem var(--shadow-hover-color); }
}

@keyframes rippleExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(10); opacity: 0; }
}

@keyframes successPopup {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    70% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes floatAdvanced {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -50px) rotate(90deg); }
    50% { transform: translate(0, -100px) rotate(180deg); }
    75% { transform: translate(-100px, -50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translate(-50%, 100%); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes slideOutDown {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, 100%); visibility: hidden; }
}

@keyframes bounceSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes quoteAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gradient arka plan animasyonu */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, 
        #0f172a 0%, 
        #1e293b 25%, 
        #334155 50%, 
        #475569 75%, 
        #64748b 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -2;
    transition: background 0.4s ease;
}

[data-theme="lite"] .gradient-bg {
    background: linear-gradient(-45deg, 
        #f8fafc 0%, 
        #e2e8f0 25%, 
        #cbd5e1 50%, 
        #94a3b8 75%, 
        #64748b 100%);
}

/* Floating animasyonlu elementler */
.floating-1, .floating-2, .floating-3, .floating-4 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    z-index: 0;
    transition: all 0.4s ease;
}

.floating-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: floatAdvanced 20s infinite ease-in-out;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.4) 0%, 
        rgba(99, 102, 241, 0.1) 70%);
}

.floating-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    animation: floatAdvanced 25s infinite ease-in-out reverse;
    background: radial-gradient(circle, 
        rgba(139, 92, 246, 0.4) 0%, 
        rgba(139, 92, 246, 0.1) 70%);
}

.floating-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation: floatAdvanced 30s infinite ease-in-out;
    background: radial-gradient(circle, 
        rgba(167, 139, 250, 0.4) 0%, 
        rgba(167, 139, 250, 0.1) 70%);
    opacity: 0.25;
}

.floating-4 {
    width: 100px;
    height: 100px;
    bottom: 40%;
    left: 15%;
    animation: floatAdvanced 35s infinite ease-in-out reverse;
    background: radial-gradient(circle, 
        rgba(14, 165, 233, 0.4) 0%, 
        rgba(14, 165, 233, 0.1) 70%);
    opacity: 0.25;
}

[data-theme="lite"] .floating-1,
[data-theme="lite"] .floating-2,
[data-theme="lite"] .floating-3,
[data-theme="lite"] .floating-4 {
    opacity: 0.15;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.preloader-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s infinite alternate;
}

/* Navbar Styles */
.navbar {
    background-color: var(--navbar-bg);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background-color: var(--navbar-bg);
    padding: 10px 0;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.navbar-brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light-text) !important;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand i {
    margin-right: 8px;
    font-size: 1.5rem;
    animation: rotateSlow 20s linear infinite;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--light-text) !important;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Yeni Teklif Al Butonu Navbar için */
.navbar-teklif-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none;
    margin-left: 15px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.navbar-teklif-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover-color);
    background: var(--gradient-accent);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--darker-bg) 0%, 
        var(--dark-bg) 30%, 
        rgba(30, 41, 59, 0.9) 70%, 
        rgba(51, 65, 85, 0.8) 100%);
    transition: background 0.4s ease;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray-text);
    line-height: 1.6;
    transition: color 0.4s ease;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Teklif Al Modal Tasarımı */
.teklif-modal {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
}

.teklif-modal .modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid var(--border-color);
}

.teklif-modal .modal-body {
    padding: 30px;
}

.teklif-step {
    display: none;
    animation: quoteAppear 0.5s ease;
}

.teklif-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: var(--light-text);
}

.step-circle.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--border-hover-color);
    transform: scale(1.1);
}

.step-circle.completed {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 19px;
}

.teklif-form-group {
    margin-bottom: 20px;
}

.teklif-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light-text);
}

.teklif-form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.teklif-form-control:focus {
    outline: none;
    border-color: var(--border-hover-color);
    background: var(--input-focus-bg);
}

.teklif-btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.teklif-prev-btn,
.teklif-next-btn,
.teklif-submit-btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.teklif-prev-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.teklif-next-btn,
.teklif-submit-btn {
    background: var(--gradient-primary);
    color: white;
}

.teklif-prev-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.teklif-next-btn:hover,
.teklif-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Project type selection */
.project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.project-type-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-type-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    border-color: var(--border-hover-color);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.project-type-card.selected {
    border-color: var(--primary-color);
    background: var(--card-hover-bg);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.project-type-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--light-text);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Budget slider */
.budget-slider-container {
    padding: 20px 0;
}

.budget-amount {
    font-size: 2rem;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: quoteAppear 0.8s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Image Animation */
.hero-image-container {
    position: relative;
    perspective: 1000px;
    display: inline-block;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
    box-shadow: 0 20px 40px var(--shadow-color);
    border: 2px solid transparent;
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                var(--gradient-primary) border-box;
    position: relative;
    z-index: 1;
}

/* DÜZELTİLMİŞ Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.2), 
        rgba(139, 92, 246, 0.1));
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

[data-theme="lite"] .image-overlay {
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.1), 
        rgba(139, 92, 246, 0.05));
}

.hero-image-container:hover .image-overlay {
    opacity: 1;
}

/* Butonlar */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    position: relative;
    overflow: hidden;
    color: white;
    z-index: 1;
    cursor: pointer;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover-color);
    background: var(--gradient-accent);
}

.btn-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-primary-custom:hover .btn-hover-effect {
    width: 300px;
    height: 300px;
}

/* Buton loader */
.btn-loader {
    display: none;
    margin-left: 10px;
}

.btn-primary-custom.loading .btn-text {
    opacity: 0.7;
}

.btn-primary-custom.loading .btn-loader {
    display: inline-block;
}

.btn-outline-custom {
    border: 2px solid var(--border-color);
    color: var(--light-text);
    background: transparent;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.btn-outline-custom::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.7s;
    z-index: -1;
}

.btn-outline-custom:hover::before {
    left: 100%;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transform: translateY(-3px);
    border-color: var(--border-hover-color);
}

[data-theme="lite"] .btn-outline-custom:hover {
    background: rgba(99, 102, 241, 0.1);
}

/* Services Section */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    opacity: 0.1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 0.3;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px var(--shadow-hover-color);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.7;
}

/* Process Section */
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px var(--shadow-hover-color);
}

/* Process Info Card */
.process-info-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
}

.process-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover-color);
}

.process-info-card h4 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.process-info-card ul li {
    margin-bottom: 10px;
    color: var(--gray-text);
}

.process-info-card ul li i {
    font-size: 1.2rem;
}

/* Portfolio Section */
.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    height: 300px;
    transition: all 0.5s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

[data-theme="lite"] .portfolio-overlay {
    background: linear-gradient(transparent, rgba(99, 102, 241, 0.9));
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover-color);
    border-color: var(--primary-color);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.contact-info-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover-color);
    box-shadow: 0 15px 30px var(--shadow-hover-color);
}

.contact-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info-card p {
    margin-bottom: 5px;
}

.contact-info-card .small {
    color: var(--muted-text);
    font-size: 0.85rem;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--light-text);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.social-icon-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.form-control-custom {
    background: var(--input-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--light-text) !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
    margin-bottom: 20px;
}

.form-control-custom:focus {
    background: var(--input-focus-bg) !important;
    border-color: var(--border-hover-color) !important;
    color: var(--light-text) !important;
    box-shadow: 0 0 0 0.25rem var(--shadow-color) !important;
    outline: none;
}

.form-control-custom::placeholder {
    color: var(--muted-text) !important;
}

textarea.form-control-custom {
    min-height: 150px;
    resize: vertical;
}

/* Checkbox container */
.privacy-check-container {
    margin: 20px 0;
}

.custom-checkbox {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    min-height: 25px;
    margin-bottom: 15px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: var(--input-focus-bg);
    border-color: var(--border-hover-color);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    animation: checkmarkPop 0.3s ease;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkbox-label a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Form mesajları */
#formMessage {
    min-height: 50px;
    margin-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px var(--shadow-hover-color);
    z-index: 9999;
    border: 1px solid var(--border-color);
    animation: slideInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.hidden {
    animation: slideOutDown 0.5s ease forwards;
}

/* Particle background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px var(--shadow-color);
    transform: scale(0.8);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover-color);
}

/* Typing animation */
.typing-container {
    display: inline-block;
}

.typing-text {
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blinkCaret 0.75s step-end infinite;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 60px 0 20px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.footer-links h5 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--input-bg);
    color: var(--light-text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.social-icons a:hover::before {
    left: 100%;
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.copyright {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.copyright a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Scroll animasyonları için geliştirmeler */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.animate-on-scroll.left {
    transform: translateX(-50px) rotateY(10deg);
}

.animate-on-scroll.right {
    transform: translateX(50px) rotateY(-10deg);
}

.animate-on-scroll.left.animated,
.animate-on-scroll.right.animated {
    transform: translateX(0) rotateY(0);
}

/* Alert stilleri */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: quoteAppear 0.5s ease;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger-color);
}

/* Ripple efekti */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: var(--darker-bg);
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
    border: 1px solid var(--border-color);
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .process-line {
        display: none;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card,
    .portfolio-item {
        margin-bottom: 20px;
    }
    
    /* Mobil için form ayarları */
    .privacy-check-container {
        padding: 0.75rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .cookie-banner .row {
        flex-direction: column;
    }
    
    .cookie-banner .btn {
        margin-bottom: 5px;
        width: 100%;
    }
    
    .typing-text {
        font-size: 1.2rem;
    }
    
    .navbar-teklif-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .theme-switcher {
        margin: 10px auto;
        display: block;
    }
    
    .process-info-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .contact-form {
        padding: 15px;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.5rem;
    }
}

/* Yüksek performans için will-change */
.animate-on-scroll,
.service-card,
.portfolio-item {
    will-change: transform, opacity;
}

/* Smooth scroll için */
html {
    scroll-behavior: smooth;
}