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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* padding: 5vh 10vw; */
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: rgb(76, 164, 164);
    margin-bottom: 10px;
}

h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: darkgoldenrod;
    margin-bottom: 10px;
}

.projects h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4ca4a4;
    display: inline-block;
}

.container {
    display: grid;
    grid-template-columns: 0.5fr 2fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "hero projects"
        "skills projects"
        "socials projects";
    min-height: 100vh;
}

.hero {
    grid-area: hero;
    padding: 30px 25px;
}

.hero p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.skills {
    grid-area: skills;
    padding: 20px 25px;
}

.projects {
    grid-area: projects;
    padding: 30px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.socials {
    grid-area: socials;
    padding: 20px 25px;
}

li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

li:last-child {
    border-bottom: none;
}

.project {
    color: #b8860b;
    font-weight: 600;
}

.project:hover {
    color: #4ca4a4;
}

.skill-tags {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.skill-tags span {
    display: inline;
}

.skill-tags span:not(:last-child)::after {
    content: " • ";
    color: #4ca4a4;
}

/* Project List */
.project-carousel {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    max-height: 85vh;
    padding-right: 10px;
}

/* Custom scrollbar */
.project-carousel::-webkit-scrollbar {
    width: 6px;
}

.project-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.project-carousel::-webkit-scrollbar-thumb {
    background: #4ca4a4;
    border-radius: 3px;
}

.project-card {
    display: flex;
    gap: 25px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-image img:hover {
    transform: scale(1.05);
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card h3 {
    color: #959797;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #b8860b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}

.project-links a:hover {
    background: #9a7209;
    transform: translateY(-2px);
}

/* Navigation Dots */
.project-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.nav-dot:hover {
    transform: scale(1.2);
}

.nav-dot.active {
    background: #4ca4a4;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #4ca4a4;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: transform 0.2s, background 0.2s;
}

.social-links a:hover {
    background: #3d8b8b;
    transform: translateY(-3px) scale(1.1);
}

/* ===================== */
/* Responsive Breakpoints */
/* ===================== */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "hero"
            "skills"
            "projects"
            "socials";
    }

    .projects {
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }

    .project-carousel {
        max-height: none;
    }

    .project-card {
        flex-direction: row;
    }

    .project-image {
        flex: 0 0 40%;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .projects h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 25px 20px;
    }

    .hero p {
        font-size: 1rem;
    }

    .skills {
        padding: 20px;
    }

    .projects {
        padding: 25px 20px;
    }

    .socials {
        padding: 20px;
    }

    .project-card {
        flex-direction: column;
        gap: 15px;
    }

    .project-image {
        flex: none;
        width: 100%;
        max-height: 200px;
    }

    .project-image img {
        max-height: 200px;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-desc {
        font-size: 0.95rem;
    }

    .project-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .project-links a {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 20px 15px;
    }

    .skills {
        padding: 15px;
    }

    .projects {
        padding: 20px 15px;
    }

    .socials {
        padding: 15px;
    }

    .project-carousel {
        gap: 20px;
    }

    .project-card {
        padding: 15px;
    }

    .skill-tags {
        font-size: 0.9rem;
    }
}