/* ===============================
   EASY EDIT VARIABLES
   Change these only!
================================*/
:root {
    --background: #050509;
    --text: #e6e6e6;
    --text-light: #cccccc;
    --primary: #4f8cff;
    --accent: #8ea2ff;

    --heading-font: "Inter", sans-serif;
    --body-font: "Inter", sans-serif;

    --name-size: 2.8rem;
    --role-size: 1.4rem;
    --section-title-size: 1.3rem;
    --photo-size: 160px;
    --max-width: 1000px;
    --section-spacing: 40px;
}

/* ===============================
   GLOBAL
================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--body-font);
}

.container {
    max-width: var(--max-width);
    margin: auto;
    padding: 40px 20px 60px;
}

/* ============================
   HEADER SECTION (FINAL)
============================ */

.header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
}

/* Profile Image */
.profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Right side content */
.right-content {
    display: flex;
    flex-direction: column;
}

.top-info h1 {
    font-size: 2rem;
    margin: 0;
}

.top-info h2 {
    font-size: 1.2rem;
    color: #666;
    margin: 5px 0 15px;
}

/* Contact info */
.contact-under-name p {
    margin: 5px 0;
}

.contact-under-name span {
    font-weight: bold;
}

/* ============================
   MOBILE RESPONSIVE FIX
============================ */
@media (max-width: 768px) {

    .header {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo img {
        width: 160px;
        height: 160px;
    }

    .right-content {
        align-items: center;
    }
}

/* PHOTO */
.profile-photo {
    width: var(--photo-size);
    height: var(--photo-size);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT SIDE CONTENT */
.right-content {
    display: flex;
    flex-direction: column;
}

/* NAME + TITLE */
.top-info .name {
    font-size: var(--name-size);
    font-weight: 700;
}

.top-info .role {
    font-size: var(--role-size);
    color: var(--accent);
    margin-top: 5px;
}

/* CONTACT UNDER NAME */
.contact-under-name {
    margin-top: 15px;
    font-size: 1rem;
}

/* Make the labels white */
.contact-under-name span {
    color: #ffffff;
    font-weight: 600; /* optional */
}

.contact-under-name a {
    color: var(--primary);
    text-decoration: none;
}

.contact-under-name a:hover {
    text-decoration: underline;
}

/* ===============================
   SUMMARY
================================*/
.summary-under-header {
    margin-top: 25px;
}

.summary-under-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 85%;
    margin: auto;
    text-align: center;
    line-height: 1.7;
}

/* ===============================
   SECTIONS
================================*/
.section {
    margin-top: var(--section-spacing);
}

.section h3 {
    font-size: var(--section-title-size);
    margin-bottom: 12px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

/* LISTS */
.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
    color: var(--text-light);
}

.section ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

/* ===============================
   SKILLS GRID
================================*/
.skill-block {
    margin-bottom: 15px;
}

.skill-block h4 {
    margin-bottom: 5px;
    font-size: 1.05rem;
}
/* ===============================
   SKILLS GRID (EASY EDIT)
================================*/
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.skill-block {
    background: #0b0f1b;
    border: 1px solid #22263a;
    padding: 15px;
    border-radius: 8px;
}

.skill-block h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--primary);
}

.skill-block ul {
    list-style: none;
    padding-left: 0;
}

.skill-block ul li {
    padding-left: 12px;
    position: relative;
    margin-bottom: 5px;
    color: var(--text-light);
}

.skill-block ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
}
/* ===============================
   EXPERIENCE
================================*/
.exp-item {
    padding: 16px;
    border-radius: 8px;
    background: #0b0f1b;
    border: 1px solid #22263a;
    margin-top: 15px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.company {
    font-size: 0.9rem;
    color: var(--text-light);
}

.date {
    font-size: 0.9rem;
    color: var(--accent);
}


/* ============================
   PROJECTS SECTION (FINAL)
============================ */

#projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

.project {
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.25s ease-in-out;
    border: 1px solid #e6e6e6;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover animation */
.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Image handling */
.project-img {
    width: 100%;
    height: auto;

    /* This ensures images keep proper proportions */
    object-fit: contain;

    max-height: 250px; /* Optional: remove if you want full height */
    border-radius: 10px;
    margin-bottom: 12px;

    background: #fafafa; /* Looks clean even for empty/transparent images */
}

/* Project title */
.project h4 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

/* Tech stack */
.project .tech {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    text-align: center;
}

/* Bullet list (points) */
.project ul {
    padding-left: 18px;
    margin-top: 5px;
}

.project ul li {
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 0.95rem;
}


/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    .project {
        background: #181818;
        border: 1px solid #333;
        box-shadow: 0 5px 15px rgba(255,255,255,0.05);
    }
    .project:hover {
        box-shadow: 0 8px 25px rgba(255,255,255,0.12);
    }
    .project .tech {
        color: #ccc;
    }
}
/* ===============================
   FOOTER
================================*/
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #707070;
}

/* ===============================
   MOBILE
================================*/
@media (max-width: 768px) {
    .header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .right-content {
        align-items: center;
    }

    .summary-under-header p {
        max-width: 95%;
    }
}
