@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Sofadi+One&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}

a {
    text-decoration: none;
    color: #1f2937;
}

img {
    object-fit: cover;
}

body {
    background:#f3f4f6 ;
}

.btn {
    border: 2px solid #1f2937;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.btn:hover {
    color: #1f2937;
    background: #fff;
    border-color: #e5e7eb;
}

.btn--secondary {
    color: #1f2937;
    background: #fff;
    border: 2px solid #e5e7eb;
}

.btn--secondary:hover,
.hero__socials a:hover {
    border-color: #1f2937;
    background: #1f2937;
    color: #fff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    color: #111;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo--icon {
    height: 60px;
}

.logo--text {
    height: 32px;
}

@media (max-width: 768px) {
    .logo--text {
        display: none;
    }
}

.navbar__menu {
    display: flex;
    gap: 20px;
}

.navbar__link {
    font-size: 14px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.navbar__link:hover {
    color: #000;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar__location h5 {
    font-weight: 500;
    color: #6b7280;
    font-size: 12px;
}

.navbar__location p {
    font-weight: 600;
    font-size: 11px;
}

.navbar__actions .btn {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 60px;
    gap: 60px;
    height: calc(100vh - 75px);
}

.hero__content,
.hero__intro {
    width: 50%;
}

.hero__image {
    width: 340px;
    height: 340px;
    border-radius: 10px;
}

.hero__content h2 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 400;
    margin-top: 20px;
    width: 85%;
}

.hero__intro {
    padding-right: 40px;
}

.hero__intro h3 {
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 10px;
}

.hero__intro p {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero__actions,
.skills__actions {
    display: flex;
    gap: 10px;
}

.hero__actions .btn,
.skills__actions .btn {
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 500;
}

.hero__socials {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    right: 30px;
    top: 20%;
}

.hero__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid #e5e7eb;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.skills {
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.skills__desc,
.skills__stats {
    width: 50%;
}

.skills__desc {
    padding-right: 80px;
}

.skills__desc h3 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 10px;
}

.skills__desc p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 30px;
}

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

.skills__stats i {
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.skill__info {
    background: #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.skill__info h5 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill__info p {
    width: 50%;
    text-align: center;
    font-size: 14px;
    color: #7a7a7a;
    font-weight: 500;
}

.showcase {
    padding: 80px 60px 100px;
    background: #e5e7eb;
}

.showcase__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.showcase__header h3 {
    font-size: 28px;
    font-weight: 400;
}

.showcase__header .btn {
    font-size: 13px;
    padding: 5px 16px;
    color: #fff;
    background: #1f2937;
    border-color: #1f2937;
}

.showcase__categories .category:first-child {
    margin-bottom: 100px;
}

.category__header {
    display: flex;
    align-items: center;
}

.category__title,
.category__desc {
    width: 50%;
    display: flex;
    align-items: center;
}

.category__title {
    gap: 12px;
}

.category__title h4 {
    font-size: 22px;
    font-weight: 400;
}

.category__title i {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category__desc {
    gap: 40px;
    justify-content: space-between;
}
.category__desc p {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.category__desc a {
    font-size: 22px;
}

.category__projects {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.project-card {
    position: relative;
    width: 25%;
    height: 420px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card__image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-position: top center;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.project-card__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}

.project-card__info h5 {
    font-size: 17px;
    font-weight: 500;
}

.project-card__info p {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.project-card__desc {
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 30px;
}

.project-card .btn {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px 20px;
    border-radius: 16px 0 10px 0;
    border: none;
    color: #fff;
    background: #1f2937;
}

.project-card .btn:hover {
    background: #000;

}

.career {
    padding: 60px 60px 80px;
    display: flex;
    align-items: center;
    gap: 100px;
}

.career__jobs,
.career__awards {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.job,
.award {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.job i,
.award div i {
    font-size: 20px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.award {
    justify-content: space-between;
}

.award>div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.job__info h5,
.award__info h5 {
    font-size: 15px;
    font-weight: 500;
}

.job__info h5 span,
.award__info h5 span {
    font-weight: 600;
}

.job__info p,
.award__info p {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.award a i {
    font-size: 24px;
}

.contact {
    text-align: center;
    padding: 60px;
}

.contact h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.contact h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact .btn {
    padding: 6px 20px;
    border: 2px solid #1f2937;
    color: #fff;
    background: #1f2937;
    margin-bottom: 14px;
}

.contact p {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.contact p span {
    color: #1f2937;
    font-weight: 600;
    font-size: 13px;
}

.footer {
    padding: 48px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: #0f0f0f;
    color: #aaa;
}

/* BRAND */
.footer__brand {
    display: flex;
    align-items: center;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* LOGO */
.footer-logo {
    height: 60px;
    display: block;
    filter: brightness(0) invert(1);
}

/* COPYRIGHT TEXT */
.footer-logo-text {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    /* той самий колір, що логотип */
    opacity: 0.85;
    white-space: nowrap;
}

/* LINKS */
.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media screen and (max-width: 1230px) {

    .hero__image {
        width: 100%;
    }

    .hero__content h2 {
        font-size: 38px;
        text-align: center;
    }

    .hero__intro h3 {
        font-size: 30px;
    }

    .hero__intro p {
        font-size: 15px;
    }

    .skills__desc {
        padding-right: 20px;
    }

    .skills__desc h3 {
        font-size: 26px;
    }

    .skills__stats i {
        font-size: 50px;
    }

    .skill__info h5 {
        font-size: 20px;
    }

    .skill__info p {
        font-size: 12px;
        width: 100%;
    }

    .category__title {
        width: 40%;
    }

    .category__desc {
        width: 60%;
    }

    .category__projects {
        flex-wrap: wrap;
    }

    .project-card {
        width: 48%;
    }

}

@media screen and (max-width: 992px) {

    .navbar {
        padding: 20px 30px;
    }

    .hero {
        padding: 100px 30px 40px;
    }

    .hero__intro h3 {
        font-size: 22px;
        line-height: 34px;
    }

    .hero__intro p {
        font-size: 13px;
    }

    .hero__socials {
        top: 6%;
    }

    .skills {
        flex-direction: column;
        padding: 60px 30px 80px;
    }

    .skills__desc,
    .skills__stats,
    .category__title,
    .category__desc,
    .career__jobs,
    .career__awards {
        width: 100%;
    }

    .skills__desc {
        padding-right: 0;
    }

    .showcase {
        padding: 80px 30px 100px;
    }

    .category__header {
        flex-direction: column;
    }

    .category__title {
        margin-bottom: 20px;
    }

    .career {
        padding: 60px 30px 80px;
        flex-direction: column;
        gap: 60px;
    }

    .footer {
        padding: 20px 30px;
    }

}


@media screen and (max-width: 768px) {

    .navbar__actions {
        display: none;
    }

    .hero {
        flex-direction: column;
        height: auto;
        padding: 40px 30px 0px;
        gap: 30px;
    }

    .hero__content,
    .hero__intro {
        width: 100%;
    }

    .hero__content h2 {
        width: 100%;
        font-size: 30px;
    }

    .hero__socials {
        position: relative;
        flex-direction: row;
        right: auto;
        margin-top: 10px;
    }

    

    .showcase__header h3 {
        font-size: 24px;
    }

    .category__title h4 {
        font-size: 20px;
    }

    .project-card {
        width: 100%;
        height: 500px;
    }

    .project-card__image {
        height: 300px;
    }

    .career h3 {
        font-size: 26px;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 16px;
    }

}



.modal {
    display: none;
    /* Модальне вікно за замовчуванням приховано */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .close {
        font-size: 25px;
        top: 10px;
        right: 15px;
    }
}