/* Modern Portfolio Styles */
:root {
    --primary: #4f8cff;
    --secondary: #232946;
    --accent: #eebbc3;
    --bg: #f4f4f4;
    --text: #232946;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    z-index: 0;
}
header {
    background: var(--secondary);
    color: #fff;
    padding-bottom: 2rem;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: var(--accent);
}
.hero {
    text-align: center;
    margin-top: 2rem;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.btn {
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn:hover {
    background: var(--accent);
    color: var(--secondary);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 1rem;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}
section {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2rem;
}
.about {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.about-text, .about-fun {
    flex: 1 1 250px;
}
.about-fun ul {
    margin-top: 0.5rem;
    list-style: none;
    padding-left: 0;
}
.about-fun li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.projects .project-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.project-card {
    flex: 1 1 250px;
    background: var(--bg);
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.project-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(79,140,255,0.08);
    background: #f0f6ff;
}
.badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    vertical-align: middle;
}
.services ul {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 1rem;
}
.services li {
    background: var(--primary);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.reviews .review-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.review-card {
    flex: 1 1 250px;
    background: var(--bg);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
    font-style: italic;
}
.review-card span {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    color: var(--primary);
    font-weight: bold;
}
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.contact input, .contact textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.contact textarea {
    min-height: 100px;
    resize: vertical;
}
.contact button {
    align-self: flex-start;
}
#formMessage {
    margin-top: 1rem;
    font-weight: 500;
}
footer {
    text-align: center;
    padding: 1.5rem 0;
    background: var(--secondary);
    color: #fff;
    border-radius: 0 0 12px 12px;
    margin-top: 2rem;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-4px) scale(1.1);
}
.footer-social img {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}
.profile-pic {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.project-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0.7rem;
    background: #eaeaea;
}
#goTopBtn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s, transform 0.2s;
}
#goTopBtn:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-4px) scale(1.1);
}
#goTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}
.hero-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.hero-tags span {
    background: var(--accent);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
@media (max-width: 700px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .projects .project-list, .reviews .review-list, .services ul {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        gap: 1rem;
    }
}
