/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #000000;
}

/* Hero Section */
.hero-section {
    background: #123;
    color: white;
    padding: 8rem 2rem 4rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 4 1' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='w1' d='m0 0.7 q1 -0.4 2 0 t2 0 v0.3 h-4z' /%3E%3Cpath id='w2' d='m0 0.5 q0.5 -0.2 1 0 q1 0.3 2 0 q0.5 -0.1 1 0 v0.5 h-4z' /%3E%3C/defs%3E%3Cg%3E%3Cuse href='%23w1' fill='%23777777' fill-opacity='0.2' /%3E%3Cuse href='%23w2' fill='%23666666' fill-opacity='0.15' /%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 100%;
    background-repeat: repeat-x;
    animation: move-forever 20s linear infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 4 1' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='w3' d='m0 0.6 q0.7 -0.3 1.5 0 q1.5 0.2 2.5 0 v0.4 h-4z' /%3E%3C/defs%3E%3Cg%3E%3Cuse href='%23w3' fill='%23888888' fill-opacity='0.1' /%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 100%;
    background-repeat: repeat-x;
    animation: move-forever 16s linear infinite;
    animation-delay: -8s;
    z-index: 2;
}

@keyframes move-forever {
    0% { transform: translateX(-400px); }
    100% { transform: translateX(0px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-placeholder-image {
    background: rgba(255, 255, 255, 0.2);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: #f1f5f9;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #000000;
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: #4b5563;
}

.placeholder-image {
    background: #e5e7eb;
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 500;
}

/* Experience Section */
.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.experience-date {
    color: #6b7280;
    font-weight: 500;
}

.company {
    color: #000000;
    margin-bottom: 1rem;
}

.project-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #333333;
    text-decoration: underline;
}

/* Education Section */
.education-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.education-date {
    color: #6b7280;
    font-weight: 500;
}

.institution {
    color: #000000;
    margin-bottom: 1rem;
}

/* Studying Section */
.studying-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.studying-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.studying-image:hover {
    transform: scale(1.05);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    color: #000000;
    margin-bottom: 1.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.certification-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.certification-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: visible;
}

.cert-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.certification-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certification-link .certification-item::after {
    content: "Click to view certification in a new tab";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.certification-link .certification-item {
    position: relative;
}

.certification-link .certification-item:hover::after {
    opacity: 1;
}

.issuer {
    color: #6b7280;
    margin: 0.5rem 0;
}

.cert-date {
    color: #000000;
    font-weight: 600;
}

/* Contact Section */
.contact-simple {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-simple p {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.8;
}

.contact-simple a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: default;
}

.contact-simple a:hover {
    color: #333333;
    text-decoration: underline;
}

/* Download Section */
.download-center {
    text-align: center;
}

.download-btn {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-placeholder-image {
        width: 200px;
        height: 200px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}