/* Add styles here */
@import url(design_system.css);

.work {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 100px 40px;
    grid-row-gap: 60px;
    grid-column-gap: 30px;
}

.section_one {
    display: grid;
    grid-template-columns: auto;
    padding: 12% 0;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.monogram-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50vw;
    font-weight: 800;
    color: rgba(0, 136, 255, 0.03);
    z-index: -1;
    pointer-events: none;
    font-family: 'Rubik', sans-serif;
    line-height: 1;
}

.section_one div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section_one h1 {
    text-align: center;
    margin-bottom: 20px;
}

.section_one p {
    text-align: center;
    width: 75%;
}

.section_two {
    display: flex;
    justify-content: center;
}

.section_two ul {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
    justify-content: center;
}

.section_two ul li {
    color: #000000;
    border: solid 1px var(--primary_color);
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    margin: 0px 20px 20px 20px;
}

.section_two ul li.active {
    color: #ffffff;
    background-color: var(--primary_color);
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    margin: 0px 20px 20px 20px;
}

.item_box {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    transition: transform 0.3s ease;
    height: 100%;
}



.hide {
    display: none;
}

.item_box img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card {
    position: relative;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.info {
    padding: 10px 5px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.info h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary_color);
    margin-bottom: 8px;
    font-weight: 500;
}

.info p {
    font-size: 18px;
    color: var(--heading_one);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    flex-grow: 1;
}

.view_btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary_color);
    color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
}

.view_btn:hover {
    background-color: rgb(0, 110, 210);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 255, 0.2);
}



/* responsive**************************************************************************************************************** */

@media all and (max-width:834px) {
    .work {
        grid-template-columns: repeat(2, 1fr);
        padding: 5% 5%;
        grid-row-gap: 40px;
        grid-column-gap: 20px;
    }
}

@media all and (max-width:428px) {
    .work {
        grid-template-columns: 1fr;
        padding: 10% 5%;
        grid-row-gap: 30px;
    }

    .work:first-child {
        padding-top: 20%;
    }

    .section_two ul li,
    .section_two ul li.active {
        margin: 0 10px 10px 10px;
    }
}