/* Enhanced CSS for Personal Portfolio */

:root {
    --primary-color: #1a1b1f;
    --accent-color: #32343a;
    --text-color: #1a1b1f;
    --bg-color: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition-speed: 0.3s;
}

/* Typography Enhancements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1.heading-jumbo {
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.paragraph-light {
    line-height: 1.6;
    opacity: 0.75;
}

/* Navigation Enhancements */
.navigation {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    transition: all 0.3s ease;
}

.section:first-of-type {
    padding-top: 180px;
    /* Compensate for fixed header */
}

.navigation-item {
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.navigation-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navigation-item:hover::after {
    width: 100%;
}

/* Hero Section Enhancements */
.intro-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* Center align hero for better balance */
}

.intro-wrap .name-text {
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--accent-color);
}

/* Card & Grid Enhancements */
.work-image {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, opacity 0.3s ease;
    overflow: hidden;
    position: relative;
}

.work-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    opacity: 1;
}

/* Add a subtle overlay on hover to make text pop if needed, 
   though current design has text outside. 
   Let's just make the image zoom slightly inside. */
.work-image {
    background-size: cover;
    background-position: center;
}

/* Button Enhancements */
.primary-button {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-color);
    /* Ensure color stays consistent or darkens slightly */
}

/* Form Enhancements */
.text-field {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.text-field:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 27, 31, 0.1);
}

/* Footer Enhancements */
.footer-wrap {
    border-top: 1px solid #eee;
    margin-top: 60px;
}

/* Section Spacing */
.section {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .section:first-of-type {
        padding-top: 120px;
    }

    h1.heading-jumbo {
        font-size: 36px;
        line-height: 1.2;
    }
}

/* Project Screenshot Enhancements */
.project-screenshot-card {
    border-radius: 1.25rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.project-screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

.project-screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}