
/* Master Styles */
body {
    font-family: 'Oswald', sans-serif;
    margin: 0px;
}


.container {
    display: grid;
    grid-template-columns: 1fr;
}

/* Nav Styles */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 38px;
}

.left-side {
    display: flex;
}

.nav-wrapper > .left-side > div {
    margin-right: 20px;
    font-size: 0.9m;
    text-transform:uppercase;
}

.nav-link-wrapper {
    height: 22px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
}

.nav-link-wrapper a {
    color: #8a8a8a;;
    text-decoration: none;
    transition: color 0.5s;
}

.nav-link-wrapper:hover {
    border-bottom: 1px solid black;
}

.nav-link-wrapper a:hover {
    color: black;
}

.active-nav-link {
    border-bottom: 1px solid black;
}

.active-nav-link a{
    color: black;
}
/* Portfolio Styles */

.portfolio-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.portfolio-item-wrapper {
    position: relative;
    cursor: pointer;
}

.portfolio-img-background {
    height: 350px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.img-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
}

.logo-wrapper img {
    width: 35%;
    margin-bottom: 20px;
}

/* Needs to be more specific with selector */
.img-text-wrapper .subtitle {
    transition: 1s;
    font-weight: 600;
    color: transparent;
}

.img-text-wrapper:hover .subtitle {
    font-weight: 600;
    color: rgb(207, 203, 203);
}

.img-darken {
    transition: 1s;
    filter: brightness(10%);
}

/* Floating back button (mobile only) */
.floating-back {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.82);
    color: white;
    padding: 14px 22px;
    border-radius: 0;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    letter-spacing: 0.04em;
    z-index: 9999;
    box-shadow: 2px -2px 10px rgba(0,0,0,0.25);
    transition: background 0.15s;
}
.floating-back:active {
    background: #000;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .portfolio-items-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .img-text-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 540px) {
    .portfolio-items-wrapper {
        grid-template-columns: 1fr;
    }
    .portfolio-img-background {
        height: 260px;
    }
    .nav-wrapper {
        padding: 20px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .floating-back {
        display: block;
    }
}


  /* Cards */
  

