@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0f172a; 
    color: #94a3b8;           
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}


.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: #38bdf8;
    color: #0f172a;
    border: 1px solid #38bdf8;
}

.btn-primary:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #38bdf8;
    color: #0f172a;
    border: 1px solid #38bdf8;
}

.btn-secondary:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px); 
}

.navbar {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed; 
    width: 100%;
    top: 0;
    z-index: 1000; 
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list li a {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 500;
    position: relative;
}


.nav-list li a:hover,
.nav-list li a.active {
    color: #38bdf8; 
}

#hero {
    min-height: 100vh; 
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 0 10%;
    gap: 4rem; 
}


.hero-content {
    flex: 1; 
    max-width: 650px;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1rem;
    line-height: 1.1;
}

#hero .greeting {
    color: #38bdf8;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

#hero .subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1rem;
}


.hero-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-box img {
    width: 350px;  
    height: 350px;
    object-fit: cover; 
    border-radius: 50%; 
    border: 4px solid #1e293b;
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.3);  
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); } /* Moves up */
    100% { transform: translateY(0); }
}



/* About */
#about {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 8rem 10% 4rem; 
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 5rem;
    align-items: center;
}


.about-content h2 {
    font-size: 3rem;
    color: #f8fafc;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-content .highlight {
    color: #38bdf8;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #1e293b; /* Subtle separator line */
}

.info-item h4 {
    color: #f8fafc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.info-item span {
    font-size: 1rem;
    color: #cbd5e1;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -120px;
}

.about-image img {
    width: 100%;
    max-width: 400px; 
    border-radius: 12px;
    transition: 0.4s ease-out;
    box-shadow: 20px 20px 0px #1e293b; 
}

.about-image img:hover {
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px #38bdf8; 
}


@media (max-width: 900px) {
    
    .navbar {
        justify-content: center; 
        padding: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
        font-size: 0.8rem;
    }

    
    #hero h1 { font-size: 2.5rem; }
    
    
    .about-container {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        margin-top: 0;
        margin-bottom: 3rem; 
    }

    .info-grid {
        text-align: left; 
    }
}

/* Project */


#projects {
    min-height: 100vh;
    padding: 8rem 10% 4rem;
}

.project-header {
    margin-bottom: 4rem;
}

.project-header h2 {
    font-size: 3rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 2rem;
}


.project-card {
    background-color: #1e293b;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-7px); 
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    border-color: #38bdf8; 
}


.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.folder-icon {
    font-size: 2rem;
}

.links a {
    font-size: 0.9rem;
    color: #38bdf8; 
}

.links a:hover {
    text-decoration: underline;
}

.project-card h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    font-family: monospace; 
    color: #64748b;
}


.folder-icon a svg:hover {
    stroke: #f8fafc; 
    transition: 0.3s;
}


@media (max-width: 768px) {
    .project-header h2 { font-size: 2.5rem; }
    .project-grid { grid-template-columns: 1fr; } 
}

/* Skills */

#skills-page {
    min-height: 100vh;
    padding: 8rem 10% 4rem;
}

.skills-header h2 {
    font-size: 3rem;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.skills-header p {
    color: #94a3b8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.skill-category h3 {
    color: #38bdf8; 
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem;
    margin-bottom: 4rem;
}

.skill-tags span {
    background: rgba(56, 189, 248, 0.1); 
    color: #38bdf8;
    padding: 0.8rem 1.5rem;
    border-radius: 50px; 
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: 0.3s;
    cursor: default;
}

.skill-tags span:hover {
    background: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5); 
    transform: translateY(-3px);
}


.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 4rem;
}

.activity-column h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #1e293b;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-list li {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem; 
    border-left: 2px solid #1e293b; 
}

.activity-list li:hover {
    border-left-color: #38bdf8; 
}

.activity-list strong {
    color: #e2e8f0;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.activity-list p {
    font-size: 0.95rem;
    color: #94a3b8;
}


.hobby-tags {
    margin-top: 0.5rem;
    display: flex;
    gap: 10px;
}

.hobby-tags small {
    background: #1e293b;
    padding: 4px 10px;
    border-radius: 4px;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.skills-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}


.skill-card {
    background: #1e293b; 
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;       
}

.skill-card h3 {
    color: #f8fafc;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.skill-card .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0; 
}

.skill-card .skill-tags span {
    font-size: 0.85rem; 
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.6);
}


@media (max-width: 900px) {
    
    
    .skills-box-container {
        grid-template-columns: 1fr; 
    }

    
    .activity-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .skills-header h2 {
        font-size: 2.5rem;
    }
}

/* Contact */

#contact-page {
    min-height: 100vh;
    display: flex;
    align-items: center; 
    padding: 6rem 10% 4rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 5rem;
    width: 100%;
    align-items: center;
}


.contact-info h2 {
    font-size: 4rem;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.contact-info .subtitle {
    font-size: 1.5rem;
    color: #38bdf8; 
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info .details {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 450px;
    margin-bottom: 2rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: #1e293b;
    border-radius: 50px;
    color: #cbd5e1;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}


.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #1e293b; 
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px); 
    border-color: #38bdf8;       
    background: #253346;
}


.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1); 
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #38bdf8; 
}

.contact-card:hover .icon-box {
    background: #38bdf8;
    color: #0f172a; 
}


.card-text {
    display: flex;
    flex-direction: column;
}

.card-text .label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.card-text .value {
    font-size: 1.1rem;
    color: #f8fafc;
    font-weight: 500;
}


@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }

    .contact-info h2 { font-size: 3rem; }
    
    .contact-card {
        padding: 1.2rem;
    }
}

@media (max-width: 900px) {

    #hero {
        flex-direction: column-reverse; 
        justify-content: center;
        text-align: center;
        padding-top: 6rem; 
        gap: 2rem;
    }

    .hero-image-box img {
        width: 250px; 
        height: 250px;
    }

    .cta-group {
        justify-content: center;
    }

    #hero h1 { font-size: 2.8rem; }
}

/* CV */

#cv-page {
    min-height: 100vh;
    padding: 7rem 5% 2rem; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cv-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cv-header h2 {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.pdf-container {
    width: 100%;
    max-width: 900px;
    height: 1150px; 
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

iframe {
    width: 100%;
    height: 100%;
    border: 1px solid;
}


@media (max-width: 768px) {
    .pdf-container {
        height: 400px;
    }
    .cv-header h2 { font-size: 2rem; }
}


.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #f8fafc; 
}


@media (max-width: 900px) {
    .navbar {
        justify-content: flex-end; 
        padding-right: 2rem; /* Adds a little breathing room from the edge */
    }

    .hamburger {
        display: block; 
        z-index: 1001; 
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0; 
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); 
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); 
    }

    
    .nav-list {
        position: fixed;
        left: -100%; 
        top: 70px;   
        flex-direction: column;
        background-color: #0f172a; 
        width: 100%;
        text-align: center;
        transition: 0.3s; 
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
        z-index: 999;
        gap: 0;
    }

    .nav-list.active {
        left: 0; 
    }

    .nav-list li {
        margin: 1.2rem 0; 
    }
}