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

:root {
    /* Color Palette - Mavi, Kırmızı, Siyah, Beyaz Tema */
    --primary-black: #000000; /* Siyah */
    --secondary-black: #1a1a1a; /* Koyu siyah */
    --white: #ffffff; /* Beyaz */
    --red-accent: #dc2626; /* Kırmızı */
    --blue-accent: #2563eb; /* Mavi */
    --light-blue: #3b82f6; /* Açık mavi */
    --gray-light: #f8fafc; /* Çok açık gri */
    --gray-medium: #64748b; /* Orta gri */
    --gray-dark: #1f2937; /* Koyu gri */
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loading-container {
    text-align: center;
    color: var(--white);
    max-width: 500px;
    padding: var(--spacing-xl);
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-3xl);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.loading-logo i {
    color: var(--red-accent);
    font-size: var(--font-size-5xl);
    animation: shieldPulse 1.5s ease-in-out infinite;
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 30px rgba(59, 130, 246, 0.3);
    }
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.loading-progress {
    margin-bottom: var(--spacing-3xl);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-accent), var(--blue-accent));
    border-radius: var(--radius-sm);
    width: 0%;
    animation: progressFill 3s ease-in-out forwards;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    20% { width: 25%; }
    40% { width: 50%; }
    60% { width: 75%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-text {
    font-size: var(--font-size-lg);
    color: var(--gray-light);
    animation: textFade 2s ease-in-out infinite alternate;
}

@keyframes textFade {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.loading-binary {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-xl);
    color: var(--light-blue);
    opacity: 0.7;
    animation: binaryFloat 3s ease-in-out infinite;
}

.loading-binary span {
    display: block;
    animation: binaryFlicker 0.5s ease-in-out infinite alternate;
}

.loading-binary span:nth-child(1) { animation-delay: 0s; }
.loading-binary span:nth-child(2) { animation-delay: 0.1s; }

/* Enhanced Loading Screen Styles */
.logo-icon {
    position: relative;
    transition: transform 0.5s ease;
}

.shield-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s ease;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.logo-text {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-subtitle {
    font-size: var(--font-size-lg);
    color: var(--light-blue);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-accent), var(--blue-accent), var(--red-accent));
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    width: 0%;
    transition: width 0.3s ease;
    animation: gradientShift 2s ease-in-out infinite;
    position: relative;
}

.progress-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    border-radius: var(--radius-sm);
    transition: left 0.3s ease;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.progress-percentage {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--white);
    min-width: 50px;
    text-align: right;
}

.loading-message {
    font-size: var(--font-size-lg);
    color: var(--gray-light);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.loading-dots {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
}

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

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.binary-stream {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-sm);
    color: var(--light-blue);
    opacity: 0;
    transition: opacity 1s ease;
    max-width: 400px;
    margin: 0 auto;
}

.binary-stream span {
    display: inline-block;
    padding: var(--spacing-xs);
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: binaryFlicker 2s ease-in-out infinite alternate;
}

.binary-stream span:nth-child(odd) { animation-delay: 0s; }
.binary-stream span:nth-child(even) { animation-delay: 0.5s; }

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

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

.floating-icon {
    position: absolute;
    font-size: var(--font-size-xl);
    color: rgba(220, 38, 38, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.floating-icon:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 1s;
}

.floating-icon:nth-child(4) {
    bottom: 35%;
    right: 10%;
    animation-delay: 1.5s;
}

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

.loading-screen.fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s ease;
}
.loading-binary span:nth-child(3) { animation-delay: 0.2s; }
.loading-binary span:nth-child(4) { animation-delay: 0.3s; }

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

@keyframes binaryFlicker {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.nav-logo i {
    color: var(--red-accent);
    font-size: var(--font-size-2xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--red-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-accent);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--blue-accent) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(220, 38, 38, 0.8) 50%, rgba(37, 99, 235, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-main {
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: transparent;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: var(--font-size-lg);
}

.btn-primary {
    background: var(--red-accent);
    color: var(--white);
    border-color: var(--red-accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--red-accent);
    border-color: var(--red-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    position: relative;
    width: 350px;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    padding: var(--spacing-lg);
}

.profile-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--white);
    font-weight: 600;
    background: rgba(220, 38, 38, 0.9);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.profile-badge i {
    color: var(--white);
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
}

.binary-code {
    position: absolute;
    top: 20%;
    right: 10%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-2xl);
    color: var(--light-blue);
    animation: float 6s ease-in-out infinite;
}

.binary-code span {
    display: block;
    opacity: 0.6;
}

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

/* Section Styles */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--red-accent), var(--blue-accent));
    border-radius: var(--radius-sm);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.about-text h3 {
    font-size: var(--font-size-3xl);
    color: var(--primary-black);
    margin-bottom: var(--spacing-lg);
}

.about-text p {
    font-size: var(--font-size-lg);
    color: var(--gray-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.skill-item i {
    font-size: var(--font-size-xl);
    color: var(--red-accent);
}

.skill-item span {
    font-weight: 600;
    color: var(--primary-black);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--red-accent);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--gray-dark);
    font-weight: 600;
}

/* Certifications Section */
.certifications {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--blue-accent) 100%);
    color: var(--white);
}

.certifications .section-title {
    color: var(--white);
}

.certifications .section-subtitle {
    color: var(--gray-light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.cert-card {
    background: transparent;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.cert-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.cert-card-front,
.cert-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-card-front {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.cert-card-back {
    background: rgba(220, 38, 38, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    box-shadow: var(--shadow-md);
    transform: rotateY(180deg);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--red-accent), var(--blue-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.cert-icon i {
    font-size: var(--font-size-3xl);
    color: var(--white);
}

.cert-card h3 {
    font-size: var(--font-size-xl);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cert-card h4 {
    font-size: var(--font-size-lg);
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cert-org {
    color: var(--gray-light);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.cert-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.cert-date {
    background: rgba(220, 38, 38, 0.8);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.cert-level {
    background: rgba(37, 99, 235, 0.8);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.skill-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cert-description {
    color: var(--gray-light);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--white);
    font-size: var(--font-size-sm);
}

.detail-item i {
    color: var(--red-accent);
    width: 20px;
    text-align: center;
}

/* Education Section */
.education {
    background: var(--gray-light);
}

/* Academic Background Section */
.academic {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--blue-accent) 100%);
    color: var(--white);
}

.academic .section-title {
    color: var(--white);
}

.academic .section-subtitle {
    color: var(--gray-light);
}

.academic .timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.academic .timeline-content h3 {
    color: var(--white);
}

.academic .timeline-desc {
    color: var(--gray-light);
}

.education-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--red-accent), var(--blue-accent));
    border-radius: var(--radius-sm);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-3xl);
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--red-accent);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: var(--font-size-2xl);
    color: var(--primary-black);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.timeline-org {
    color: var(--red-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.timeline-desc {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.timeline-date {
    display: inline-block;
    background: var(--red-accent);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
}


/* Blog Section */
.blog {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red-accent);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--red-accent), var(--blue-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-image i {
    font-size: var(--font-size-5xl);
    color: var(--white);
    z-index: 1;
}

.blog-content {
    padding: var(--spacing-xl);
}

.blog-content h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-black);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    color: var(--gray-medium);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.blog-read-more {
    color: var(--red-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--blue-accent);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--blue-accent) 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-subtitle {
    color: var(--gray-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: var(--font-size-2xl);
    color: var(--red-accent);
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    font-size: var(--font-size-lg);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-light);
    font-size: var(--font-size-base);
}

.contact-item a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--red-accent);
    text-decoration: none;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.footer-logo i {
    color: var(--red-accent);
    font-size: var(--font-size-3xl);
}

.footer-content p {
    color: var(--gray-light);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-black);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: var(--font-size-xl);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--red-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .skills {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .education-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 5px;
    }
    
    .binary-code {
        display: none;
    }
    
    .profile-card {
        width: 280px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-base);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--red-accent);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-accent);
}
