/* ===========================
   HOME / HERO SECTION
   =========================== */

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-section main {
    flex: 1;
}

.content {
    max-width: 600px;
}

.tag-box {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.profile {
    width: 550px;
    height: 550px;
    border-radius: 20px;
    object-fit: contain;
}

.profile:hover {
    transform: scale(1.05) rotate(2deg);
}

/* ===========================
   PROJECTS GRID
   =========================== */

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===========================
   EXPERIENCE SECTION
   =========================== */

.experience-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.experience-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===========================
   CHIP STYLES
   =========================== */

.chip-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.chip {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   MOBILE RESPONSIVENESS
   =========================== */

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .content {
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .profile {
        width: 280px;
        height: 280px;
    }

    .buttons {
        justify-content: center;
    }

    .projects-grid,
    .card-row {
        grid-template-columns: 1fr;
    }
}
