/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== Global Styles ===== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --muted-color: #64748b;
    --border-color: #e2e8f0;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-text: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-xl: 0 32px 64px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-color); }

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

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== Header & Navigation ===== */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 32px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.logo i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
}

.logo-image-link {
    padding: 2px 0;
}

.logo-image {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(320px, 42vw);
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--muted-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(99, 102, 241, 0.1);
    border: none;
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* Mobil için gizli auth kısmı — masaüstünde gizli */
.nav-auth-mobile {
    display: none;
}

/* Mobil header hızlı giriş alanı */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.quick-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.quick-auth-btn i {
    font-size: 12px;
}

.quick-auth-login,
.quick-auth-user {
    background: #ffffff;
    color: #0f67c6 !important;
    border: 1.5px solid rgba(70, 189, 241, 0.85);
}

.quick-auth-register {
    background: linear-gradient(135deg, #7367f0 0%, #5f5ff6 100%);
    color: #fff !important;
    border: 1px solid rgba(115, 103, 240, 0.75);
}

.quick-auth-btn:hover {
    transform: translateY(-1px);
}

/* Masaüstü nav-auth */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 16px;
    flex-wrap: nowrap;
}

.nav-btn-login,
.nav-btn-register,
.nav-btn-quote,
.nav-btn-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.nav-btn-login {
    background: #ffffff;
    color: #0f67c6 !important;
    border: 1.5px solid #46bdf1;
    box-shadow: 0 6px 18px rgba(70, 189, 241, 0.16);
}
.nav-btn-login:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
    color: #0a58a8 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(70, 189, 241, 0.24);
}

.nav-btn-register {
    background: linear-gradient(135deg, #7367f0 0%, #5f5ff6 100%);
    color: #fff !important;
    border: 1px solid rgba(115, 103, 240, 0.75);
    box-shadow: 0 8px 20px rgba(115, 103, 240, 0.28);
}
.nav-btn-register:hover {
    background: linear-gradient(135deg, #675ae9 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(95, 95, 246, 0.34);
}

/* Giriş yapan kullanıcı adı stili */
.nav-user-name {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.24);
    color: #4f46e5 !important;
    padding: 8px 14px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 8px 18px rgba(99,102,241,0.12);
}
.nav-user-name:hover {
    background: rgba(99,102,241,0.16);
    border-color: rgba(99,102,241,0.34);
    transform: translateY(-2px);
}
.nav-user-badge {
    background: rgba(99,102,241,0.18);
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    color: #5b21b6;
}

.lang-flag {
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s;
}
.lang-flag:hover { transform: scale(1.15); }

/* Teklif Al / Get Quote butonu */
.nav-btn-quote {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    color: #4c1d95 !important;
    padding-inline: 18px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}
.nav-btn-quote:hover {
    background: linear-gradient(135deg, #6d5df3 0%, #8b5cf6 100%);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(109, 93, 243, 0.28);
}

/* Dil butonu */
.nav-btn-lang {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.12);
    min-width: 72px;
    padding-inline: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}
.nav-btn-lang:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}


/* ===== Hero Section ===== */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4c1d95 60%, #5b21b6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: heroGlow 6s ease-in-out infinite reverse;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    50% { transform: scale(1.2) translate(20px, -20px); opacity: 0.9; }
}

.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Code Window */
.code-window {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.window-header {
    background: #334155;
    padding: 12px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-body {
    padding: 20px;
    overflow-x: auto;
}

.window-body pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* ===== Sections ===== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.featured-projects,
.all-projects,
.testimonials,
.contact {
    padding: 100px 0;
}

.featured-projects {
    background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
    position: relative;
}

.all-projects {
    background: #fff;
}

/* ===== Projects Grid ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.project-card:hover::before {
    background: var(--gradient);
    opacity: 1;
}

.project-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: var(--primary-color);
    opacity: 0.6;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.badge-sale {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.project-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.project-title a:hover {
    color: var(--primary-color);
}

.project-description {
    color: var(--muted-color);
    margin-bottom: 1rem;
    font-size: 0.93rem;
    line-height: 1.65;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 3px 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(99, 102, 241, 0.15);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
}

.project-price {
    font-weight: 800;
    color: #6366f1;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: -0.3px;
}

.project-price .fa-tag {
    font-size: 0.85rem;
    opacity: 0.8;
}

.free-badge {
    color: #4ade80 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

.project-buy-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(99,102,241,.35);
    border-radius: 7px;
    transition: all 0.2s;
    white-space: nowrap;
}
.project-buy-link:hover {
    background: rgba(99,102,241,.12);
    border-color: rgba(99,102,241,.6);
}

.project-views {
    color: var(--muted-color);
    font-size: 0.87rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
}

.page-link {
    padding: 8px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--muted-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* ===== Testimonials ===== */
.testimonials {
    background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 6rem;
    position: absolute;
    top: -10px;
    right: 20px;
    color: rgba(99, 102, 241, 0.07);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.client-name {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.client-company {
    color: var(--muted-color);
    font-size: 0.85rem;
}

.testimonial-rating {
    margin-bottom: 1rem;
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.testimonial-rating i.active {
    color: #fbbf24;
}

.testimonial-text {
    color: var(--muted-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-date {
    color: #94a3b8;
    font-size: 0.82rem;
}

/* ===== Contact ===== */
.contact {
    background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3.5rem;
}

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

.info-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.info-card:hover .info-icon {
    background: var(--gradient);
    color: white;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--muted-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    color: var(--dark-color);
    font-weight: 500;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fafbfc;
    color: #1e293b;          /* ← sabit koyu renk, tema değişkeninden bağımsız */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-top {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer-brand .logo i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    text-align: left;
}

.footer-links ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links ul li {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

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

.footer-content p {
    margin: 0;
    opacity: 0.5;
    font-size: 0.88rem;
}

.footer-badge {
    background: rgba(99, 102, 241, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ===== Project Detail Page ===== */
.project-detail {
    padding: 40px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    color: #6b7280;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.project-header {
    margin-bottom: 2rem;
}

.project-title-section {
    margin-bottom: 1rem;
}

.project-image-full {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.project-image-full img {
    width: 100%;
    height: auto;
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.project-main-content h2,
.project-main-content h3 {
    margin: 2rem 0 1rem;
}

.project-links {
    margin-top: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--light-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s;
}

.link-button:hover {
    background: var(--primary-color);
    color: white;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
}

.price-display {
    text-align: center;
    margin: 1.5rem 0;
}

.price-display .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--success-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
    border-bottom: none;
}

.related-projects {
    margin-top: 4rem;
}

.related-projects h2 {
    margin-bottom: 2rem;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ===== Responsive ===== */
/* ===== RESPONSIVE — Tablet (≤1024px) ===== */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero { padding: 80px 0 100px; }
    .hero-content { gap: 2.5rem; }
    .hero-title { font-size: 2.8rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { gap: 2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ===== RESPONSIVE — Mobil (≤768px) ===== */
@media (max-width: 768px) {
    /* --- Nav auth desktop → gizle, mobil → göster --- */
    .nav-auth {
        display: none !important;
    }
    .nav-auth-mobile {
        display: block;
        list-style: none;
        border-top: 1px solid var(--border-color);
        padding-top: 0.75rem;
        margin-top: 0.5rem;
    }

    .navbar {
        padding: 0.85rem 0;
    }

    .nav-wrapper {
        gap: 10px;
    }

    .logo-image {
        height: 34px;
        max-width: 190px;
    }

    .mobile-header-actions {
        display: flex;
    }

    /* --- Hamburger menü --- */
    .mobile-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.12);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-110%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        width: 100%;
        display: block;
    }

    /* --- Nav auth butonları --- */
    .nav-auth {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    .nav-auth .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --- Hero --- */
    .hero { padding: 60px 0 80px; overflow: hidden; }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-title { font-size: 2rem; line-height: 1.25; }
    .hero-subtitle { font-size: 1rem; }
    .hero-description { font-size: 0.95rem; }
    .hero-image { display: none; }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .stat-number { font-size: 1.8rem !important; }
    .stat-label { font-size: 0.72rem !important; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* --- Sections --- */
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; }

    /* --- Projeler --- */
    .projects-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }

    /* --- Proje detay --- */
    .project-content-wrapper {
        grid-template-columns: 1fr;
    }
    .project-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .gallery-thumbs { gap: 8px; }
    .thumb { width: 70px; height: 54px; }

    /* --- Yorumlar --- */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* --- İletişim --- */
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info { order: 2; }
    .contact-form { order: 1; }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-links ul { align-items: center; }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-social { justify-content: center; }

    /* --- Butonlar --- */
    .btn { padding: 12px 20px; font-size: 0.9rem; }

    /* --- Sayfalama --- */
    .pagination { flex-wrap: wrap; gap: 6px; }
}

/* ===== RESPONSIVE — Küçük Mobil (≤480px) ===== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero { padding: 50px 0 60px; }
    .hero-title { font-size: 1.75rem; }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .stat-number { font-size: 1.5rem !important; }
    .stat-label { font-size: 0.65rem !important; }

    .section-header { margin-bottom: 2rem; }
    .section-title { font-size: 1.5rem; }

    .project-title { font-size: 1.5rem; }
    .project-price-box { flex-direction: column; gap: 0.25rem; }

    .testimonial-card { padding: 1.25rem; }

    .contact-form .form-control,
    .contact-form textarea { font-size: 0.9rem; }

    .gallery-thumbs { gap: 6px; }
    .thumb { width: 60px; height: 46px; border-radius: 6px; }

    /* Nav butonları küçük ekranda da göster */
    .header .btn { padding: 8px 14px; font-size: 0.8rem; }

    /* Footer */
    .footer-top { padding: 3rem 0 2rem; }
}



/* ===== Theme Switcher ===== */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.theme-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.theme-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 200px;
    display: none;
}

.theme-options.active,
.theme-switcher:hover .theme-options {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-options h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #0f172a !important;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.theme-option:hover {
    background: var(--light-color);
}

.theme-option.active {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.theme-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.theme-name {
    flex: 1;
    text-align: left;
    font-weight: 500;
    color: #334155 !important;
}

.theme-option i {
    color: var(--success-color);
}

/* ===== Demos Section ===== */
.demos-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, var(--light-color) 100%);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.demo-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.demo-image {
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    position: relative;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-card:hover .demo-image img {
    transform: scale(1.08);
}

.demo-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.demo-live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.demo-content {
    padding: 1.5rem;
}

.demo-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.demo-description {
    color: var(--muted-color);
    margin-bottom: 1.2rem;
    line-height: 1.65;
    font-size: 0.93rem;
}

.demo-actions {
    display: flex;
    gap: 0.6rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

/* ===== Responsive for Theme Switcher ===== */
@media (max-width: 768px) {
    .theme-switcher {
        bottom: 20px;
        right: 20px;
    }
    
    .theme-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .demos-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 430px) {
    .container { padding: 0 14px; }
    .logo-image {
        height: 31px;
        max-width: 170px;
    }
    .quick-auth-btn {
        min-height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .quick-auth-btn span {
        display: none;
    }
    .quick-auth-btn {
        width: 36px;
        padding: 0;
    }
}
