/* 
* Personal Portfolio - .NET Developer
* A clean, professional portfolio design focused on enterprise development experience
*/

/* Variables */
:root {
    /* Colors */
    --primary: #0078d7;         /* Microsoft blue */
    --primary-dark: #005a9e;
    --secondary: #512bd4;       /* .NET purple */
    --accent: #00b7c3;          /* Accent color */
    --dark: #252525;
    --dark-light: #333333;
    --light: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #e0e0e0;
    --text: #333333;
    --text-light: #767676;
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --section-padding-mobile: 4rem 0;
    
    /* Effects */
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 10px rgba(0, 120, 215, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 120, 215, 0.35);
}

.btn-secondary {
    background-color: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 120, 215, 0.25);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.section-divider {
    display: block;
    width: 80px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin-bottom: 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.8rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
}

.logo-text {
    color: var(--primary);
    margin-right: 0.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    width: 100%;
}

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

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--dark);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--gray);
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.intro-text {
    color: var(--primary);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-text h1 {
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.8rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.hero-image {
    flex: 0.8;
    text-align: center;
}

.profile-container {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--light);
    box-shadow: var(--shadow);
    margin: 0 auto;
    position: relative;
}

.profile-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background-color: var(--light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-5px);
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.3;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.personal-info {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-title {
    font-weight: 600;
    color: var(--dark);
    margin-right: 0.5rem;
}

.info-title i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Experience Section */
.experience {
    background-color: var(--gray);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--gray-dark);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary);
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content .date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.responsibilities {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.responsibilities li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    color: var(--text-light);
}

.responsibilities li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-stack span {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(0, 120, 215, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills {
    background-color: var(--light);
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skills-category {
    text-align: center;
    margin-bottom: 2rem;
}

.skills-category h3 {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--light);
    border-radius: 30px;
    margin-bottom: 2rem;
}

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 120, 215, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.skill-info {
    flex: 1;
}

.skill-info h4 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--gray-dark);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Projects Section */
.projects {
    background-color: var(--gray);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--light);
    border: 1px solid var(--gray-dark);
    color: var(--text);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

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

.project-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 200px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.project-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

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

.project-tech li {
    padding: 0.2rem 0.8rem;
    background-color: rgba(0, 120, 215, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

/* Contact Section */
.contact {
    background-color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 120, 215, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item div h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item div p a {
    color: var(--text-light);
}

.info-item div p a:hover {
    color: var(--primary);
}

.contact-form {
    padding: 2rem;
    background-color: var(--gray);
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--light);
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 1.5rem 0;
    text-align: center;
}

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

.footer p {
    margin-bottom: 0;
    color: var(--gray);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.7rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .section {
        padding: var(--section-padding-mobile);
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .profile-container {
        width: 250px;
        height: 250px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item::before {
        left: 7px;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
