/* General container for the entire page */
.wireframe {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #5b5b5b;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    /* Prevents scrollbars from appearing on large screens */
}

/* Navigation bar styling */
.wireframe .navbar {
    display: flex;
    width: 100%;
    height: 64px;
    align-items: center;
    justify-content: center;
    padding: 0px 2.5vw;
    background-color: #5b5b5b;
    box-shadow: 0px 1px 3px #2828284c;
    position: sticky;
    top: 0;
    z-index: 100;
}

.wireframe .frame {
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    justify-content: space-between;
    gap: 5vw;
    position: relative;
}

.wireframe .div {
    display: inline-flex;
    height: 38px;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 0 0 auto;
}

.wireframe .union-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
    aspect-ratio: 1;
}

.wireframe .union {
    position: absolute;
    width: 38px;
    height: 38px;
    top: 0;
    left: 0;
}

.wireframe .text-wrapper {
    position: relative;
    width: fit-content;
    font-family: "Goldman-Bold", Helvetica;
    font-weight: 700;
    color: #bea98a;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0;
    line-height: normal;
}

.wireframe .frame-2 {
    display: inline-flex;
    align-items: center;
    gap: 1vw;
    position: relative;
    flex: 0 0 auto;
}

.wireframe .div-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 1vw;
    position: relative;
    flex: 0 0 auto;
    border-radius: 6px;
}

.wireframe .text-wrapper-2 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Inter-Medium", Helvetica;
    font-weight: 500;
    color: #ffffff99;
    font-size: clamp(12px, 1vw, 14px);
    letter-spacing: 0;
    line-height: 22px;
    white-space: nowrap;
    transition: color 0.3s;
}

.wireframe .text-wrapper-2.active {
    color: #00ffcc;
}

.wireframe .text-wrapper-2:hover {
    color: #ffffff;
}

/* Main content container - simplified for portfolio page */

/* Remove old absolute positioning styles */

/* Portfolio item styling */
.wireframe .frame-4,
.wireframe .frame-5,
.wireframe .frame-6,
.wireframe .frame-7,
.wireframe .frame-8,
.wireframe .frame-9,
.wireframe .frame-10,
.wireframe .frame-11 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    width: 100%;
    max-width: 200px;
}

/* Remove old frame-5 styles - now handled by portfolio item styling */

/* Remove unused styles - not needed for portfolio page */

.wireframe .img,
.wireframe .image {
    position: relative;
    width: 120px;
    height: 120px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 8px;
}

/* Portfolio grid container */
.wireframe .frame-3 {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
    align-items: center;
    z-index: 10;
}

/* Remove old frame-7 and frame-8 styles - now handled by portfolio item styling */

.wireframe .text-wrapper-4 {
    position: relative;
    width: fit-content;
    font-family: "Goldman-Bold", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

/* Remove old text-wrapper-5 styles - no longer needed */

/* Remove hero-video styles - not needed for portfolio page */

/* Responsive design for smaller screens */
@media (max-width: 1200px) {
    .wireframe .frame-3 {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Responsive design for tablets and mobile */
@media (max-width: 860px) {
    .wireframe .frame-3 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .wireframe .img,
    .wireframe .image {
        width: 80px;
        height: 80px;
    }

    .wireframe .text-wrapper-4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wireframe .frame-3 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
    }

    .wireframe .img,
    .wireframe .image {
        width: 60px;
        height: 60px;
    }
}