@font-face {
    font-family: "ChildHood";
    src: url("../fonts/Child Hood.otf") format("opentype");
}

@font-face {
    font-family: "Trimen";
    src: url("../fonts/Trimen Drawing Demo.ttf") format("truetype");
}

@font-face {
  font-family: 'HughisLife';
  src: url('../fonts/HughisLifePersonalUse-Italic.woff2') format('woff2'),
       url('../fonts/HughisLifePersonalUse-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Poppins:wght@300;400;500;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='8' stroke='%23664DF2' stroke-width='2'/%3E%3C/svg%3E") 16 16, auto;
}

a, button, .download-btn, .work-card, .skill-tag, .nav-list a, .dropdown-content a, .contact-link, .close-layer {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='8' fill='%23e34d14'/%3E%3C/svg%3E") 16 16, pointer;
}

body {
    background-color: #ffffff; 
    background-image: radial-gradient(#664DF2 0.5px, transparent 0.5px);
    background-size: 25px 25px; 
    
    color: #664DF2; 
    font-family: 'Poppins', sans-serif; 
    font-size: 19px; 
    line-height: 1.8; 
    font-weight: 400; 
    
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(102, 77, 242, 0.1); 
    z-index: 1000;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.nav-list a {
    text-decoration: none;
    color: #664DF2;
    font-family: "ChildHood", sans-serif;
    font-size: 32px; 
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: -2px;
    left: 0;
    background-color: #e34d14; 
    transition: width 0.3s ease;
    border-radius: 4px;
}

.nav-list a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent; 
}

.dropdown-content {
    position: absolute;
    top: 160%; 
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 3px solid #664DF2;
    border-radius: 16px;
    padding: 15px 0;
    min-width: 260px;
    display: none;
    text-align: center;
    box-shadow: 10px 10px 0px rgba(102, 77, 242, 0.2); 
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
    top: 120%;
    transition: top 0.2s ease;
}

.dropdown-content a {
    font-size: 24px;
    display: block;
    padding: 10px 0;
    color: #664DF2;
}

.dropdown-content a:hover {
    background-color: rgba(102, 77, 242, 0.1); 
}

.home {
    min-height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 0 20px;
    max-width: 1500px; 
    margin: 0 auto;
}

.left {
    flex: 1.2;
    display: flex;
    justify-content: flex-end; 
    position: relative;
    z-index: 1;
}

.pfp {
    width: 100%;
    max-width: none; 
    height: auto;
    object-fit: contain;
    transform: scale(1.4); 
    transform-origin: center right;
    margin-right: -90px;
    filter: drop-shadow(0px 0px 0px rgba(0,0,0,0)); 
}

.right {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    z-index: 2; 
    padding-left: 0; 
}

.hi {
    font-family: "ChildHood", sans-serif;
    font-size: clamp(3.5rem, 5.5vw, 6rem);
    margin-bottom: 0px;
    line-height: 1.1;
    margin-left: -20px; 
    text-shadow: 3px 3px 0px #e8dc4d; 
}

.sub {
    font-family: "ChildHood", sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    opacity: 0.9;
    margin-bottom: 15px;
    margin-left: -15px; 
}

.title {
    font-family: "Trimen", sans-serif;
    font-size: clamp(80px, 15vw, 250px); 
    line-height: 0.8;
    color: #664DF2;
    transform: rotate(-3deg);
    margin-left: -30px; 
    text-shadow: 5px 5px 0px #F5F1C4; 
}

.page-area {
    padding: 180px 20px 80px 20px; 
    max-width: 1600px; 
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

.page-title {
    font-family: "Trimen", sans-serif; 
    font-size: clamp(50px, 8vw, 100px); 
    color: #664DF2;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
    background: transparent; 
    padding: 0;
    border-radius: 0;
    box-shadow: none; 
    display: block; 
    letter-spacing: 2px; 
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: stretch; 
}

.work-card {
    display: flex;
    flex-direction: column;
    height: 100%; 
    background: #ffffff;
    border: 2px solid #664DF2;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 8px 8px 0px rgba(102, 77, 242, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.work-card:hover {
    transform: translateY(-10px) translateX(-5px);
    box-shadow: 15px 15px 0px rgba(102, 77, 242, 0.6); 
}

.work-card > a > img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.work-info {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    text-align: center;
}

.work-info h3 {
    font-family: "ChildHood", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #664DF2;
    min-height: 2.2em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-info p {
    font-size: 1.1rem;
    color: #2a224d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-info .full-project-img {
    display: none !important;
}


.work-card:target {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: none;
    box-shadow: none;
    overflow-y: auto;
}

.work-card:target > a > img {
    display: none !important;
}

.work-card:target .work-info .full-project-img {
    display: block !important;
    width: auto;
    height: auto;
    max-height: 60vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.work-card:target .work-info p {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

.work-card:target .close-layer {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.intro-clean {
    background-color: #ffffff; 
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.intro-clean p {
    font-size: 1.25rem;
    color: #2a224d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.life-map-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.life-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #F5F1C4;
    transform: translateX(-50%);
    border-radius: 2px;
}

.map-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
}

.map-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.map-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.map-item::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid #664DF2;
    border-radius: 50%;
    z-index: 2;
}

.map-item:nth-child(odd)::after { right: -12px; }
.map-item:nth-child(even)::after { left: -12px; }

.map-date {
    font-family: "ChildHood", sans-serif;
    font-size: 1.5rem;
    color: #e34d14;
    margin-bottom: 5px;
}

.map-title {
    font-weight: 600;
    font-size: 1.3rem; 
    margin-bottom: 5px;
    color: #664DF2;
}

.map-desc {
    font-size: 1.1rem; 
    color: #2a224d;
    background: #ffffff; 
    padding: 15px 20px;
    border-radius: 12px;
    display: inline-block;
}

.skill-tag {
    background: #ffffff;
    border: 2px solid #664DF2;
    color: #664DF2;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 4px 4px 0px #F5F1C4;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0px #e34d14;
    background: #F5F1C4;
}

.download-btn {
    display: inline-block;
    background: #664DF2;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: "ChildHood", sans-serif;
    font-size: 1.4rem; 
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(102, 77, 242, 0.2);
    cursor: pointer;
    border: none;
}

.download-btn:hover {
    background: #e34d14;
    transform: scale(1.05);
}

#contact-section {
    scroll-margin-top: 150px;
}

.contact-area {
    background: #664DF2;
    color: #fff;
    padding: 80px 20px;
    margin-top: 100px;
    text-align: center;
    border-top: 10px solid #F5F1C4;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-family: "Trimen", sans-serif;
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #F5F1C4;
    transform: rotate(-2deg);
}

.contact-text {
    font-size: 1.4rem; 
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    transition: color 0.3s ease;
    background: rgba(255,255,255,0.1);
    padding: 15px 35px;
    border-radius: 50px;
}

.contact-link:hover {
    background: #ffffff;
    color: #664DF2;
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-main-title {
    font-family: "HughisLife", "ChildHood", sans-serif;
    color: #664DF2;
    font-size: clamp(3rem, 5vw, 4.5rem);
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px #F5F1C4;
}

.blog-lead {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 1.3rem; 
    color: #2a224d;
    max-width: 650px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.blog-post {
    margin-bottom: 60px;
    border-bottom: 2px dashed #F5F1C4;
    padding-bottom: 40px;
    background-color: #ffffff; 
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    font-family: "ChildHood", sans-serif;
    color: #664DF2;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: block;
    margin-bottom: 20px;
}

.blog-date {
    background-color: #F5F1C4;
    color: #664DF2;
    padding: 5px 12px;
    border-radius: 4px;
    font-style: italic;
    font-weight: bold;
    font-size: 1rem;
}

.blog-post p {
    text-align: left;
    font-size: 1.2rem; 
    line-height: 1.8;
    color: #2a224d;
}

.blog-post strong {
    color: #e34d14; 
    font-weight: 700;
}

.blog-post a {
    color: #664DF2;
    text-decoration: underline;
    text-decoration-color: #e34d14;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-post a:hover {
    background-color: #F5F1C4;
    color: #000;
}

.site-footer {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid rgba(102, 77, 242, 0.1);
    margin-top: auto;
}

.site-footer p {
    font-family: "ChildHood", sans-serif;
    font-size: 20px;
    color: #664DF2;
    opacity: 0.8;
}



@media (max-width: 900px) {
    .navbar { padding: 15px; }
    
    .nav-list { 
        gap: 20px; 
        flex-wrap: wrap; 
    }
    
    .nav-list a { font-size: 22px; }
    
    .home {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .left {
        justify-content: center; 
    }

    .pfp { 
        transform: scale(1); 
        max-width: 320px; 
        margin-right: 0; 
    }
    
    .hi, .sub, .title { margin-left: 0; }
    
    
    .works-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .life-map-container::before { left: 20px; }
    .map-item { width: 100%; left: 0 !important; padding-left: 50px !important; text-align: left !important; padding-right: 0 !important; }
    .map-item::after { left: 8px !important; right: auto !important; }
}

@media (max-width: 450px) {
    .nav-list a { font-size: 18px; }
    .title { font-size: 60px; }
    .hi { font-size: 3rem; }
}


.nav-active {
    color: #664DF2 !important;
}

.toolkit-header {
    margin-top: 80px; 
    text-align: center;
}

.toolkit-title {
    font-family: 'Trimen', sans-serif; 
    font-size: 2.5rem; 
    color: #664DF2; 
    margin-bottom: 30px;
}

.skills-container {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px; 
    max-width: 800px; 
    margin: 0 auto;
}

.cv-request-area {
    margin-top: 40px;
}

.cv-note {
    margin-bottom: 15px; 
    font-size: 1rem; 
    color: #555; 
    background: #fff; 
    display: inline-block; 
    padding: 5px 10px; 
    border-radius: 5px;
}

.collab-btn-container {
    margin-top: 30px;
}

.collab-btn {
    padding: 12px 30px; 
    font-size: 1rem;
}

.social-links-container {
    margin-top: 30px; 
    display: flex; 
    gap: 30px; 
    justify-content: center;
}

.social-icon {
    color: #fff; 
    font-size: 2.5rem; 
    transition: transform 0.3s;
}


.link-accent {
    color: #ff4600 !important;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-accent:hover {
    color: #664DF2 !important;
    background-color: #F5F1C4;
}


.link-spotify {
    color: #1DB954 !important; 
    font-weight: bold;
}

.small-note {
    font-size: 0.9em; 
    opacity: 0.8;
}

.work-info h2 {
    font-size: 1.17em;
    margin-bottom: 10px;
    font-weight: bold;
}