/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --bg-gray: #929292;
    --burgundy: #3c081b;
    --pink-bright: #e63b7a;
    --pink-light: #ed719e;
    --white: #ffffff;
    --black: #0a0a0a;
    --off-white: #f8f8f8;
    
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(60, 8, 27, 0.02) 2px,
            rgba(60, 8, 27, 0.02) 4px
        );
    pointer-events: none;
    /* Keep the texture behind all content so it can't read as a “line through” text */
    z-index: 0;
    mix-blend-mode: multiply;
}

/* Ensure all page content sits above the texture overlay */
body > * {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===========================
   Navigation
   =========================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 4px solid var(--burgundy);
    backdrop-filter: blur(10px);
    /* Use an opaque background so the pink nav underline can't visually "slash" text behind it */
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(60, 8, 27, 0.1);
}

/* Prevent anchor jumps from tucking section headings under the fixed nav */
section {
    scroll-margin-top: 130px;
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: var(--burgundy);
    font-weight: 700;
    transform: skewX(-3deg);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: var(--pink-bright);
    transform: skewX(0deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -5px;
    right: -5px;
    height: 3px;
    background: var(--pink-bright);
    transform: scaleX(0) skewX(-10deg);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
    transform: scaleX(1) skewX(-10deg);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 180px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 110%;
    z-index: 1;
    transform: rotate(-2deg) scale(1.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.15) brightness(0.95);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(60, 8, 27, 0.88) 0%, rgba(146, 146, 146, 0.75) 60%, rgba(230, 59, 122, 0.3) 100%);
    z-index: 2;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 80px,
            rgba(237, 113, 158, 0.03) 80px,
            rgba(237, 113, 158, 0.03) 160px
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--white);
    transform: translateY(-5vh);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 12rem);
    line-height: 0.85;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    text-shadow: 4px 4px 0 rgba(60, 8, 27, 0.3);
}

.title-line {
    display: block;
    animation: slideInLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left;
}

.title-line.accent {
    color: var(--pink-light);
    margin-left: 8rem;
    transform: skewX(-5deg);
    animation: slideInRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 3rem;
    margin-left: 8rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
    text-transform: uppercase;
    border-left: 4px solid var(--pink-light);
    padding-left: 2rem;
}

.hero-description {
    max-width: 650px;
    margin-left: 8rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.7s forwards;
    background: rgba(60, 8, 27, 0.6);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border-left: 6px solid var(--pink-bright);
    transform: skewY(-1deg);
    overflow: visible;
}

.hero-description p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--pink-bright);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
    text-transform: uppercase;
    transform: skewX(-5deg);
    box-shadow: 6px 6px 0 rgba(60, 8, 27, 0.4);
}

.cta-button:hover {
    background: var(--burgundy);
    transform: skewX(-5deg) translateX(5px) translateY(-2px);
    box-shadow: 8px 8px 0 rgba(60, 8, 27, 0.4);
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: 10rem 2rem 8rem;
    background: var(--white);
    position: relative;
    margin-top: -5vh;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: 
        linear-gradient(225deg, rgba(237, 113, 158, 0.05) 0%, transparent 70%);
    pointer-events: none;
    transform: skewX(-10deg);
    transform-origin: top right;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    align-items: center;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    z-index: 2;
    transform: translateX(3rem);
}

.about-image {
    position: relative;
    overflow: visible;
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--burgundy);
    z-index: 1;
    transform: rotate(3deg);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    background: var(--pink-light);
    z-index: -1;
    opacity: 0.3;
    transform: skewX(-5deg);
}

.about-image img {
    width: 100%;
    position: relative;
    z-index: 2;
    filter: grayscale(15%) contrast(1.08);
    box-shadow: 12px 12px 0 rgba(60, 8, 27, 0.15);
}

.about-content {
    position: relative;
    z-index: 3;
    background: var(--white);
    padding: 3rem;
    padding-left: 5rem;
    transform: translateX(-2rem);
    word-wrap: break-word;
    overflow: visible;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6rem);
    color: var(--burgundy);
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    line-height: 0.9;
    transform: skewY(-2deg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 5px;
    background: var(--pink-bright);
    transform: skewX(-10deg);
}

.about-text p {
    margin-bottom: 1.8rem;
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--black);
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

.about-text a {
    color: var(--pink-bright);
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.about-text a:hover {
    color: var(--burgundy);
    border-bottom-color: var(--burgundy);
}

.about-links {
    margin-top: 2.5rem;
}

.about-link {
    display: inline-block;
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--pink-bright);
    padding-left: 1.5rem;
}

.about-link:hover {
    color: var(--pink-bright);
    transform: translateX(8px);
    border-left-color: var(--burgundy);
}

/* ===========================
   AI Statement Section
   =========================== */
.ai-statement {
    padding: 10rem 2rem 8rem;
    background: var(--burgundy);
    position: relative;
    margin-top: -5vh;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    overflow: hidden;
}

.ai-statement::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 60px,
            rgba(237, 113, 158, 0.1) 60px,
            rgba(237, 113, 158, 0.1) 120px
        );
    pointer-events: none;
    transform: skewX(15deg);
}

.ai-statement::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

.ai-statement-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ai-statement .section-title {
    color: var(--white);
    border-left: 6px solid var(--pink-bright);
    padding-left: 2.5rem;
    margin-bottom: 3rem;
}

.ai-statement .section-title::after {
    display: none;
}

.ai-statement-content {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    padding: 3.5rem;
    border-left: 8px solid var(--pink-light);
    backdrop-filter: blur(10px);
    transform: skewY(-1deg);
}

.ai-statement-content p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--white);
}

.ai-statement-content p:last-child {
    margin-bottom: 0;
}

.ai-opening {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pink-light);
    margin-bottom: 2.5rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.ai-conclusion {
    font-weight: 600;
    font-style: italic;
    color: var(--pink-light);
    margin-top: 2.5rem;
    font-size: 1.15rem;
}

/* ===========================
   Portfolio Section
   =========================== */
.portfolio {
    padding: 10rem 2rem 8rem;
    background: var(--bg-gray);
    position: relative;
    margin-top: -5vh;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 60px,
            rgba(60, 8, 27, 0.04) 60px,
            rgba(60, 8, 27, 0.04) 120px
        );
    pointer-events: none;
}

.portfolio::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(237, 113, 158, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transform: skewY(-10deg);
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.portfolio .section-title {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(60, 8, 27, 0.3);
    border-left: 4px solid var(--pink-light);
    padding-left: 2rem;
}

.portfolio .section-title::after {
    display: none;
}

.portfolio-intro {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 4rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-left: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--white);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 6px solid transparent;
    position: relative;
    overflow: hidden;
    transform: rotate(0deg);
}

.portfolio-item:nth-child(odd) {
    transform: translateY(-20px) rotate(-1deg);
}

.portfolio-item:nth-child(even) {
    transform: translateY(20px) rotate(1deg);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 8, 27, 0.08) 0%, rgba(237, 113, 158, 0.08) 100%);
    transition: width 0.4s ease;
    transform: skewX(-10deg);
    transform-origin: left;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: var(--pink-light);
    opacity: 0;
    transition: all 0.4s ease;
    transform: rotate(45deg);
    z-index: 0;
}

.portfolio-item:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.02);
    border-left-color: var(--pink-bright);
    box-shadow: 12px 12px 0 rgba(60, 8, 27, 0.2);
}

.portfolio-item:hover::before {
    width: 120%;
}

.portfolio-item:hover::after {
    opacity: 0.15;
    bottom: -20px;
    right: -20px;
}

.portfolio-item-content {
    position: relative;
    z-index: 1;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--burgundy);
    font-weight: 700;
    margin-bottom: 1.2rem;
    background: rgba(237, 113, 158, 0.15);
    padding: 0.4rem 1rem;
    transform: skewX(-5deg);
}

.portfolio-item h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--burgundy);
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
    line-height: 1.1;
}

.portfolio-item p {
    color: var(--black);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 10rem 2rem 8rem;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
    margin-top: -5vh;
}

.contact-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    z-index: 1;
    transform: rotate(2deg) scale(1.1);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.2) brightness(0.9);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(225deg, rgba(60, 8, 27, 0.92) 0%, rgba(146, 146, 146, 0.88) 50%, rgba(230, 59, 122, 0.4) 100%);
    z-index: 2;
}

.contact-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 100px,
            rgba(237, 113, 158, 0.05) 100px,
            rgba(237, 113, 158, 0.05) 200px
        );
}

.contact-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
    background: rgba(60, 8, 27, 0.5);
    padding: 4rem;
    backdrop-filter: blur(15px);
    border-left: 8px solid var(--pink-bright);
    transform: skewY(-1deg);
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.2);
    overflow: visible;
    word-wrap: break-word;
}

.contact .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.contact .section-title::after {
    background: var(--pink-light);
}

.contact-intro {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-resume-note {
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    opacity: 0.7;
    font-style: italic;
    letter-spacing: 0.3px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.form-group label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--pink-light);
    transform: skewX(-3deg);
}

.form-group input,
.form-group textarea {
    padding: 1.2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink-light);
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(3px);
}

.submit-button {
    padding: 1.4rem 3.5rem;
    background: var(--pink-bright);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    transform: skewX(-5deg);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.submit-button:hover {
    background: var(--burgundy);
    transform: skewX(-5deg) translateX(5px) translateY(-3px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.3);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--burgundy);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(237, 113, 158, 0.1) 40px,
            rgba(237, 113, 158, 0.1) 80px
        );
    transform: skewY(-2deg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--pink-light);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
}

.footer-links a:hover {
    color: var(--white);
    border-bottom-color: var(--pink-light);
}

/* ===========================
   Animations
   =========================== */
@keyframes slideInLeft {
    from {
        transform: translateX(-80px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(80px) skewX(-5deg);
        opacity: 0;
    }
    to {
        transform: translateX(0) skewX(-5deg);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image-wrapper {
        transform: translateX(0);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        padding-left: 3rem;
        transform: translateX(0);
    }
    
    .hero-description,
    .hero-subtitle,
    .cta-button {
        margin-left: 4rem;
    }
    
    .title-line.accent {
        margin-left: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
    }
    
    .about {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
        padding: 6rem 2rem 5rem;
    }
    
    .portfolio {
        clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
        padding: 6rem 2rem 5rem;
    }
    
    .contact {
        clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 100%);
    }
    
    .hero-description,
    .hero-subtitle,
    .cta-button {
        margin-left: 2rem;
    }
    
    .title-line.accent {
        margin-left: 2rem;
    }
    
    .hero-description {
        transform: skewY(0);
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .contact-content {
        padding: 2.5rem;
        transform: skewY(0);
    }
    
    .portfolio-item:nth-child(odd),
    .portfolio-item:nth-child(even) {
        transform: none;
    }
    
    .portfolio-item:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .nav-logo {
        font-size: 1.8rem;
    }
    
    .hero-description,
    .hero-subtitle,
    .cta-button {
        margin-left: 0;
    }
    
    .title-line.accent {
        margin-left: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        padding: 1.5rem;
    }
    
    .about-image::before {
        top: -15px;
        left: -15px;
        border-width: 3px;
    }
    
    .about-image::after {
        display: none;
    }
    
    .contact-content {
        padding: 2rem;
    }
    
    .cta-button,
    .submit-button {
        transform: none;
        box-shadow: 4px 4px 0 rgba(60, 8, 27, 0.4);
    }
    
    .cta-button:hover,
    .submit-button:hover {
        transform: translateX(3px) translateY(-2px);
    }
}
