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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

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

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: #fbbf24;
    color: #1f2937;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

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

.bg-light {
    background-color: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 500;
}

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

.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.experience-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.company {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1rem;
}

.skills-section {
    margin-top: 3rem;
}

.skills-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.project-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #2563eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #2563eb;
    color: white;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info ul {
    list-style: none;
    margin-top: 2rem;
}

.contact-info li {
    margin: 1rem 0;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.social-link:nth-child(1) i {
    color: #dc2626; /* Email - Red */
}

.social-link:nth-child(2) i {
    color: #0077b5; /* LinkedIn - Blue */
}

.social-link:nth-child(3) i {
    color: #1da1f2; /* Twitter - Blue */
}

.social-link:nth-child(4) i {
    color: #333; /* GitHub - Dark */
}

.social-link:nth-child(1):hover {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.social-link:nth-child(2):hover {
    border-color: #0077b5;
    background: rgba(0, 119, 181, 0.05);
}

.social-link:nth-child(3):hover {
    border-color: #1da1f2;
    background: rgba(29, 161, 242, 0.05);
}

.social-link:nth-child(4):hover {
    border-color: #333;
    background: rgba(51, 51, 51, 0.05);
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Edit Controls */
.edit-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.edit-button, .save-button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.edit-button:hover, .save-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.save-button {
    background: #059669;
}

.save-button:hover {
    background: #047857;
}

/* Editable Content Styles */
.editable-content {
    transition: all 0.3s ease;
}

.editable-content:focus {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 4px;
}

.edit-mode .editable-content {
    border: 2px dashed #2563eb;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.05);
}

.edit-mode .editable-content:hover {
    background: rgba(37, 99, 235, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .edit-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .edit-button, .save-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .edit-controls {
        display: none;
    }
    
    header {
        position: static;
    }
    
    .hero {
        background: none;
        color: #333;
    }
}
