/* Base Styles and Neobrutalism Variables */
:root {
    --bg-color: #f4f0ec;
    /* Soft background to contrast with boxes */
    --border-main: 4px solid #000;
    --shadow-main: 8px 8px 0px #000;
    --shadow-hover: 3px 3px 0px #000;
}

body {
    background-color: var(--bg-color);
    font-family: 'Public Sans', sans-serif;
    color: #000;
    overflow-x: hidden;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
}

.fw-black {
    font-weight: 900;
}

/* Custom Neobrutalism Colors */
.bg-yellow {
    background-color: #f1f333 !important;
}

.bg-cyan {
    background-color: #00f0ff !important;
}

.bg-pink {
    background-color: #ff90e8 !important;
}

.bg-green {
    background-color: #00ff2a !important;
}

.text-pink {
    color: #ff90e8 !important;
}

/* Utilities */
.shadow-hard {
    box-shadow: var(--shadow-main) !important;
}

.neo-text-shadow {
    text-shadow: 3px 3px 0px #000;
}

/* Navbar */
.neo-nav {
    box-shadow: 0 4px 0px #000;
}

.nav-link {
    position: relative;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: #000;
    color: #fff !important;
    transform: translateY(-2px);
}

.neo-toggler {
    box-shadow: 2px 2px 0px #000 !important;
}

/* Core Box Components */
.neo-box {
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    border-radius: 0;
    transition: all 0.2s ease-in-out;
}

.neo-card {
    border: 3px solid #000;
    box-shadow: 5px 5px 0px #000;
    border-radius: 0;
}

/* Profile Image */
.neo-profile-img {
    border: 5px solid #000;
    box-shadow: 12px 12px 0px #000;
    border-radius: 0;
    transition: all 0.3s ease;
    object-fit: cover;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1/1;
}

.neo-profile-img:hover {
    transform: translate(6px, 6px);
    box-shadow: 6px 6px 0px #000;
}

/* Buttons */
.neo-btn {
    border: 3px solid #000;
    box-shadow: 5px 5px 0px #000;
    font-weight: 900;
    text-transform: uppercase;
    padding: 12px 24px;
    text-decoration: none;
    color: #000;
    display: inline-block;
    transition: all 0.15s ease;
    cursor: pointer;
}

.neo-btn:hover,
.neo-btn:focus {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #000;
    color: #000;
}

/* Badges */
.skill-badge {
    border: 2px solid #000;
    padding: 8px 14px;
    font-weight: 800;
    box-shadow: 3px 3px 0px #000;
    display: inline-block;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.skill-badge:hover {
    transform: translateY(-3px);
}

.tool-badge {
    border: 2px solid #000;
    padding: 4px 8px;
    font-weight: 700;
    background: #e9ecef;
    font-size: 0.8rem;
    box-shadow: 2px 2px 0px #000;
}

/* Form Inputs */
.neo-input {
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    padding: 12px 15px;
    font-weight: 600;
    box-shadow: 4px 4px 0px #000;
    transition: all 0.2s;
}

.neo-input:focus {
    box-shadow: 2px 2px 0px #000;
    transform: translate(2px, 2px);
    outline: none;
    border-color: #000;
}

/* Footer Buttons */
.footer-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px #000;
    border-radius: 0;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0px #000;
}

/* Watermark */
.neo-watermark {
    font-family: 'Courier New', Courier, monospace;
    transform: rotate(-1deg);
}

/* Animations */
@keyframes jiggle {
    0% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(-2deg);
    }
}

.neo-heading:hover {
    animation: jiggle 0.3s ease-in-out infinite;
}