style.css
:root {
--primary-color: #4a6bff;
--secondary-color: #ff6b6b;
--accent-color: #2d3748;
--text-color: #e2e8f0;
--text-secondary: #a0aec0;
--bg-color: #1a202c;
--bg-secondary: #2d3748;
--bg-tertiary: #4a5568;
--card-bg: #2d3748;
--border-color: #4a5568;
--shadow-color: rgba(0, 0, 0, 0.3);
--code-bg: #1e293b;
--code-color: #e2e8f0;
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
--primary-color: #3b5bdb;
--secondary-color: #f56565;
--accent-color: #4a5568;
--text-color: #2d3748;
--text-secondary: #718096;
--bg-color: #ffffff;
--bg-secondary: #f7fafc;
--bg-tertiary: #e2e8f0;
--card-bg: #ffffff;
--border-color: #e2e8f0;
--shadow-color: rgba(0, 0, 0, 0.1);
--code-bg: #f1f5f9;
--code-color: #2d3748;
}

{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
overflow-x: hidden;
transition: var(--transition);
}

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

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

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

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

.loading-text {
font-size: 2rem;
font-weight: 700;
margin-bottom: 20px;
color: var(--primary-color);
animation: pulse 1.5s infinite;
}

.loading-bar {
width: 200px;
height: 4px;
background-color: var(--bg-tertiary);
border-radius: 2px;
overflow: hidden;
margin: 0 auto;
}

.loading-bar::after {
content: '';
display: block;
width: 50px;
height: 100%;
background-color: var(--primary-color);
animation: loading 1.5s infinite;
}

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

@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}

/* Header */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(26, 32, 44, 0.9);
backdrop-filter: blur(10px);
z-index: 1000;
transition: var(--transition);
}

[data-theme="light"] .header {
background-color: rgba(255, 255, 255, 0.9);
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}

.logo-text {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
}

.nav-list {
display: flex;
list-style: none;
}

.nav-item {
margin-left: 30px;
}

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

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

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

.theme-toggle {
display: flex;
align-items: center;
margin-left: 30px;
}

.theme-icon {
margin: 0 10px;
font-size: 1.2rem;
}

.toggle-switch {
width: 50px;
height: 26px;
background-color: var(--bg-tertiary);
border-radius: 13px;
position: relative;
cursor: pointer;
transition: var(--transition);
}

.toggle-slider {
width: 22px;
height: 22px;
background-color: white;
border-radius: 50%;
position: absolute;
top: 2px;
left: 2px;
transition: var(--transition);
}

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

.mobile-menu-toggle {
display: none;
flex-direction: column;
cursor: pointer;
}

.hamburger {
width: 25px;
height: 3px;
background-color: var(--text-color);
margin: 3px 0;
transition: var(--transition);
}

/* Sections */
.section {
padding: 80px 0;
}

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

.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 15px;
color: var(--text-color);
}

.section-line {
width: 60px;
height: 4px;
background-color: var(--primary-color);
margin: 0 auto;
}

/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
padding-top: 80px;
}

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

.hero-title {
font-size: 3.5rem;
font-weight: 800;
line-height: 1.1;
margin-bottom: 20px;
}

.title-line {
display: block;
overflow: hidden;
}

.hero-subtitle {
font-size: 1.5rem;
font-weight: 500;
margin-bottom: 15px;
color: var(--text-secondary);
}

.hero-location {
font-size: 1.1rem;
margin-bottom: 40px;
color: var(--text-secondary);
}

.hero-cta {
display: flex;
gap: 20px;
}

.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 6px;
font-weight: 600;
text-decoration: none;
transition: var(--transition);
cursor: pointer;
border: none;
}

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

.btn-primary:hover {
background-color: #3a5bd9;
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(74, 107, 255, 0.3);
}

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

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

.hero-visual {
position: relative;
}

.code-block {
background-color: var(--code-bg);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 10px 30px var(--shadow-color);
transform: perspective(1000px) rotateY(-10deg);
transition: var(--transition);
}

.code-block:hover {
transform: perspective(1000px) rotateY(0deg);
}

.code-header {
display: flex;
padding: 10px;
background-color: var(--bg-tertiary);
}

.code-dot {
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 8px;
}

.code-dot:nth-child(1) {
background-color: #ff5f56;
}

.code-dot:nth-child(2) {
background-color: #ffbd2e;
}

.code-dot:nth-child(3) {
background-color: #27c93f;
}

.code-content {
padding: 20px;
overflow-x: auto;
}

code {
font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
font-size: 0.9rem;
line-height: 1.5;
color: var(--code-color);
}

/* About Section */
.about-content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 60px;
}

.about-text p {
margin-bottom: 20px;
font-size: 1.1rem;
line-height: 1.7;
}

.about-stats {
display: flex;
flex-direction: column;
justify-content: center;
}

.stat-item {
text-align: center;
margin-bottom: 30px;
}

.stat-number {
font-size: 3rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 5px;
}

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

/* Skills Section */
.skills-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}

.skill-category {
background-color: var(--card-bg);
border-radius: 8px;
padding: 30px;
box-shadow: 0 5px 15px var(--shadow-color);
transition: var(--transition);
}

.skill-category:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px var(--shadow-color);
}

.skill-category-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 20px;
color: var(--primary-color);
}

.skill-items {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.skill-item {
background-color: var(--bg-tertiary);
color: var(--text-color);
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
transition: var(--transition);
}

.skill-item:hover {
background-color: var(--primary-color);
color: white;
transform: scale(1.05);
}

/* Experience Section */
.timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
}

.timeline::before {
content: '';
position: absolute;
top: 0;
left: 50%;
width: 2px;
height: 100%;
background-color: var(--border-color);
transform: translateX(-50%);
}

.timeline-item {
position: relative;
margin-bottom: 50px;
width: 50%;
}

.timeline-item:nth-child(odd) {
left: 0;
padding-right: 40px;
text-align: right;
}

.timeline-item:nth-child(even) {
left: 50%;
padding-left: 40px;
}

.timeline-dot {
position: absolute;
top: 0;
width: 20px;
height: 20px;
background-color: var(--primary-color);
border-radius: 50%;
z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
left: -10px;
}

.timeline-content {
background-color: var(--card-bg);
padding: 20px 30px;
border-radius: 8px;
box-shadow: 0 5px 15px var(--shadow-color);
transition: var(--transition);
}

.timeline-content:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px var(--shadow-color);
}

.timeline-date {
font-size: 0.9rem;
color: var(--primary-color);
margin-bottom: 5px;
}

.timeline-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 5px;
}

.timeline-company {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 5px;
}

.timeline-location {
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 10px;
}

.timeline-description {
font-size: 1rem;
line-height: 1.6;
}

/* Projects Section */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}

.project-card {
background-color: var(--card-bg);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px var(--shadow-color);
transition: var(--transition);
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px var(--shadow-color);
}

.project-image {
height: 200px;
background-color: var(--bg-tertiary);
position: relative;
overflow: hidden;
}

.project-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: var(--transition);
}

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

.project-tech {
background-color: var(--primary-color);
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
}

.project-content {
padding: 20px;
}

.project-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 10px;
}

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

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

.project-link {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
position: relative;
transition: var(--transition);
}

.project-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-color);
transition: width 0.3s ease;
}

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

/* Education Section */
.education-content {
max-width: 800px;
margin: 0 auto;
}

.education-card {
display: flex;
align-items: center;
background-color: var(--card-bg);
padding: 30px;
border-radius: 8px;
box-shadow: 0 5px 15px var(--shadow-color);
transition: var(--transition);
}

.education-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px var(--shadow-color);
}

.education-icon {
margin-right: 30px;
}

.icon-graduation {
width: 60px;
height: 60px;
background-color: var(--primary-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
}

.education-degree {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 5px;
}

.education-institution {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 5px;
}

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

/* Contact Section */
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}

.contact-info p {
font-size: 1.1rem;
line-height: 1.7;
margin-bottom: 30px;
}

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

.contact-method {
display: flex;
align-items: center;
}

.contact-icon {
font-size: 1.5rem;
margin-right: 15px;
}

.contact-text {
font-size: 1.1rem;
}

.form-group {
margin-bottom: 20px;
}

input, textarea {
width: 100%;
padding: 12px 15px;
background-color: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 6px;
color: var(--text-color);
font-family: inherit;
font-size: 1rem;
transition: var(--transition);
}

input:focus, textarea:focus {
outline: none;
border-color: var(--primary-color);
}

/* Footer */
.footer {
background-color: var(--bg-secondary);
padding: 40px 0;
}

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

.footer-social {
display: flex;
gap: 20px;
}

.social-link {
color: var(--text-color);
text-decoration: none;
font-weight: 500;
transition: var(--transition);
}

.social-link:hover {
color: var(--primary-color);
}

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

/* Animations */
.animate-on-load {
opacity: 0;
transform: translateY(30px);
}

.animate-on-load.animated {
animation: fadeInUp 0.8s ease forwards;
}

.animate-on-load.delay-1 {
animation-delay: 0.2s;
}

.animate-on-load.delay-2 {
animation-delay: 0.4s;
}

.animate-on-load.delay-3 {
animation-delay: 0.6s;
}

.animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
.hero-content {
grid-template-columns: 1fr;
gap: 40px;
}

.about-content {
grid-template-columns: 1fr;
gap: 40px;
}

.contact-content {
grid-template-columns: 1fr;
gap: 40px;
}

.timeline::before {
left: 30px;
}

.timeline-item {
width: 100%;
padding-left: 70px;
padding-right: 0;
text-align: left;
}

.timeline-item:nth-child(even) {
left: 0;
}

.timeline-dot {
left: 20px !important;
}
}

@media (max-width: 768px) {
.nav-list {
display: none;
}

.mobile-menu-toggle {
display: flex;
}

.theme-toggle {
margin-left: 15px;
}

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

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

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

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

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

.footer-content {
flex-direction: column;
gap: 20px;
text-align: center;
}
}

@media (max-width: 576px) {
.hero {
padding-top: 120px;
}

.hero-cta {
flex-direction: column;
gap: 15px;
}

.btn {
width: 100%;
text-align: center;
}

.stat-item {
margin-bottom: 20px;
}

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

.education-card {
flex-direction: column;
text-align: center;
}

.education-icon {
margin-right: 0;
margin-bottom: 20px;
}
}

