/* ==================================================
   Брендовые шрифты и базовые стили
   ================================================== */

@font-face {
    font-family: 'Akzidenz';
    src: url('../fonts/AkzidenzGroteskRoman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* улучшает производительность */
}

body {
    font-family: 'Akzidenz', 'Helvetica Neue', Arial, sans-serif;
    color: #111111;
    background-color: #ffffff;
    line-height: 1.5;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #000000;
    font-weight: bold;
}

h1, .h1 {
    font-size: 2rem;
    text-transform: uppercase;
}
h2, .h2 {
    font-size: 1.75rem;
}
h3, .h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    margin-top: 1rem;
    text-transform: uppercase;
}

/* Параграфы */
p {
    font-family: 'Akzidenz', sans-serif;
    font-size: 1rem;      /* 16px для читаемости на мобильных */
    color: #555555;
    line-height: 1.6;
}
p.small-font {
    font-size: 0.875rem;  /* 14px */
}

/* Ссылки */
a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: #777777;
    text-decoration: underline;
}

/* ==================================================
   Компоненты навигации (шапка)
   ================================================== */

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e8ea;
}
.navbar .navbar-nav .nav-link {
    font-family: 'Akzidenz', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222222;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #000000;
    border-bottom: 2px solid #000;
}
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        letter-spacing: 1px;
    }
}
@media (max-width: 767.98px) {
    .navbar .navbar-nav .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
        letter-spacing: 0.5px;
    }
}

/* ==================================================
   Герой-секция (заменяет старый .full-width-image)
   ================================================== */

.hero-section {
    margin-bottom: 2rem;
}
.hero-image {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.hero-image h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}
@media (max-width: 767.98px) {
    .hero-image {
        min-height: 40vh;
    }
    .hero-image h1 {
        font-size: 2rem;
    }
}

/* ==================================================
   Карточки выставок / художников (Bootstrap 5)
   ================================================== */

.card {
    border: none;
    border-radius: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
}
.card-img-top {
    border-radius: 0;
    object-fit: cover;
    height: 250px;
    width: 100%;
}
.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}
.card-text {
    font-size: 0.9rem;
    color: #666;
}
.btn-outline-dark {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}
.btn-outline-dark:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* ==================================================
   Форма подписки (Mailchimp) – адаптированная
   ================================================== */

#mc_embed_signup form {
    text-align: center;
    padding: 1rem 0;
}
#mc_embed_signup input.email {
    font-size: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 0;
    padding: 0.5rem;
    height: auto;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 0.5rem;
    display: inline-block;
}
#mc_embed_signup .button {
    font-size: 0.85rem;
    border: none;
    border-radius: 0;
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s;
}
#mc_embed_signup .button:hover {
    background-color: #777;
    cursor: pointer;
}
@media (max-width: 767.98px) {
    #mc_embed_signup input.email {
        width: 90%;
        margin-bottom: 0.75rem;
    }
    #mc_embed_signup .button {
        width: 90%;
    }
}

/* ==================================================
   Футер
   ================================================== */

footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e5e8ea;
}
footer .nav-link {
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
footer .nav-link:hover {
    color: #000;
}
footer .bi {
    font-size: 1.5rem;
    transition: opacity 0.2s;
}
footer .bi:hover {
    opacity: 0.7;
}

/* ==================================================
   Кнопки общего назначения
   ================================================== */

.button,
button,
input[type="submit"],
input[type="button"],
.contact-button {
    background-color: #252525;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
.contact-button:hover {
    background-color: #555;
}

/* ==================================================
   Утилиты и вспомогательные классы
   ================================================== */

.text-muted {
    color: #6c757d !important;
}
.border-bottom {
    border-bottom: 1px solid #e5e8ea;
}
.border-right {
    border-right: 1px solid #e5e8ea;
}
.portfolio-meta-wrapper {
    padding: 1.25rem;
}
.portfolio-categories a {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
}
.fancy-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #111;
    text-transform: capitalize;
}
.work-title {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

/* ==================================================
   Стили для страницы художников (сетка, карточки)
   ================================================== */

.item {
    padding: 0 15px 30px;
}
.artist-holder {
    background-color: #fff;
    border: 1px solid #efefef;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.artist-holder:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.product-loop-image {
    width: 100%;
    height: auto;
    display: block;
}
.portfolio-meta-wrapper {
    text-align: center;
    padding: 1rem;
}
.portfolio-meta-wrapper h7 {
    font-size: 1rem;
    font-weight: bold;
}
.portfolio-categories a {
    text-decoration: none;
    color: #222;
}
.portfolio-categories a:hover {
    color: #777;
}

/* ==================================================
   Пагинация
   ================================================== */

.pagination .page-link {
    color: #000;
    border: 1px solid #dee2e6;
    margin-left: -1px;
    padding: 0.5rem 0.75rem;
}
.pagination .active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}
.pagination .page-link:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* ==================================================
   Адаптивные корректировки
   ================================================== */

@media (max-width: 991.98px) {
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    .hero-image h1 { font-size: 2.5rem; }
}
@media (max-width: 767.98px) {
    body { font-size: 0.9rem; }
    p { font-size: 0.875rem; }
    .hero-image { min-height: 30vh; }
    .hero-image h1 { font-size: 1.8rem; }
    .card-img-top { height: 200px; }
    .item { padding: 0 10px 20px; }
}
@media (max-width: 575.98px) {
    .navbar .navbar-nav .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
        letter-spacing: 0;
    }
}

/* ==================================================
   Удалённые / закомментированные старые стили
   (оставлены для справки, но не используются)
   ================================================== */
/*
   .full-width-image { height: 500px; ... } — заменён на .hero-section
   .carousel, .slider-item — удалены, т.к. больше не используются
   .mk-portfolio-classic-item — заменён на стандартные карточки Bootstrap
   .col-lg-offset-* — удалены (Bootstrap 5 использует отступы через .offset-*)
*/