/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #c0c0c0;
    background-color: #161616;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: relative;
    width: 100%;
    z-index: 1000;
    margin: 2rem 0;
}

.nav-container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    min-width: 64px;
    background-color: #1b1b1b;
    border-radius: 50%;
    border: 2px solid #262626;
}

.nav-logo svg {
    width: 45px;
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    width: 100%;
    height: 64px;
    padding: 0 4rem;
    align-items: center;
    justify-content: space-between;
    background-color: #1b1b1b;
    border-radius: 64px;
    border: 2px solid #262626;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 20px;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #96BF48;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 64px;
    height: 64px;
    background-color: #1b1b1b;
    border-radius: 50%;
    border: 2px solid #262626;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.bar {
    width: 20px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #96BF48;
    color: white;
}

.btn-primary:hover {
    background-color: #7a9a3a;
    transform: translateY(-2px);
}

.btn-hire-me {
    border: 1px solid #000;
    box-shadow: -2px 2px 20px #96BF48;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 9px 7px 9px 12px;
    border-radius: 10px;
}

.btn-hire-me::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: calc(100% - 1px);
    border-radius: 8px;
    border-top: 1px solid #7a9a3a;
    z-index: 1;
}

.btn-hire-me::before {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: #000;
    right: 33px;
    z-index: 2;
}

.btn-hire-me span {
    padding: 0 6px 0 6px;
}

.btn-secondary {
    background-color: transparent;
    color: #96BF48;
    border: 2px solid #96BF48;
    display: flex;
}

.btn-secondary:hover {
    background-color: #96BF48;
    color: white;
}

.btn-copy-email {
    background: #1b1b1b;
    border: 1px solid #262626;
    color: #c0c0c0;
    padding: 2px 2px 2px 11px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.btn-copy-email::before {
    content: '';
    position: absolute;
    top: 0;
    right: 42px;
    width: 100%;
    height: 100%;
    width: 1px;
    background: #262626;
}

.btn-copy-email svg {
    width: 24px;
    height: 24px;
}

/* Bento Box Layout */
.bento-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.bento-box {
    background-color: #1b1b1b;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #262626;
    transition: all 0.3s ease;
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.box-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
    position: relative;
}

.box-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #96BF48;
}

/* Hero Section - 1 Column */
.bento-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center; 
    background: #1b1b1b;
    border: 1px solid #262626;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 4.4rem;
}

.hero-content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #c0c0c0;
    font-weight: 400;
    margin-bottom: 0;
}

.hero-title {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #c0c0c0;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.button-group {
    display: flex;
    align-items: center;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-avatar {
    width: fit-content;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.avatar-image {
    width: 178px;
    height: 178px;
    padding: 10px;
    border-radius: 50%;
    background: #2C2C2C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    border: 1px solid #3F3E3E;
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.availability-badge {
    background: #161616;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c0c0c0;
    border: 1px solid #262626;
    line-height: 1;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #E4643F;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Experience & Technologies Section - 2 Columns */
.experience-tech-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Experience Box */
.experience-box {
    background: linear-gradient(67deg, #1b1b1b 62%, #96BF48 150%);
    position: relative;
    border-radius: 16px;
    padding: 2rem;
}

.experience-box::before {
    content: '';
    position: absolute;
    top: 0;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    right: 0;
    mask-image: linear-gradient(247deg, black 0%, transparent 30%);
    border: 2px solid #96BF48;
    border-radius: 18px;
    pointer-events: none;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom scrollbar for experience content */
.experience-content::-webkit-scrollbar {
    width: 6px;
}

.experience-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.experience-content::-webkit-scrollbar-thumb {
    background: #96BF48;
    border-radius: 3px;
}

.experience-content::-webkit-scrollbar-thumb:hover {
    background: #7a9a3a;
}

.experience-item {
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    border-left: 4px solid #96BF48;
}

.experience-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company {
    color: #96BF48;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.duration {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.description {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Technologies Box */
.technologies-box {
    background: linear-gradient(248deg, #1b1b1b 62%, #96BF48 150%);
    position: relative;
    border-radius: 16px;
    padding: 2rem;
}

.technologies-box::before {
    content: '';
    position: absolute;
    top: 0;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    right: 0;
    mask-image: linear-gradient(67deg, black 0%, transparent 30%);
    border: 2px solid #96BF48;
    border-radius: 18px;
    pointer-events: none;
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-category h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.tech-tag {
    background-color: #96BF48;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: #7a9a3a;
    transform: translateY(-2px);
}

/* Projects Section - 1 Column */
.bento-projects {
    grid-column: 1 / -1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #262626;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #96BF48;
}

.project-image {
    width: 100%;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.1rem;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* location-container */
.location-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-icon {
    width: 24px;
    height: 24px;
}


.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-description {
    margin-bottom: 1rem;
    color: #c0c0c0;
    line-height: 1.6;
}

.project-tech {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech .tech-tag {
    background-color: #404040;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #96BF48;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #7a9a3a;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #262626;
    transition: all 0.3s ease;
}

.contact-item a {
    text-decoration: none;
    color: #96BF48;
}

.contact-item:hover {
    border-color: #96BF48;
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #2a2a2a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-info p {
    color: #c0c0c0;
    font-size: 0.9rem;
    margin: 0;
    word-break: break-all;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #0056b3;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #262626;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #1a1a1a;
    color: #c0c0c0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #96BF48;
    background-color: #2a2a2a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #c0c0c0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #262626;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .navbar {
        margin: 1rem 0;
    }
    .hamburger {
        display: flex;
    }

    .bento-hero {
      padding: 1rem;
      justify-content: flex-start;
    }

    .availability-badge {
        padding: 0.4rem 0.5rem;
    }

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

    .status-dot {
        width: 6px;
        height: 6px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #1b1b1b;
        width: 100%;
        height: fit-content;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        padding: 2rem 2rem 2rem;
        z-index: 999;
        justify-content: flex-start;
        gap: 2rem;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }
    
    .hero-content-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 1.5rem;
        align-items: start;
    }

    .hero-content-header {
        flex-direction: column-reverse;
        align-items: start;
        gap: 1.5rem;
    }

    .bento-box {
        padding: 1rem;
    }

    .experience-box {
        padding: 1rem;
    }

    .technologies-box {
        padding: 1rem;
    }

    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-avatar {
        margin: 0;
    }

    .bento-container {
        padding: 15px;
        gap: 1.5rem;
    }
    
    .experience-tech-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-tags {
        justify-content: flex-start;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .box-title {
        font-size: 1.5rem;
    }
}
