/* ============================================
   SAAS PORTFOLIO - BENTO GRID DESIGN
   Adaptive Theme + High Contrast
   ============================================ */

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

/* CSS Variables */
:root {
    color-scheme: dark;

    /* Dark Mode Colors */
    --bg-primary: #05070c;
    --bg-secondary: #0a0d16;
    --bg-card: rgba(15, 18, 24, 0.78);
    --bg-card-hover: rgba(24, 29, 38, 0.92);
    --bg-elevated: rgba(255, 255, 255, 0.045);
    --surface-soft: rgba(255, 255, 255, 0.035);
    --icon-surface: rgba(255, 255, 255, 0.055);
    --icon-surface-hover: rgba(255, 255, 255, 0.085);
    --navbar-bg: rgba(4, 6, 10, 0.78);
    --nav-menu-bg: rgba(4, 6, 10, 0.96);
    --nav-link-hover: rgba(255, 255, 255, 0.06);
    --input-bg: rgba(255, 255, 255, 0.04);
    --tag-muted-bg: rgba(255, 255, 255, 0.055);
    --button-contrast: #02120b;
    --overlay-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 100%);
    
    /* High Contrast Accents */
    --accent-primary: #00ff88;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #8b5cf6;
    --accent-warning: #fbbf24;
    --accent-primary-rgb: 0, 255, 136;
    --accent-secondary-rgb: 0, 212, 255;
    --accent-tertiary-rgb: 139, 92, 246;
    --ambient-primary-rgb: 42, 116, 255;
    --ambient-secondary-rgb: 123, 92, 255;
    --ambient-tertiary-rgb: 0, 180, 216;
    --mouse-trail-primary: 0, 194, 255;
    --mouse-trail-secondary: 94, 23, 235;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #00d4ff 100%);
    --gradient-card: linear-gradient(135deg, rgba(18, 22, 30, 0.92) 0%, rgba(11, 15, 22, 0.7) 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --text-tertiary: #666666;
    
    /* Border & Effects */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 255, 136, 0.3);
    --glow-primary: 0 0 40px rgba(0, 255, 136, 0.15);
    --glow-secondary: 0 0 40px rgba(0, 212, 255, 0.15);
    --card-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --card-shine: rgba(255, 255, 255, 0.12);
    --grid-line: rgba(255, 255, 255, 0.025);
    --orb-opacity: 0.32;
    
    /* Spacing */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="light"] {
    color-scheme: light;

    --bg-primary: #f7fafc;
    --bg-secondary: #eef7f5;
    --bg-card: rgba(255, 255, 255, 0.86);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-elevated: rgba(13, 23, 32, 0.045);
    --surface-soft: rgba(13, 23, 32, 0.035);
    --icon-surface: rgba(13, 23, 32, 0.055);
    --icon-surface-hover: rgba(13, 23, 32, 0.085);
    --navbar-bg: rgba(255, 255, 255, 0.82);
    --nav-menu-bg: rgba(255, 255, 255, 0.96);
    --nav-link-hover: rgba(0, 119, 182, 0.08);
    --input-bg: rgba(255, 255, 255, 0.75);
    --tag-muted-bg: rgba(13, 23, 32, 0.06);
    --button-contrast: #03130d;
    --overlay-gradient: linear-gradient(to top, rgba(13, 23, 32, 0.68) 0%, transparent 100%);

    --accent-primary: #00a66a;
    --accent-secondary: #0077b6;
    --accent-tertiary: #6d5dfc;
    --accent-warning: #d97706;
    --accent-primary-rgb: 0, 166, 106;
    --accent-secondary-rgb: 0, 119, 182;
    --accent-tertiary-rgb: 109, 93, 252;
    --ambient-primary-rgb: 0, 119, 182;
    --ambient-secondary-rgb: 109, 93, 252;
    --ambient-tertiary-rgb: 0, 166, 106;
    --mouse-trail-primary: 0, 119, 182;
    --mouse-trail-secondary: 109, 93, 252;

    --gradient-primary: linear-gradient(135deg, #00b86b 0%, #0099c9 100%);
    --gradient-secondary: linear-gradient(135deg, #7357f6 0%, #0099c9 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 251, 250, 0.76) 100%);

    --text-primary: #0d1720;
    --text-secondary: #536271;
    --text-tertiary: #7a8795;

    --border-color: rgba(14, 37, 54, 0.12);
    --border-hover: rgba(0, 166, 106, 0.34);
    --glow-primary: 0 18px 50px rgba(0, 166, 106, 0.14);
    --glow-secondary: 0 18px 50px rgba(0, 119, 182, 0.14);
    --card-shadow: 0 22px 70px rgba(13, 35, 49, 0.1);
    --card-shine: rgba(255, 255, 255, 0.72);
    --grid-line: rgba(15, 57, 74, 0.045);
    --orb-opacity: 0.34;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    position: relative;
}

.loader-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-circle-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 3;
}

.loader-circle-progress {
    fill: none;
    stroke: url(#loaderGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: loaderCircle 3s ease-in-out forwards;
}

@keyframes loaderCircle {
    0% {
        stroke-dashoffset: 283;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-icon i {
    display: block;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.loader-name .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-dots {
    display: flex;
    gap: 8px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: loaderDots 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loaderDots {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loaderBar 3s ease-in-out forwards;
    box-shadow: 0 0 10px var(--accent-primary);
}

@keyframes loaderBar {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Body hidden during loading */
body.loading {
    overflow: hidden;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 15% -10%, rgba(var(--ambient-primary-rgb), 0.14), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(var(--ambient-secondary-rgb), 0.12), transparent 32%),
        radial-gradient(circle at 50% 110%, rgba(var(--ambient-tertiary-rgb), 0.08), transparent 34%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* Subtle Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    opacity: var(--orb-opacity);
    transition: opacity 0.35s ease, background 0.35s ease;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--ambient-primary-rgb), 0.2) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--ambient-secondary-rgb), 0.16) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
}

.gradient-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--ambient-tertiary-rgb), 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: var(--transition-medium);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--nav-link-hover);
}

.nav-links a.active {
    color: var(--accent-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-toggle {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 999px;
}

.language-option {
    min-width: 34px;
    height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-fast);
}

.language-option:hover {
    color: var(--text-primary);
}

.language-option.active {
    color: var(--button-contrast);
    background: var(--gradient-primary);
    box-shadow: 0 8px 22px rgba(var(--accent-primary-rgb), 0.2);
}

.language-option:focus-visible {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
}

.theme-toggle {
    width: 68px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    box-shadow: var(--glow-secondary);
}

.theme-toggle-track {
    position: relative;
    width: 58px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.theme-toggle i {
    position: relative;
    z-index: 2;
    font-size: 0.78rem;
    transition: var(--transition-fast);
}

.theme-toggle .fa-moon {
    color: #ffffff;
}

.theme-toggle .fa-sun {
    color: var(--accent-warning);
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px rgba(var(--accent-primary-rgb), 0.22);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

html[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(30px);
}

html[data-theme="light"] .theme-toggle .fa-moon {
    color: var(--text-tertiary);
}

html[data-theme="light"] .theme-toggle .fa-sun {
    color: #ffffff;
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 3px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

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

/* ============================================
   HERO SECTION - BENTO STYLE
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
}

.hero-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    width: 100%;
}

/* Bento Card Base */
.bento-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-shine), transparent);
    opacity: 0;
    transition: var(--transition-medium);
}

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

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

/* Hero Main Card */
.hero-main {
    grid-column: span 8;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    width: fit-content;
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--button-contrast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(var(--accent-primary-rgb), 0.28);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--nav-link-hover);
    border-color: var(--border-hover);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Hero Profile Card */
.hero-profile {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
}

.profile-image-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    transition: var(--transition-medium);
}

.hero-profile:hover .profile-image {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px rgba(var(--accent-primary-rgb), 0.2);
}

.profile-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border: 4px solid var(--bg-card);
    border-radius: 50%;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-role {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.profile-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 1.1rem;
}

.social-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--button-contrast);
    transform: translateY(-2px);
}

/* Hero Stats Cards */
.hero-stat {
    grid-column: span 3;
    text-align: center;
    padding: 28px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   BENTO GRID SECTIONS
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--accent-secondary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-secondary-rgb), 0.22);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.about-main {
    grid-column: span 7;
    padding: 40px;
}

.about-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-main h3 i {
    color: var(--accent-primary);
}

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

.about-image {
    grid-column: span 5;
    min-height: 350px;
    padding: 0;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skills Card */
.skills-card {
    grid-column: span 6;
    padding: 36px;
}

.skills-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-card h3 i {
    color: var(--accent-secondary);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.skill-name {
    font-weight: 600;
}

.skill-percent {
    color: var(--accent-primary);
}

.skill-bar {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-overview {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.skill-overview-card {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.skill-overview-number {
    color: var(--accent-primary);
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.skill-overview-label {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.skill-overview p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

.skill-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.skill-project-item {
    min-height: 172px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.skill-project-item:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
}

.skill-stack-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.skill-stack-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    background: var(--icon-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 var(--card-shine);
}

.skill-stack-head h4 {
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.skill-stack-head small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.skill-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.skill-projects a {
    --chip-cover: none;
    --chip-tint-rgb: var(--accent-secondary-rgb);
    --chip-cover-opacity: 0.18;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--text-primary);
    background: var(--surface-soft);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: inset 0 1px 0 var(--card-shine);
    transition: var(--transition-fast);
}

.skill-projects a::before,
.skill-projects a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.skill-projects a::before {
    z-index: -2;
    background-image: var(--chip-cover);
    background-size: cover;
    background-position: var(--chip-position, center);
    opacity: var(--chip-cover-opacity);
    filter: saturate(0.92) contrast(1.05);
    transform: scale(1.08);
    transition: var(--transition-medium);
}

.skill-projects a::after {
    z-index: -1;
    background:
        linear-gradient(90deg, var(--bg-card) 0%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(135deg, rgba(var(--chip-tint-rgb), 0.13), rgba(var(--chip-tint-rgb), 0.04));
}

.skill-projects a:hover {
    color: var(--text-primary);
    border-color: rgba(var(--chip-tint-rgb), 0.34);
    background: var(--bg-elevated);
    transform: translateY(-1px);
}

.skill-projects a:hover::before {
    opacity: 0.28;
    transform: scale(1.02);
}

.chip-booktracker {
    --chip-cover: url("images/book-tracker.png");
    --chip-position: center right;
    --chip-tint-rgb: 0, 119, 182;
}

.chip-stucheck {
    --chip-cover: url("images/web-api-image.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 119, 182;
}

.chip-realestate {
    --chip-cover: url("images/real-estate.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 166, 106;
}

.chip-pathtouni {
    --chip-cover: url("images/pathtouni/unnamed.jpg");
    --chip-position: center top;
    --chip-tint-rgb: 0, 166, 106;
}

.chip-fishify {
    --chip-cover: url("images/fishify/unnamed.jpg");
    --chip-position: center;
    --chip-tint-rgb: 0, 119, 182;
}

.chip-tarot {
    --chip-cover: url("images/tarotWhisper.png");
    --chip-position: center;
    --chip-tint-rgb: 109, 93, 252;
}

.chip-cortex {
    --chip-cover: url("images/CORTEX-pp.png");
    --chip-position: center;
    --chip-tint-rgb: 109, 93, 252;
}

.chip-parkinson {
    --chip-cover: url("images/personal-parkinson.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 119, 182;
}

.chip-readmission {
    --chip-cover: url("images/predict-diabet.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 166, 106;
}

.chip-stock {
    --chip-cover: url("images/stock-predictor.png");
    --chip-position: center;
    --chip-tint-rgb: 217, 119, 6;
}

.chip-polymetrics {
    --chip-cover: url("images/POLYMETRICS-pp.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 119, 182;
}

.chip-justion {
    --chip-cover: url("images/JUSTION-pp.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 166, 106;
}

.chip-fabrika {
    --chip-cover: url("images/FABRIC_ANALYSER-pp.png");
    --chip-position: center;
    --chip-tint-rgb: 109, 93, 252;
}

.chip-market {
    --chip-cover: url("images/marketApp.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 166, 106;
}

.chip-restaurant {
    --chip-cover: url("images/caller-restourant.png");
    --chip-position: center;
    --chip-tint-rgb: 217, 119, 6;
}

.chip-priceradar {
    --chip-cover: url("images/priceRadar.png");
    --chip-position: center;
    --chip-tint-rgb: 0, 119, 182;
}

html[data-theme="light"] .skill-projects a {
    --chip-cover-opacity: 0.14;
}

/* Experience Card */
.experience-card {
    grid-column: span 6;
    padding: 36px;
}

.experience-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-card h3 i {
    color: var(--accent-tertiary);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-item {
    --experience-bg-image: none;
    --experience-bg-opacity: 0;
    --experience-bg-position: center right;
    display: flex;
    gap: 16px;
    padding: 16px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.experience-item::before,
.experience-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.experience-item::before {
    z-index: -2;
    background-image: var(--experience-bg-image);
    background-size: cover;
    background-position: var(--experience-bg-position);
    opacity: var(--experience-bg-opacity);
    filter: saturate(0.86) contrast(1.02);
    transition: var(--transition-medium);
}

.experience-item::after {
    z-index: -1;
    background: linear-gradient(90deg, var(--bg-card) 0%, var(--surface-soft) 42%, rgba(255, 255, 255, 0) 82%);
    opacity: 0;
}

.experience-company {
    --experience-bg-opacity: 0.12;
}

.experience-company::after {
    opacity: 1;
}

.experience-sasa {
    --experience-bg-image: url("companies-logos/sasa-background.jpg");
    --experience-bg-position: center right;
}

.experience-vestel {
    --experience-bg-image: url("companies-logos/vestel-background.jpg");
    --experience-bg-position: center right;
}

.experience-item > * {
    position: relative;
    z-index: 1;
}

.experience-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
}

.experience-company:hover::before {
    opacity: 0.17;
}

html[data-theme="dark"] .experience-company {
    --experience-bg-opacity: 0.09;
}

html[data-theme="dark"] .experience-company:hover::before {
    opacity: 0.14;
}

.exp-icon {
    width: 48px;
    height: 48px;
    background: var(--icon-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-secondary);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 var(--card-shine);
    transition: var(--transition-fast);
}

.experience-item:hover .exp-icon {
    background: var(--icon-surface-hover);
    border-color: var(--border-hover);
}

.exp-logo {
    padding: 0;
    background: transparent;
    border-color: transparent;
    overflow: hidden;
    box-shadow: none;
}

.experience-item:hover .exp-logo {
    background: transparent;
    border-color: transparent;
}

.exp-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.exp-logo-brand,
.exp-logo-university {
    background: rgba(255, 255, 255, 0.92);
    padding: 0;
}

.exp-logo-brand img {
    object-fit: cover;
    transform: scale(1.08);
}

.exp-logo-university img {
    object-fit: contain;
    transform: scale(1.38);
}

.exp-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.exp-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.project-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-medium);
    position: relative;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

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

/* Project Card Sizes */
.project-card.large {
    grid-column: span 8;
}

.project-card.medium {
    grid-column: span 6;
}

.project-card.small {
    grid-column: span 4;
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-card.large .project-image {
    height: 280px;
}

.projects-bento .project-card.miron-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    min-height: 360px;
}

.projects-bento .project-card.miron-featured .project-image {
    height: 100%;
    min-height: 360px;
}

.projects-bento .project-card.miron-featured .project-image img {
    object-position: center;
}

.projects-bento .project-card.miron-featured .project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
}

.projects-bento .project-card.miron-featured .project-title {
    max-width: 680px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.projects-bento .project-card.miron-featured .project-description {
    max-width: 680px;
    font-size: 1.05rem;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-gradient);
    opacity: 0;
    transition: var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.project-content {
    padding: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tag {
    padding: 6px 12px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-card.large .project-title {
    font-size: 1.5rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-fast);
}

.project-link.primary {
    background: var(--gradient-primary);
    color: var(--button-contrast);
}

.project-link.secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.project-link:hover {
    transform: translateY(-2px);
}

.project-link.primary:hover {
    box-shadow: 0 10px 30px rgba(var(--accent-primary-rgb), 0.2);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.blog-card {
    grid-column: span 4;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-medium);
    position: relative;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.blog-card.featured {
    grid-column: span 6;
}

.blog-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--icon-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: inset 0 1px 0 var(--card-shine);
}

.blog-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.blog-date .month {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.blog-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(var(--accent-secondary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-secondary-rgb), 0.22);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
}

.blog-card.featured h3 {
    font-size: 1.35rem;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.blog-tag {
    padding: 4px 10px;
    background: var(--tag-muted-bg);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.blog-card.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    border-style: dashed;
}

.blog-card.coming-soon h3 {
    font-size: 1.25rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.service-card {
    grid-column: span 6;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-medium);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--icon-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 var(--card-shine);
}

.service-card:nth-child(2) .service-icon {
    background: var(--icon-surface);
    color: var(--accent-secondary);
}

.service-card:nth-child(3) .service-icon {
    background: var(--icon-surface);
    color: var(--accent-tertiary);
}

.service-card:nth-child(4) .service-icon {
    background: var(--icon-surface);
    color: var(--accent-warning);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.contact-info-card {
    grid-column: span 5;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.contact-item span,
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-primary);
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.contact-form-card {
    grid-column: span 7;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.1);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

footer .highlight {
    color: var(--accent-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-main {
        grid-column: span 7;
    }
    
    .hero-profile {
        grid-column: span 5;
    }
    
    .project-card.large {
        grid-column: span 12;
    }
    
    .project-card.medium,
    .project-card.small {
        grid-column: span 6;
    }
}

@media (max-width: 992px) {
    .hero-bento {
        grid-template-columns: 1fr;
    }
    
    .hero-main,
    .hero-profile,
    .hero-stat {
        grid-column: span 12;
    }
    
    .hero-stat {
        grid-column: span 4;
    }
    
    .about-main,
    .about-image,
    .skills-card,
    .experience-card {
        grid-column: span 12;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .skills-card,
    .experience-card {
        grid-column: span 6;
    }
    
    .project-card.large,
    .project-card.medium,
    .project-card.small {
        grid-column: span 6;
    }

    .projects-bento .project-card.miron-featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .projects-bento .project-card.miron-featured .project-image {
        height: 300px;
        min-height: 0;
    }
    
    .blog-card,
    .blog-card.featured {
        grid-column: span 6;
    }
    
    .service-card {
        grid-column: span 6;
    }
    
    .contact-info-card,
    .contact-form-card {
        grid-column: span 12;
    }
}

@media (max-width: 880px) {
    .navbar {
        padding: 12px 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-menu-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    /* Özel Mobil Sadeleştirme ve Boyut Küçültmeleri */
    .mobile-hide {
        display: none !important;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .hero-stat {
        grid-column: span 6;
        padding: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
    
    .bento-card {
        padding: 20px;
    }
    
    .hero-main {
        padding: 24px;
        min-height: auto;
    }
    
    .profile-image {
        width: 140px;
        height: 140px;
    }

    .skills-card,
    .experience-card {
        grid-column: span 12;
    }

    .skill-project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.large,
    .project-card.medium,
    .project-card.small {
        grid-column: span 12;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }

    .about-main p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .blog-card,
    .blog-card.featured {
        grid-column: span 12;
    }
    
    .service-card {
        grid-column: span 12;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    .navbar .container {
        gap: 12px;
    }

    .logo {
        gap: 8px;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .logo span {
        font-size: 1.05rem;
    }

    .nav-actions {
        gap: 8px;
    }

    .language-toggle {
        height: 34px;
    }

    .language-option {
        min-width: 32px;
        height: 26px;
        padding: 0 8px;
        font-size: 0.7rem;
    }

    .theme-toggle {
        width: 60px;
        height: 34px;
    }

    .theme-toggle-track {
        width: 50px;
        height: 26px;
    }

    .theme-toggle-thumb {
        width: 22px;
        height: 22px;
    }

    html[data-theme="light"] .theme-toggle-thumb {
        transform: translateX(24px);
    }

    .skill-overview {
        grid-template-columns: 1fr;
    }

    .skill-overview-card {
        min-height: 78px;
    }
}

@media (max-width: 480px) {
    .hero-stat {
        grid-column: span 12;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-socials {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        width: 100%;
        justify-content: center;
    }

    .projects-bento .project-card.miron-featured .project-image {
        height: 230px;
    }
}

@media (max-width: 420px) {
    .logo span {
        display: none;
    }
}

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

.bento-card {
    animation: fadeInUp 0.6s ease forwards;
}

.bento-card:nth-child(1) { animation-delay: 0.1s; }
.bento-card:nth-child(2) { animation-delay: 0.2s; }
.bento-card:nth-child(3) { animation-delay: 0.3s; }
.bento-card:nth-child(4) { animation-delay: 0.4s; }
.bento-card:nth-child(5) { animation-delay: 0.5s; }
.bento-card:nth-child(6) { animation-delay: 0.6s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Selection */
::selection {
    background: rgba(var(--accent-primary-rgb), 0.3);
    color: var(--text-primary);
}
