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

body {
    background-color: #0a192f; /* Deep Navy Dark Mode */
    color: #ccd6f6;
}

/* 2. Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between; /* Logo on left, links on right */
    align-items: center;
    padding: 20px 8%;
    height: 80px;
    background-color: rgba(10, 25, 47, 0.95); /* Semi-transparent */
    position: fixed; /* Stays at top */
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* 3. Logo Style */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8fafc;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease; /* Makes the color fade in smoothly */
}

.logo:hover {
    color: #64ffda; /* Entire name turns teal */
    transform: translateY(-2px); /* Subtle "pop" up */
}

.logo:hover span {
    display: inline-block;
    transform: scale(1.5); /* The dot grows 50% larger on hover */
    color: #f8fafc; /* The dot changes to white for contrast */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy pop */
}


.logo span {
    color: #64ffda; /* That cool teal accent color */
}

/* 4. The Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #8892b0;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;       /* Adds space for the background box */
    border-radius: 8px;      /* Makes the box corners rounded */
    transition: all 0.3s ease; /* Smooth transition for everything */
    display: inline-block;   /* Allows the "pop" movement */
}

.nav-links a:hover {
    color: #64ffda;          /* Changes text color to your accent teal */
    background-color: rgba(100, 255, 218, 0.1); /* Translucent teal box */
    transform: translateY(-3px); /* The "Pop" - moves it up slightly */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle depth shadow */
}

/* Hero Section Container to position everything */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between; /* This puts text on left, image on right */
    padding: 0 10%;
    gap: 30px;
}

.hero-image-container {
    position: relative;
    width: 370px; /* Adjust based on how big you want the blob */
    height: 390px;
    margin-right: 0px;
    margin-top: 20px;
}

.blob-shape {
    width: 100%;
    height: 100%;
    background-color: #112240; 
    /* This specific border-radius creates the organic "blob" shape */
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    overflow: hidden; /* Ensures the image stays inside the blob */
    display: flex;
    align-items: flex-end; /* Aligns image to the bottom of the blob */
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

.blob-shape img {
    width: 110%; /* Makes image slightly larger to fill the shape */
    height: auto;
    object-fit: cover;
}

.hero-image-container:hover .blob-shape {
    /*  change the border-radius values slightly for the "hover" state */
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; /* Becomes a perfect circle */
    transform: scale(1.05); /* Makes the whole thing grow 5% larger */
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2); /* Adds a teal glow */
}


.hero-text {
    flex: 1; /* Takes up left side space */
}

.intro-hi {
    font-size: 4.5rem;
    font-weight: 800;
    color: #f8fafc; /* Clean White */
    line-height: 1.1;
}

.intro-main {
    font-size: 4.5rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
}

.intro-main span {
    color: #64ffda; /* signature Teal */
}

.intro-sub {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* This makes it auto-shrink if the text is long */
    font-weight: 700;
    color: #8892b0;
    margin-top: 5px;
    letter-spacing: -1px;
}

#typed-name {
    color: #64ffda; 
}

.cursor {
    color: #64ffda;
    font-weight: 200;
    margin-left: 5px;
    /* This makes the cursor blink like a real terminal */
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { color: transparent }
    50% { color: #64ffda; }
}

.hero-socials {
    position: absolute;
    bottom: 50px;
    left: 10%;
    display: flex;
    gap: 25px;
    z-index: 10;
}

.hero-socials a {
    color: #8892b0; /* Dimmed color to match your sub-text */
    font-size: 1.5rem; /* Makes icons readable */
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-socials a:hover {
    color: #64ffda; /* Teal accent on hover */
    transform: translateY(-5px); /* The "Pop" effect */
}


.btn-resume {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px; /* Slightly wider padding for a better oval look */
    border: 1.5px solid #64ffda;
    color: #64ffda;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px; /* This creates the oval/pill shape */
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); /* Smoother transition */
    cursor: pointer;
    background: transparent;
}

.btn-resume i {
    margin-left: 8px;
}

.btn-resume:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1); /* Teal tinted shadow */
}
.menu-checkbox, .hamburger {
    display: none;
}


/* About Section Styles */
.about-section {
    padding: 150px 10% 80px;
    min-height: 100vh;
}

.section-title {
    font-size: 2rem;
    color: #ccd6f6;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.section-title span {
    color: #64ffda;
    font-family: monospace;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* This creates the side-by-side look on desktop and stacks on mobile */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    list-style: none;
    gap: 10px;
}

.skills-list li::before {
    content: "▹";
    color: #64ffda;
    margin-right: 10px;
}

/* Image Styling */
.image-wrapper {
    position: relative;
    max-width: 300px;
    border-radius: 10px;
    background-color: #64ffda; /* Teal accent for the image tint */
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    mix-blend-mode: multiply; /* Creates that professional dark-tint look */
    filter: grayscale(100%) contrast(1);
    transition: all 0.3s ease;
}

.image-wrapper:hover img {
    mix-blend-mode: normal;
    filter: none;
}
.pop-word {
    display: inline-block; /* Required for the 'lift' to work */
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: default;
}

.pop-word:hover {
    transform: translateY(-8px); /* Lifts the word up */
    color: #64ffda; /* Signature teal highlight */
}

/* Apply the same logic to your typed name */
#typed-name {
    display: inline-block;
    transition: transform 0.3s ease;
}

#typed-name:hover {
    transform: translateY(-8px);
}

/* Contact Section */
.contact-section {
    padding: 150px 10% 80px;
    min-height: 100vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    color: #ccd6f6;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #8892b0;
}

.detail-item i {
    color: #64ffda;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 15px;
    background: #112240;
    border: 1px solid #233554;
    border-radius: 4px;
    color: #ccd6f6;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #64ffda;
}

.contact-btn {
    padding: 15px 30px;
    background: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    width: fit-content;
}

.contact-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.whatsapp-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateX(10px); /* Subtle slide effect on hover */
}

.whatsapp-link:hover i {
    color: #25D366; /* Changes to WhatsApp Green only on hover */
}

/* Projects Placeholder Styles */
.projects-placeholder {
    padding: 150px 10% 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.placeholder-content {
    max-width: 600px;
}

.placeholder-icon {
    font-size: 5rem;
    color: #64ffda;
    margin-bottom: 30px;
    opacity: 0.5;
}

.placeholder-content h3 {
    font-size: 2.5rem;
    color: #ccd6f6;
    margin-bottom: 20px;
}

.placeholder-content p {
    color: #8892b0;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.back-btn {
    padding: 12px 25px;
    border: 1px solid #64ffda;
    color: #64ffda;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.back-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}


/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse; /* Puts image on TOP, text on bottom */
        justify-content: center;
        text-align: center;
        padding: 100px 5%; /* Adds space for the fixed navbar */
        height: auto; /* Lets the page grow as long as needed */
        min-height: 100vh;
    }

    .hero-image-container {
        width: 280px; /* Smaller blob for mobile */
        height: 300px;
        margin-right: 0;
        margin-bottom: 40px; /* Space between image and text */
    }

    .intro-hi, .intro-main {
        font-size: 2.5rem; /* Smaller font so it doesn't wrap weirdly */
    }

    .intro-sub {
        font-size: 1.2rem;
    }

    .hero-socials {
        position: relative; /* Removes them from the bottom corner */
        left: 0;
        bottom: 0;
        margin-top: 40px;
        justify-content: center; /* Centers them under the button */
    }

    .hamburger {
        display: block; /* Show hamburger icon */
        font-size: 1.8rem;
        color: #64ffda;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hide menu off-screen to the right */
        height: 100vh;
        width: 70%; /* Takes up 70% of screen width */
        background-color: #112240;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0px 30px rgba(0,0,0,0.5);
    }

    /* When the checkbox is checked, slide the menu in */
    .menu-checkbox:checked ~ .nav-links {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .about-content {
        grid-template-columns: 1fr; /* Stack everything in one column */
        text-align: left;
    }

    .about-image {
        order: -1; /* Puts image ABOVE text on phones */
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

    .skills-list {
        grid-template-columns: 1fr 1fr;
    }
        .contact-container {
        grid-template-columns: 1fr; /* Stack form under info */
    }
    
    .contact-btn {
        width: 100%; /* Full width button on phone */
    }

        .placeholder-content h3 {
        font-size: 1.8rem;
    }
}
