@font-face {
    font-family: "Arina";
    src: url("../fonts/Arina.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Loreley Antiqua";
    src: url("../fonts/Loreley Antiqua.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "podarok";
    src: url("../fonts/podarok") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}


body {
    font-family: 'Arina', sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
}

a {
    text-decoration: none;
}

.top-banner {
    width: 100%;
    height: 800px;
    background: url("../img/баннер.jpg") center center / cover no-repeat;
    position: relative;
}

.transition-img {
    position: absolute;
    bottom: -70px;
    left: 0;
    width: 100%;
    display: block;
    z-index: 2;
}

.wrapper {
    background: #d6c1c1
}

.container {
    width: 1600px;
    margin: auto;
}

header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

header nav {
    float: right;
    width: 30%;
}

header nav ul {
    margin-top: 20px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

header nav ul li {
    display: inline-block;
    font-size: 30px;
}

header nav ul a {
    color: #ffffff;
    font-size: 25px;
}

header nav ul li.active::after {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    background: #f80303;
    border-radius: 10px;
    position: relative;
    top: 10px;
}

header nav ul li:not(.active):not(.btn) a:hover {
    border-bottom: 5px solid #f80303;
}

header nav ul li.btn a {
    background: #f80303;
    padding: 2px 11px;
    border-radius: 5px;
    transition: all 500ms ease;
    padding-top: 10px;
}

header nav ul li.btn a:hover {
    background: #192f2c;
}

.hero {
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero--info {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
}

.hero--info h1 {
    width: 400px;
    color: #ffffff;
    font-size: 60px;
    font-weight: 800;
    margin-top: 750px;
    margin-left: 140px;
    padding: 0 500px;
    color: #ffffff;
    -webkit-text-stroke: 0.px #000000;
}

.hero--right {
    margin-top: 350px;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    color: #D4C9C1;
    line-height: 1.4;
    font-size: 35px;
    font-weight: 600;
    word-wrap: break-word;
}

.hero--info .btn {
    background: #f80303;
    color: #fff;
    border-radius: 50px;
    padding: 15px 30px;
    border: 0;
    transition: all 500ms ease;
    font-size: 19px;
}

.hero--info .btn:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.hero img {
    position: absolute;
    top: -10px;
    right: -00px;
}

/* Секция с 7ю фотками */
.trending {
    padding-top: 50px;
}

.trending h3 {
    font-weight: 600;
    font-size: 50px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 25px;
}

.trending .catalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin: 0 auto;
    row-gap: 50px;
}

.trending .catalog > div {
    padding-left: 120px;
    position: relative;
    flex: 0 0 400px;
    text-align: center;
    border-radius: 50px;
}

.trending .catalog img {
    width: 70%;
    height: auto;
    display: block;
    transition: all 500ms ease;
    object-fit: cover;
    border-radius: 50px;
}

.catalog > div:hover img {
    transform: scale(1.1);
}

.seventh-block {
    flex: 0 0 100%;
    max-width: calc(33.333% - 10px);
    margin: 0 auto;
    margin-top: 15px;
}

.catalog-item {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.catalog-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
}

.catalog-item:hover img {
    transform: scale(1.1);
}

.image-text {
    font-family: "Loreley Antiqua", sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;

    background: rgba(0, 0, 0, 0.5);
    padding: 7px 18px;
    border-radius: 30px;

    z-index: 2;
    white-space: nowrap;
}

/* Блок с 3 изображениями бюстов*/

.img-projects h3 {
    
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.projects p {
    margin: 40px 0;
    text-align: center;
}

.img-projects {
    padding-top: 50px;
    padding-bottom: 20px;
}

.img-projects .images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    width: calc(100% - 80px);
}

.img-projects .image img {
    width: calc((100% - 40px) / 3);
    height: auto;
}

.img-projects .image img:first-child {
    margin-left: 10px;
}

.img-projects .image img:last-child {
    margin-right: 10px;
}

.img-projects .images img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 500ms ease;
    object-fit: cover;
    border-radius: 300px;
}

.project-item {
    display:inline-block;
    margin: 0 auto;
    position: relative;
    width: 28%;
    overflow: visible;
    border-radius: 300px;
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ТЕКСТ ПО ЦЕНТРУ КАРТИНКИ */
.project-text {
    font-family: "Loreley Antiqua", sans-serif;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 32px;
    font-weight: 700;
    text-align: center;

    white-space: nowrap;
    z-index: 2;
}

.project-item h4 {
    padding: 20px 20px;
    border-radius: 300px;
    background: #192f2c;
    display: flex;
    text-align: center;
    justify-content: center;
    font-family: "podarok", "sans-serif";
}

/* Footer */
footer {
    background: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer .blocks {
    display: flex;
    justify-content: space-between;
}

footer .blocks .logo {
    font-family: "podarok", sans-serif;
    font-size: 29px;
    font-weight: 800;
}

footer .blocks p {
    font-family: "podarok", sans-serif;
    font-size: 15;
    font-weight: 600;
    width: 300px;
    margin: 15px 0;
}

footer .blocks h4 {
    font-family: "podarok", sans-serif;
    font-weight: 700;
    font-size: 25px;
}

footer .blocks ul {
    font-family: "podarok", sans-serif;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
}

footer .blocks ul li {
    margin-top: 7px;
    opacity: 0.8;
}

footer hr {
    margin: 10px 0;
    border: 0;
    height: 0.6px;
    background: #ccc;
}

footer > p {
    font-family: "podarok", sans-serif;
    text-align: center;
    font-weight: 600;
}

/* Тут тестируем кнопки */
.detail-wrapper {
    background: #d6c1c1;
    padding: 50px 0;
    position: relative;
}

.detail-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.detail-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-content h2 {
    font-family: "Loreley Antiqua", sans-serif;
    font-size: 48px;
    color: #8B4513;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.detail-grid img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.detail-info {
    flex: 1;
    min-width: 300px;
}

.detail-info p {
    font-family: 'podarok', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    color: #5D4037;
    margin-bottom: 25px;
}

.detail-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.detail-info li {
    font-family: 'podarok', sans-serif;
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px dashed #D4C9C1;
    position: relative;
    padding-left: 35px;
    color: #5D4037;
}

.detail-info li:before {
    content: "✦";
    color: #f80303;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f80303;
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.close-btn:hover {
    background: #d32f2f;
    transform: rotate(90deg);
}

.detail-btn {
    font-family: 'Arina', sans-serif;
    background: linear-gradient(to right, #f80303, #d32f2f);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(248, 3, 3, 0.3);
}

.detail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(248, 3, 3, 0.4);
}

/* Курсор-указатель для карточек каталога */
.catalog-item {
    cursor: pointer;
}