* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #68ccde, #7d97ec);
    transition: 0.4s;
    color: #111;
}

/* DARK MODE */
body.dark {
    background: linear-gradient(135deg, #1c1f2b, #2c3248);
    color: #f2f2f2;
}

/* THEME SLIDER */
.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch {
    position: relative;
    width: 44px;
    height: 22px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 20px;
    cursor: pointer;
}

.slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}

/* LAYOUT */
.container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 100vh;
    padding: 60px;
    gap: 40px;
}

/* LEFT */
.left h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 1px;
}

.subtitle {
    margin-top: 12px;
    font-size: 18px;
    opacity: 0.85;
}

/* PROJECTS */
.projects {
    margin-top: 40px;
}

.projects h3 {
    margin-bottom: 15px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.6);
    padding: 12px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

body.dark .project-card {
    background: rgba(0,0,0,0.35);
}

.project-card img {
    width: 140px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
}

/* RIGHT */
.right {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

body.dark .right {
    background: rgba(0,0,0,0.4);
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    object-fit: cover;
}

.right h2 {
    margin-top: 18px;
    font-size: 22px;
}

.role {
    font-size: 14px;
    opacity: 0.8;
}

/* SOCIALS */
.socials {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.socials a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

body.dark .socials a {
    background: #1f2233;
    color: #fff;
}

/* LOGO PLACEHOLDER */
.logo-space {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ccc;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .left h1 {
        font-size: 42px;
    }
}

/* logo */
.project-logo {
    width: 72px;
    height: 72px;
}


/* brand name - single line */
.project-name {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;   /* forces one line */
    text-decoration: none;
    color: #000;
}

/* description section */
.project-description {
    max-width: 720px;
    margin-top: 12px;
    padding-left: 8px;
}

.project-description p {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .project-card {
        background: #1e2a32;
    }

    .project-name {
        color: #f1f1f1;
    }

    .project-description p {
        color: #dcdcdc;
    }
}

.social-icon {
    width: 26px;        /* 👈 CONTROL SIZE HERE */
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;     /* prevents stretching */
}
