/* Color Palette and Base Setup */
:root {
    --warmBlackBackground: #1a120b;
    --warmCardBackground: #2d1e16;
    --textWhite: #ffffff;
    --textWarmGray: #d6d3d1;
    --accentOrange: #f97316;
    --accentYellow: #fbbf24;
    --accentGradient: linear-gradient(135deg, #fbbf24, #f97316);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--warmBlackBackground);
    color: var(--textWhite);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header and Navigation */
.mainHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(26, 18, 11, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--warmCardBackground);
}

.brandName {
    background: var(--accentGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.navMenu a {
    color: var(--textWhite);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.navMenu a:hover {
    color: var(--accentOrange);
}

/* Hero Section */
.heroArea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 0 10%;
    padding-top: 80px;
    gap: 50px;
}

.heroContent {
    flex: 1;
    animation: slideUp 1s ease forwards;
}

.heroHeading {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--textWhite);
}

.heroSubtext {
    font-size: 1.2rem;
    color: var(--textWarmGray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.actionButton {
    display: inline-block;
    background: var(--accentGradient);
    color: var(--warmBlackBackground);
    padding: 12px 30px;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box shadow 0.3s ease;
    cursor: pointer;
}

.actionButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.profileImageContainer {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeIn 1.5s ease forwards;
}

.profileImage {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accentOrange);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.4);
    animation: floatImage 4s ease-in-out infinite;
}

/* General Section Styling */
.contentSection {
    padding: 6rem 10%;
}

.sectionHeading {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--textWhite);
    position: relative;
    display: inline-block;
}

.sectionHeading::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--accentGradient);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.sectionText {
    color: var(--textWarmGray);
    font-size: 1.1rem;
    max-width: 800px;
}

/* Experience Section */
.experienceList {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experienceItem {
    background-color: var(--warmCardBackground);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accentYellow);
    transition: transform 0.3s ease, box shadow 0.3s ease;
}

.experienceItem:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.15);
}

.jobTitle {
    color: var(--textWhite);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.jobMeta {
    color: var(--accentYellow);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.jobDescription {
    color: var(--textWarmGray);
}

/* Skills Section */
.skillsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skillPill {
    background-color: var(--warmCardBackground);
    color: var(--textWhite);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    border: 1px solid var(--warmCardBackground);
    transition: all 0.3s ease;
    cursor: default;
}

.skillPill:hover {
    border-color: var(--accentOrange);
    color: var(--accentYellow);
    transform: translateY(-5px) scale(1.05);
}

/* Projects Section */
.projectGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.projectCard {
    background-color: var(--warmCardBackground);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.projectCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.projectTitle {
    color: var(--textWhite);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.projectDetails {
    color: var(--textWarmGray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.projectTags {
    display: flex;
    gap: 10px;
}

.projectTag {
    font-size: 0.8rem;
    color: var(--warmBlackBackground);
    font-weight: bold;
    background: var(--accentGradient);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Footer */
.mainFooter {
    text-align: center;
    padding: 4rem 10%;
    background-color: var(--warmCardBackground);
    margin-top: 4rem;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.mainFooter .sectionHeading::after {
    left: 25%;
    width: 50%;
}

.footerText {
    color: var(--textWarmGray);
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.footerEmail {
    color: var(--accentYellow);
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footerEmail:hover {
    color: var(--accentOrange);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .heroArea {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
        gap: 30px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .heroSubtext {
        margin: 0 auto 2.5rem auto;
    }

    .heroHeading {
        font-size: 2.5rem;
    }

    .profileImage {
        width: 220px;
        height: 220px;
    }

    .mainHeader {
        flex-direction: column;
        padding: 1rem 5%;
    }

    .navMenu {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .navMenu a {
        margin: 0;
    }

    .sectionHeading::after {
        left: 0;
    }
    
    .contentSection {
        padding: 4rem 5%;
    }
}