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

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.password-container {
    background: white;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.password-container h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.password-container p {
    color: #666666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.password-container input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.password-container input:focus {
    outline: none;
    border-color: #d32f2f;
}

.password-container button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease;
}

.password-container button:hover {
    background-color: #b71c1c;
}

.error-message {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #2d2d2d;
    background-color: #f5f5f5;
    font-weight: 400;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Header Styles */
.header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-photo {
    flex-shrink: 0;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d32f2f;
}

.profile-info {
    flex: 1;
}

.name {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title {
    font-size: 1.25rem;
    color: #d32f2f;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.contact-item i {
    color: #d32f2f;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #000000;
    text-decoration: underline;
}

.contact-item span:hover {
    color: #000000;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Main Content Styles */
.main-content {
    margin-bottom: 2rem;
}

.section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #d32f2f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.skill-category {
    background: #fafafa;
    padding: 2rem;
    border-left: 2px solid #d32f2f;
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-category p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Education Section */
.education-item {
    background: #fafafa;
    padding: 2rem;
    border-left: 2px solid #d32f2f;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.education-header h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 300;
}

.institution {
    font-size: 1rem;
    color: #d32f2f;
    font-weight: 400;
    margin-bottom: 1rem;
}

.education-details {
    list-style: none;
    padding-left: 0;
}

.education-details li {
    padding: 0.5rem 0;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.education-details li::before {
    content: "—";
    color: #d32f2f;
    margin-right: 0.75rem;
    font-weight: 500;
}

/* Experience Section */
.experience-item {
    background: #fafafa;
    padding: 2rem;
    border-left: 2px solid #d32f2f;
    margin-bottom: 2rem;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.experience-header h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.date {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 300;
}

.company {
    font-size: 1rem;
    color: #d32f2f;
    font-weight: 400;
    margin-bottom: 1rem;
}

.experience-details {
    list-style: none;
    padding-left: 0;
}

.experience-details li {
    padding: 0.5rem 0;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.experience-details li::before {
    content: "—";
    color: #d32f2f;
    margin-right: 0.75rem;
    font-weight: 500;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.interest-item {
    background: #fafafa;
    padding: 2rem;
    border-left: 2px solid #d32f2f;
    text-align: center;
}

.interest-item i {
    font-size: 2rem;
    color: #d32f2f;
    margin-bottom: 1rem;
}

.interest-item h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.interest-item p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #999999;
    font-size: 0.8rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .education-header,
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .name {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
}

/* Hover Effects */
.skill-category:hover,
.education-item:hover,
.experience-item:hover,
.interest-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #d32f2f;
    outline-offset: 2px;
}
