/* ============================================
   İrfan Öngüç - Modern Dark Portfolio
   Premium Dark Theme with Glassmorphism
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Palette */
    --bg-deep: #06060f;
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f23;
    --bg-card: rgba(15, 15, 35, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1033 50%, #0d1b2a 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-accent2: linear-gradient(135deg, var(--accent-purple), var(--accent-rose));
    --gradient-emerald: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 212, 255, 0.05));

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 212, 255, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.15);
    --shadow-glow-purple: 0 0 30px rgba(124, 58, 237, 0.15);

    /* Spacing */
    --section-padding: 6rem 0;
    --container-max: 1200px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 6, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 6, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo a {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition);
    border-radius: 1px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

/* Animated background orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: pulse-orb 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    animation: pulse-orb 10s ease-in-out infinite reverse;
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--accent-emerald);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-card {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    min-width: 110px;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow-cyan);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.5s both;
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Hero Visual - Tech Stack */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.tech-orbit {
    position: relative;
    width: 340px;
    height: 340px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.orbit-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbit-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-direction: reverse;
    animation-duration: 20s;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tech-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-cyan);
    z-index: 10;
    padding: 5px;
}

.tech-center .profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-surface);
    border: 4px solid var(--bg-main);
}

.floating-tech {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
    cursor: default;
}

.floating-tech:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow-cyan);
    transform: scale(1.05);
}

.floating-tech.t1 { top: 0%; left: 50%; transform: translateX(-50%); animation-delay: 0s; } /* .NET */
.floating-tech.t2 { top: 25%; right: -10%; animation-delay: 1s; } /* Java */
.floating-tech.t3 { bottom: 30%; right: -10%; animation-delay: 2s; } /* MongoDB */
.floating-tech.t4 { top: 25%; left: -10%; animation-delay: 3s; } /* SQL */
.floating-tech.t5 { bottom: 30%; left: -10%; animation-delay: 4s; } /* Flutter */
.floating-tech.t6 { bottom: 0%; left: 20%; animation-delay: 5s; } /* Android */
.floating-tech.t7 { bottom: 0%; right: 20%; animation-delay: 6s; } /* iOS */

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

.floating-tech.t1:hover {
    transform: translateX(-50%) scale(1.05);
}

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

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Alt-section backgrounds */
.section-dark {
    background: var(--bg-primary);
}

.section-darker {
    background: var(--bg-secondary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-primary);
}

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

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--accent-cyan);
}

.about-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    padding: 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-glass-hover);
}

.highlight-item .hi-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.highlight-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), transparent);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.75rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    z-index: 1;
    margin-left: -6px;
}

.timeline-item:last-child::before {
    border-color: var(--accent-purple);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills {
    background: var(--bg-secondary);
}

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

.skill-card {
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-cyan);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.skill-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.skill-icon.mobile { background: rgba(0, 212, 255, 0.15); color: var(--accent-cyan); }
.skill-icon.backend { background: rgba(124, 58, 237, 0.15); color: var(--accent-purple); }
.skill-icon.database { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.skill-icon.tools { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-primary);
}

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

.service-card {
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-purple);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.35rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: var(--bg-secondary);
}

/* Filter */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: inherit;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
}

/* Featured Projects (large cards) */
.featured-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.featured-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

@media (min-width: 992px) {
    .featured-projects {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .featured-card {
        flex-direction: row;
    }
}

.featured-img-area {
    width: 100%;
    min-height: 200px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

@media (min-width: 992px) {
    .featured-img-area {
        width: 320px;
        min-height: auto;
    }
}

.featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-card .card-header {
    padding: 2rem 2rem 1rem;
    flex: 1;
}

.featured-card .card-year {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-card .card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0;
}

.featured-card .card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.featured-card .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-badge {
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-links {
    display: flex;
    gap: 0.5rem;
}

.card-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    cursor: pointer;
}

.card-link:hover {
    background: var(--accent-cyan);
    color: white;
    border-color: var(--accent-cyan);
}

/* Project Grid (smaller cards) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.project-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-cyan);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gradient-card);
}

/* Logos that are not screenshots */
.project-image img.store-logo, .featured-img-area img.store-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.05);
    padding: 2px;
}

.featured-img-area img.store-logo {
    width: 140px;
    height: 140px;
    border-radius: 28px;
}

.project-card:hover .project-image img.store-logo, .featured-card:hover .featured-img-area img.store-logo {
    transform: translate(-50%, -50%) scale(1.1) rotate(3deg);
}

.privacy-visual {
    font-size: 5rem;
    filter: drop-shadow(0 0 15px var(--accent-cyan));
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 15, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-project {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-project:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-show-more {
    padding: 0.75rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-show-more:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: var(--bg-glass-hover);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    z-index: 1;
}

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

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.testimonial-text {
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -5px;
    font-size: 4.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem 0;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

.platform-badge.linkedin {
    background: rgba(0, 119, 181, 0.15);
    color: #4db8e8;
}

.platform-badge.armut {
    background: rgba(255, 102, 0, 0.15);
    color: #ff8833;
}

.testimonial-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: var(--accent-amber);
    font-size: 0.9rem;
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    background: var(--bg-glass);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.nav-btn:hover {
    background: var(--accent-cyan);
    color: white;
    border-color: var(--accent-cyan);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    background: var(--bg-glass);
    color: var(--text-secondary);
    border-color: var(--border-glass);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-glass);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-cyan);
    width: 24px;
    border-radius: 4px;
}

.dot:hover {
    background: var(--accent-cyan);
    opacity: 0.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-glass-hover);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 2rem;
    border-radius: 18px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 { margin-bottom: 1rem; color: var(--text-primary); font-size: 1.15rem; }
.footer-section h4 { margin-bottom: 1rem; color: var(--text-primary); font-size: 1rem; }

.footer-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    margin: 4% auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close:hover {
    color: var(--accent-rose);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10000;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        transform: scale(0.8);
        order: -1;
        margin-bottom: -1rem;
        margin-top: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: rgba(6, 6, 15, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-glass);
        gap: 0;
    }

    .nav-menu a {
        padding: 0.75rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-card {
        padding: 0.75rem 1rem;
        min-width: 90px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text p {
        font-size: 0.95rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-rating {
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-highlight {
        grid-template-columns: 1fr;
    }

    .featured-card .card-header {
        padding: 1.5rem 1.5rem 0.75rem;
    }

    .featured-card .card-footer {
        padding: 0.75rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1s !important;
    }
    html {
        scroll-behavior: auto;
    }
    .testimonials-slider {
        transition: none;
    }
}
