@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    min-height: 100vh;
    color: #fff;
}

/* Home page specific styles */
.home {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow: hidden;
    position: relative;
}

.home::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: auto;
    width: 100%;
    background: url('images/home/new-project.jpg') no-repeat center center;
    background-size: cover;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    z-index: -1;
}

@media (max-aspect-ratio: 16/9) {
    .home::before {
        width: 100%;
        padding-top: 56.25%;
        /* maintains 16:9 */
    }
}

/* About page specific styles */
.about {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    min-height: 100vh;
    color: #fff;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Contact page specific styles */
.contact {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    min-height: 100vh;
    color: #fff;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Menu styles */
.menu-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.menu-btn:focus {
    outline: none;
}

.hamburger {
    display: block;
    transition: transform 0.3s ease;
}

.hamburger .line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    fill: #7ffff1;
    transform-box: fill-box;
    will-change: transform;
}

/* Animation when menu is open */
.menu-btn.open .hamburger .top {
    transform: translateY(7px) rotate(45deg);
    transform-origin: center;
}

.menu-btn.open .hamburger .middle {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn.open .hamburger .bottom {
    transform: translateY(-7px) rotate(-45deg);
    transform-origin: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-btn {
        top: 20px;
        left: 20px;
    }

    .hamburger {
        width: 28px;
        height: 28px;
    }

    .filter-toggle {
        top: 20px;
        right: 20px;
    }

    .filter-icon {
        width: 28px;
        height: 28px;
    }
}

.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
}

.side-menu.active {
    left: 0;
}

.side-menu a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    transition: color 0.3s ease;
}

.side-menu a:hover {
    color: #4CAF50;
}

/* Masonry Grid styles */
.masonry-grid {
    columns: 3;
    column-gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.grid-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    page-break-inside: avoid;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Main content blocks using BEM */
.main-content {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content__welcome {
    text-align: center;
    z-index: 3;
    transform: none;
    padding: 0 20px;
    margin-top: 70px;
    vertical-align: middle;
}

.main-content__title {
    font-size: 3.5vw;
    font-weight: 300;
    margin-bottom: 10px;
    color: #7ffff1;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textFadeIn 2s ease-in forwards;
    text-transform: uppercase;
    letter-spacing: 2rem;
    margin-right: -0.5em;
}

/* Slideshow component */
.slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideshow__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slideshow__slide--active {
    opacity: 1;
}

.slideshow__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slideshow__slide--active .slideshow__content {
    opacity: 1;
}

.slideshow__title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #7ffff1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slideshow__description {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.slideshow__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* About section using BEM */
.about-section {
    padding: 100px 20px;
    background: #000;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-section__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, 400px) 1fr;
    gap: 40px;
    align-items: start;
}

.about-section__portrait-column {
    position: relative;
    width: 100%;
    padding-bottom: 133.33%;
    /* 3:4 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.about-section__portrait {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.about-section__portrait:hover {
    filter: grayscale(0%);
}

.about-section__bio-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-section__title {
    font-size: 2.5rem;
    color: #7ffff1;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-section__text {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 30px;
    opacity: 0.9;
}

.about-section__text--white {
    color: #ffffff;
}

.about-section__text--mint {
    color: #7ffff1;
}

.about-section__cv-section {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.about-section__cv-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #7ffff1;
    color: #7ffff1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.about-section__cv-button:hover {
    background: #7ffff1;
    color: #000;
    transform: translateY(-2px);
}

/* Contact section using BEM */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    padding-bottom: 0;
}

.contact-section__info {
    padding-right: 40px;
}

.contact-section__header {
    margin-bottom: 40px;
}

.contact-section__title {
    font-size: 3.5rem;
    color: #7ffff1;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: 500;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.09));
}

.contact-section__details {
    margin-bottom: 40px;
}

.contact-section__item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-section__item i {
    color: #7ffff1;
    font-size: 24px;
    width: 30px;
}

.contact-section__social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-section__social-link {
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.contact-section__social-link:hover {
    color: #7ffff1;
    opacity: 1;
    transform: translateY(-3px);
}

.contact-section__services {
    margin-bottom: 40px;
}

.contact-section__services h3 {
    color: #7ffff1;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-section__services ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-section__services li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section__services li i {
    color: #7ffff1;
}

.contact-section__form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contact-section__form-group {
    margin-bottom: 20px;
}

.contact-section__form-label {
    display: block;
    margin-bottom: 8px;
    color: #7ffff1;
    font-weight: 400;
}

.contact-section__form-input,
.contact-section__form-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-section__form-input:focus,
.contact-section__form-textarea:focus {
    outline: none;
    border-color: #7ffff1;
    background: rgba(255, 255, 255, 0.15);
}

.contact-section__form-textarea {
    height: 150px;
    resize: vertical;
}

.contact-section__form-button {
    background: #7ffff1;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-section__form-button:hover {
    background: #5cffe6;
    transform: translateY(-2px);
}

.contact-section__map {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.contact-section__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    color: white;
}

/* Portfolio section using BEM */
.portfolio {
    padding: 20px 20px;
    background: #000;
    min-height: 100vh;
}

.portfolio__section {
    margin-bottom: 80px;
}

.portfolio__title {
    font-size: 2.5rem;
    color: #7ffff1;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio__item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/4;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.portfolio__item:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.portfolio__item--hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    width: calc(33.333% - 20px);
    margin: 0;
}

.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio__item:hover img {
    transform: scale(1.1);
}

/* Lightbox component using BEM */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox--active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.lightbox__nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox__nav-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox__nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__counter {
    color: white;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.2rem;
}

/* Logos Container styles using BEM */
.logos {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    z-index: 2;
    opacity: 1;
    padding: 40px 20px;
    background-color: #000;
    margin-top: 20px;
}

.logos--home {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    gap: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
    background: transparent;
    margin-top: 0;
}

.logos__item {
    height: 80px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(12%) saturate(1234%) hue-rotate(123deg) brightness(105%) contrast(101%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logos__item--home {
    mix-blend-mode: screen;
}

.logos__item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.logos__item--signature {
    height: 100px;
}

/* Animations */
@keyframes textFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Toggle Button */
.filter-toggle {
    background: none;
    border: none;
    color: #7ffff1;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    z-index: 1000;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.filter-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}

.filter-toggle:focus {
    outline: none;
}

.filter-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    display: block;
    margin: auto;
}

.filter-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 80px;
    right: 30px;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
    gap: 10px;
    transition: all 0.5s ease;
    border: 1px solid rgba(127, 255, 241, 0.3);
    backdrop-filter: blur(10px);
    gap: 10px;
    pointer-events: auto;
    z-index: 1000;
}

.filter-content.active {
    opacity: 1;
    visibility: visible;
}

.filter-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 20px;
    position: relative;
    white-space: nowrap;
}

.filter-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Category Navigation styles */
.category-nav {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 2px;
}

.category-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}


/* Tablet and Mobile styles */
@media (max-width: 1024px) {
    .menu-btn {
        top: 30px;
        left: 30px;
    }



    .filter-content {
        position: fixed;
        top: 70px;
        right: 15px;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        transition: all 0.5s ease;
        z-index: 5;
        display: flex;
        max-width: 300px;
        min-width: 200px;
    }

    .filter-content[style*="display: block"] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .filter-toggle {
        display: flex;
        top: 20px;
        right: 20px;
        justify-content: right;
        align-items: center;
        z-index: 1000;
    }

    .filter-label {
        margin: 0 0 15px 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .filter-label::after {
        display: none;
    }

    .category-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
}


.category-btn {
    display: inline-block;
    background: none;
    border: 1px solid #7ffff1;
    color: #fff;
    cursor: pointer;
    padding: 8px 20px;
    margin: 5px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 20px;
    font-weight: 500;
}

.category-btn:hover {
    background-color: #7ffff1;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 255, 241, 0.3);
}

.category-btn.active {
    background-color: #7ffff1;
    color: #000;
    font-weight: 600;
}

/* Category Slideshow styles */
#portfolio-slideshow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    outline: none;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

#portfolio-slideshow.active {
    display: flex;
    opacity: 1;
}

.slideshow-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: pan-y;
    padding: 20px 0;
    box-sizing: border-box;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.slide.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slideshow-container {
        width: 98%;
        height: 80vh;
    }
}

@media (max-width: 992px) {
    .slideshow-container {
        height: 75vh;
    }

    .slide {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .slideshow-container {
        width: 100%;
        height: 70vh;
        padding: 10px 0;
    }

    .slide {
        padding: 10px;
    }

    .slideshow-nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }

    .slideshow-close {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .slideshow-container {
        height: 60vh;
    }

    .slideshow-nav {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.3rem !important;
    }

    .slideshow-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.3rem !important;
        top: 10px !important;
        right: 10px !important;
    }

    .slideshow-counter {
        font-size: 0.9rem !important;
        padding: 0.3rem 0.8rem !important;
        bottom: 10px !important;
    }
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.prev,
.next {
    cursor: pointer;
    color: #7ffff1;
    font-weight: bold;
    font-size: 24px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: none;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Responsive styles for BEM components */
@media (max-width: 1024px) {
    .masonry-grid {
        columns: 2;
        column-gap: 15px;
        padding: 15px;
    }

    .main-content__title {
        font-size: 4vw;
    }

    .home::before {
        padding-top: 75%;
        background-size: cover;
        background-position: center 30%;
    }

    .logos--home {
        bottom: 30px;
        gap: 50px;
    }

    .logos__item {
        height: 70px;
    }

    .logos__item--signature {
        height: 90px;
    }

    .about-section__container {
        grid-template-columns: minmax(280px, 350px) 1fr;
        gap: 30px;
    }

    .about-section__text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .logos {
        gap: 50px;
    }
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section__info {
        padding-right: 0;
    }

    .contact-section__services ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        columns: 2;
        column-gap: 10px;
        padding: 10px;
    }

    .category-nav {
        gap: 15px;
    }

    .category-btn {
        padding: 8px 12px;
        font-size: 10px;
    }

    .main-content__title {
        font-size: 5vw;
        padding: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .home::before {
        padding-top: 100%;
        background-size: cover;
        background-position: center 40%;
        filter: blur(0.5px);
    }

    .logos--home {
        bottom: 20px;
        gap: 20px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .logos__item {
        height: 40px;
    }

    .logos__item--signature {
        height: 50px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-section__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-section__portrait-column {
        padding-bottom: 80%;
    }

    .about-section__title {
        font-size: 2rem;
    }

    .about-section__cv-section {
        justify-content: center;
    }

    .portfolio {
        padding: 60px 20px;
    }

    .portfolio__title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-section {
        padding: 80px 20px;
    }

    .contact-section__title {
        font-size: 2.5rem;
    }

    .logos {
        gap: 40px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .logos__item {
        height: 60px;
    }

    .logos__item--signature {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        columns: 1;
        column-gap: 10px;
        padding: 10px;
    }

    .menu-btn {
        top: 15px;
        left: 15px;
    }

    .filter-toggle {
        top: 15px;
        right: 15px;
    }

    .hamburger {
        width: 24px;
        height: 24px;
    }

    .filter-icon {
        width: 24px;
        height: 24px;
    }

    .main-content__title {
        font-size: 7vw;
        padding: 10px;
        letter-spacing: 1rem;
    }

    .home::before {
        padding-top: 120%;
        background-size: cover;
        background-position: center 45%;
        filter: blur(0.5px);
    }

    .logos--home {
        bottom: 15px;
        gap: 15px;
        padding: 0 10px;
    }

    .logos__item {
        height: 35px;
    }

    .logos__item--signature {
        height: 45px;
    }

    .about-section {
        padding: 40px 20px;
    }

    .about-section__text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-section__cv-button {
        width: 100%;
        justify-content: center;
    }

    .portfolio {
        padding: 40px 20px;
    }

    .portfolio__title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .logos {
        gap: 30px;
        padding: 30px 15px;
    }

    .logos__item {
        height: 50px;
    }

    .logos__item--signature {
        height: 70px;
    }
}