/* =========================
   GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #F5F0FF;

    color: #3F3D56;

    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


/* =========================
   NAVIGATION
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #E9D5FF;

    z-index: 1000;
}

.navbar {
    max-width: 1100px;

    margin: auto;

    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}

.logo {
    font-size: 24px;
    font-weight: bold;

    color: #4C3A6D;
}

.logo span {
    color: #A855F7;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;

    color: #5F4B8B;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #A855F7;
}

.menu-btn {
    display: none;

    border: none;

    background: none;

    font-size: 28px;

    cursor: pointer;
}


/* =========================
   HOME
========================= */

.home {
    min-height: 100vh;

    max-width: 1100px;

    margin: auto;

    padding: 120px 25px 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}

.home-content {
    max-width: 600px;
}

.small-text {
    color: #A855F7;

    font-weight: bold;

    margin-bottom: 5px;
}

.home h1 {
    font-size: clamp(45px, 7vw, 75px);

    line-height: 1.1;

    color: #4C3A6D;

    margin-bottom: 10px;
}

.home h2 {
    font-size: 28px;

    color: #6D5B8F;

    min-height: 45px;
}

#typing {
    color: #9333EA;
}

.intro {
    max-width: 550px;

    margin: 20px 0 30px;

    color: #6B7280;

    font-size: 17px;
}

.home-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn,
.btn-outline {
    display: inline-block;

    padding: 12px 25px;

    border-radius: 30px;

    font-weight: bold;

    transition: 0.3s;

    cursor: pointer;
}

.btn {
    background: #A855F7;

    color: white;

    border: 2px solid #A855F7;

    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
}

.btn:hover {
    background: #9333EA;

    transform: translateY(-3px);
}

.btn-outline {
    color: #A855F7;

    border: 2px solid #A855F7;
}

.btn-outline:hover {
    background: #A855F7;

    color: white;

    transform: translateY(-3px);
}


/* =========================
   PROFILE IMAGE
========================= */

.home-image {
    display: flex;

    justify-content: center;

    align-items: center;
}

.image-circle {
    width: 300px;
    height: 300px;

    padding: 8px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #C084FC,
        #A855F7
    );

    box-shadow:
        0 20px 50px rgba(168, 85, 247, 0.30);
}

.image-circle img {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    border: 6px solid white;
}


/* =========================
   SECTIONS
========================= */

.section {
    max-width: 1100px;

    margin: auto;

    padding: 100px 25px;
}

.section-title {
    text-align: center;

    margin-bottom: 60px;
}

.section-title p {
    color: #A855F7;

    font-weight: bold;

    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 40px;

    color: #4C3A6D;
}


/* =========================
   ABOUT
========================= */

.about-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.about-text h3 {
    font-size: 28px;

    margin-bottom: 20px;

    color: #4C3A6D;
}

.about-text p {
    color: #6B7280;

    margin-bottom: 18px;
}

.about-info {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.info-card {
    background: white;

    padding: 25px;

    border: 1px solid #E9D5FF;

    border-radius: 16px;

    transition: 0.3s;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);

    border-color: #A855F7;

    box-shadow:
        0 15px 35px rgba(168, 85, 247, 0.20);
}

.info-card h3 {
    color: #A855F7;

    margin-bottom: 5px;
}

.info-card p {
    color: #6B7280;

    font-size: 14px;
}


/* =========================
   SKILLS
========================= */

.skills-section {
    background: #FAF7FF;

    max-width: none;

    padding-left: max(25px, calc((100% - 1050px) / 2));

    padding-right: max(25px, calc((100% - 1050px) / 2));
}

.skill-header span:last-child {
    color: #A855F7;
}

.skill-bar {
    width: 100%;

    height: 10px;

    background: #E9D5FF;

    border-radius: 20px;

    overflow: hidden;
}

.skill-progress {
    width: 0;

    height: 100%;

    background: #A855F7;

    border-radius: 20px;

    transition: width 1.5s ease;
}


/* =========================
   CONTACT
========================= */

.contact-item > span {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F3E8FF;

    color: #9333EA;

    border-radius: 10px;

    font-size: 20px;
}

.contact-item small {
    color: #6B7280;
}


/* =========================
   CONTACT FORM
========================= */

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #E9D5FF;

    border-radius: 12px;

    font-size: 15px;

    outline: none;

    resize: vertical;

    transition: 0.3s;

    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #A855F7;

    box-shadow:
        0 0 0 3px rgba(168, 85, 247, 0.15);
}


/* =========================
   LANDING PAGE BUTTON
========================= */

.landing-btn-container {
    margin-top: 30px;
    text-align: center;
}

.landing-btn {
    display: inline-block;

    padding: 12px 25px;

    background: #A855F7;
    color: white;

    border: 2px solid #A855F7;
    border-radius: 30px;

    font-weight: bold;
    font-size: 15px;

    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);

    transition: 0.3s ease;
}

.landing-btn:hover {
    background: #9333EA;
    border-color: #9333EA;

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(168, 85, 247, 0.35);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #6D28D9;

    color: white;

    text-align: center;

    padding: 30px 20px;
}

footer p {
    color: #E9D5FF;

    margin-bottom: 15px;
}

.socials a {
    color: #E9D5FF;

    transition: 0.3s;
}

.socials a:hover {
    color: white;
}


/* =========================
   LATEST PROJECTS
========================= */

#projects{
    background:#F8F4FF;
}

.projects-container{
    max-width:1100px;
    margin:50px auto 0;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;

    box-shadow:0 10px 25px rgba(130,95,190,.12);

    transition:.35s ease;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(130,95,190,.22);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
}

.project-card:hover img{
    transform:scale(1.05);
}

.project-content{
    padding:25px;
}

.project-content h3{
    font-size:24px;
    color:#6D4CC2;
    margin-bottom:12px;
}

.project-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.project-content .btn{
    display:inline-block;

    background:#A78BFA;
    color:#fff;

    padding:12px 25px;

    border-radius:30px;

    font-weight:bold;

    transition:.3s;
}

.project-content .btn:hover{
    background:#8B5CF6;
    transform:translateY(-3px);
}

/* =========================
   SECTION TITLE
========================= */

#projects .section-title p{
    color:#8B5CF6;
    font-weight:bold;
    letter-spacing:2px;
    text-transform:uppercase;
}

#projects .section-title h2{
    font-size:42px;
    color:#43346B;
    margin-top:10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

    .projects-container{
        grid-template-columns:1fr;
    }

    .project-card img{
        height:200px;
    }

    #projects .section-title h2{
        font-size:34px;
    }

}