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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Prompt,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

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

/* ==================== */
/* Navigation          */
/* ==================== */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

.nav-links a:hover {
    color: #333333;
}

/* ==================== */
/* Hero Section        */
/* ==================== */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero-content .subtitle {
    font-size: 28px;
    color: #666666;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-content .description {
    font-size: 18px;
    color: #888888;
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: #333333;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ==================== */
/* About Section       */
/* ==================== */
.about {
    padding: 80px 0;
    background-color: #ffffff;
}

.about h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 48px;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text h3 {
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}

.about-text p {
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: #333333;
}

.skills h3 {
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}

.skills-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.skills-list li {
    padding: 12px 16px;
    background-color: #f5f7fa;
    border-radius: 8px;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skills-list li:hover {
    background-color: #eeeff2;
    transform: translateX(4px);
}

/* ==================== */
/* Portfolio Section   */
/* ==================== */
.portfolio {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.portfolio h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 48px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-icon {
    font-size: 64px;
    opacity: 0.8;
}

.portfolio-info {
    padding: 28px;
}

.portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}

.project-type {
    font-size: 13px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-description {
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #666666;
    transform: translateX(4px);
}

/* ==================== */
/* Contact Section     */
/* ==================== */
.contact {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: #666666;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.contact-card {
    background-color: #f5f7fa;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: #eeeff2;
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
}

.contact-card h3 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-card a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-card a:hover {
    color: #666666;
}

/* ==================== */
/* Footer              */
/* ==================== */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 32px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* ==================== */
/* Responsive Design   */
/* ==================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content .subtitle {
        font-size: 20px;
    }

    .hero {
        padding: 80px 0;
    }

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

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

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

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

    .about h2,
    .portfolio h2,
    .contact h2 {
        font-size: 32px;
        margin-bottom: 32px;
    }

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

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content .subtitle {
        font-size: 18px;
    }

    .nav-links {
        gap: 12px;
    }

    .about h2,
    .portfolio h2,
    .contact h2 {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}