/* ---------- БАЗОВЫЕ СБРОСЫ ---------- */
body {
    border-width: 0 !important;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.1875;
    margin: 0;
    padding: 0;
}

a {
    color: #FFE4B5;
    text-decoration: underline;
}
a:visited {
    color: #800080;
}
a:active {
    color: #FF0000;
}
a:hover {
    color: #FFDAB9;
    text-decoration: underline;
}

/* ---------- ТЕМЫ WYSIWYG WEB BUILDER ---------- */
.wb-theme-header {
    background-color: #F9F9F9;
    border: 1px solid #CCCCCC;
    border-radius: 0px;
    color: #E69700;
    --background-color: rgba(249,249,249,1.00);
    --border-color: #CCCCCC;
    --border-width: 1px;
    --color: #E69700;
}

.wb-theme-content {
    background-color: #EEEEEE;
    border: 1px solid #AAAAAA;
    border-radius: 0px;
    color: #222222;
    --background-color: rgba(238,238,238,1.00);
    --border-color: #AAAAAA;
    --border-width: 1px;
    --color: #222222;
    --icon-color: #0A82EB;
    --colorize: invert(35%) sepia(93%) saturate(3057%) hue-rotate(192deg) brightness(100%) contrast(92%);
}

.wb-theme-button, .wb-theme-static {
    background-color: #1484E6;
    border: 1px solid #FFFFFF;
    border-radius: 0px;
    color: #FFFFFF;
    --background-color: rgba(20,132,230,1.00);
    --border-color: #FFFFFF;
    --border-width: 1px;
    --color: #FFFFFF;
}

.wb-theme-button:hover {
    background-color: #2293F7;
    border: 1px solid #2293F7;
    color: #FFFFFF;
}

.wb-theme-button.active, .wb-theme-button:active, .active > .wb-theme-button {
    background-color: #E69700;
    border: 1px solid #E69700;
    color: #FFFFFF;
}

/* Dark theme */
.darktheme .wb-theme-header {
    background-color: #262A2E;
    border: 1px solid #CCCCCC;
    color: #CCCCCC;
}
.darktheme .wb-theme-content {
    background-color: #212529;
    border: 1px solid #444444;
    color: #EEEEEE;
}
.darktheme .wb-theme-button, .darktheme .wb-theme-static {
    background-color: #1484E6;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}
.darktheme .wb-theme-button:hover {
    background-color: #2293F7;
    border: 1px solid #2293F7;
}
.darktheme .wb-theme-button.active, .darktheme .wb-theme-button:active, .active > .wb-theme-button {
    background-color: #E69700;
    border: 1px solid #E69700;
}

/* ========== ШАПКА: Баннер СВЕРХУ, кнопки СНИЗУ ========== */
#wb_menu32LayoutGridTop {
    clear: both;
    position: relative;
    width: 100%;
    background-color: transparent;
    background-image: url('images/IMG_20250705_223321.jpg');
    background-repeat: repeat-x;
    background-position: center center;
    border: 0px solid transparent;
    box-sizing: border-box;
    margin: 0;
}

#menu32LayoutGridTop {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;  /* Вертикальное расположение: баннер -> кнопки */
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    margin-right: auto;
    margin-left: auto;
    max-width: 1024px;
}

/* Баннер (ТВОРЮ, ДАРЮ и ПРОДАЮ) - без отражения */
#Banner1 {
    background-color: transparent;
    border: 2px solid transparent;
    color: #FFFF00;
    font-family: Georgia;
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    text-shadow: 4px 4px 20px rgba(0,0,0,1.00);
    margin: 0 0 20px 0;
    animation: fall 3000ms linear 0ms 1 normal both;
    width: 100%;
}

#Banner1 span {
    display: block;
    height: 32px;
    margin: 4px 0;
    position: relative;
}

/* Убираем отражение (псевдоэлемент :before) */
#Banner1 span:before {
    display: none;  /* Убираем отражение */
}

#Banner1 span:after {
    display: none;  /* На всякий случай убираем и after */
}

/* Навигация (кнопки) */
#NavigationBar1 {
    margin: 0;
    width: 100%;
    text-align: center;
}

#NavigationBar1 ul.navbar {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: Georgia;
    font-size: 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

#NavigationBar1 ul.navbar li {
    display: inline-block;
    margin: 0;
    box-sizing: border-box;
}

#NavigationBar1 ul.navbar li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1484E6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}

#NavigationBar1 ul.navbar li a:hover {
    background-color: #A52A2A;
}

#NavigationBar1_item0 { width: auto; }
#NavigationBar1_item1 { width: auto; }

/* ========== БЛОК С ЛОГОТИПОМ: Фото СЛЕВА, текст СПРАВА ========== */
#wb_intro6LayoutGrid {
    clear: both;
    position: relative;
    width: 100%;
    background-color: transparent;
    border: 2px solid #F5F5F5;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 20px 0;
}

#intro6LayoutGrid {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

/* Колонка с фото (СЛЕВА) */
#intro6LayoutGrid > .col-1 {
    flex: 0 0 auto;
    flex-basis: 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

/* Колонка с текстом (СПРАВА) */
#intro6LayoutGrid > .col-2 {
    flex: 0 0 auto;
    flex-basis: 60%;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

/* Логотип */
#wb_intro6Image {
    margin: 0;
    vertical-align: top;
}

#intro6Image {
    border: 2px solid transparent;
    border-radius: 10px;
    display: inline-block;
    width: 100%;
    max-width: 208px;
    height: auto;
    vertical-align: top;
}

/* Текст */
#wb_intro6Text {
    background-color: transparent;
    border: 0px solid #000000;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #000000;
    font-family: Arial;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.4;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

#wb_intro6Text p {
    margin: 0 0 15px 0;
}
#wb_intro6Text p:last-child {
    margin-bottom: 0;
}
#wb_intro6Text ul { margin: 0; padding: 0; }

/* ========== КАРТОЧКИ ПРЕИМУЩЕСТВ ========== */
#wb_features27LayoutGrid {
    clear: both;
    position: relative;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-sizing: border-box;
    margin: 0;
}

#features27LayoutGrid {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
    max-width: 1140px;
    margin: 0 auto;
}

#features27LayoutGrid > .col-1 {
    flex: 0 0 auto;
    flex-basis: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 15px;
    box-sizing: border-box;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex: 1 1 300px;
    min-width: 250px;
    padding: 25px;
    background-color: #FFFFFF;
    border: 1px solid #DEE2E6;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 48px;
    color: #A52A2A;
    margin-bottom: 15px;
}

.card-title {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: #212529;
    margin: 0 0 15px 0;
}

.card-text {
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 15px;
    line-height: 1.5;
    color: #212529;
    margin: 0;
}

/* ========== ГАЛЕРЕЯ ========== */
#wb_galleryLayoutGrid {
    clear: both;
    width: 100%;
    background-color: #F8F9FA;
    padding: 40px 0;
    margin: 20px 0;
}

#galleryLayoutGrid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 32px;
    color: #A52A2A;
    margin-bottom: 40px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 280px;
    max-width: 320px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover { transform: scale(1.03); }

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #555;
}

.gallery-note {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 30px;
    font-style: italic;
}

/* ========== ФУТЕР ========== */
#wb_footer24LayoutGrid {
    clear: both;
    width: 100%;
    background-color: #FFFFFF;
    border-top: 1px solid #DEE2E6;
    margin-top: 40px;
    padding: 30px 0 20px 0;
}

#footer24LayoutGrid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#footer24LayoutGrid .col-1,
#footer24LayoutGrid .col-2,
#footer24LayoutGrid .col-3 {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.footer-card {
    background-color: transparent;
    padding: 0;
}

.footer-title {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #A52A2A;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #A52A2A;
    display: inline-block;
}

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link a:hover {
    color: #A52A2A;
    text-decoration: underline;
}

.footer-link i {
    color: #A52A2A;
    width: 20px;
    font-size: 14px;
}

.footer-text {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-text.small {
    font-size: 12px;
    color: #6C757D;
}

/* ========== АНИМАЦИЯ ========== */
@keyframes fall {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== АДАПТИВНОСТЬ (телефоны) ========== */
@media (max-width: 768px) {
    /* Блок с логотипом: на телефонах фото сверху, текст снизу */
    #intro6LayoutGrid {
        flex-direction: column;
    }
    
    #intro6LayoutGrid > .col-1,
    #intro6LayoutGrid > .col-2 {
        flex-basis: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }
    
    #wb_intro6Text {
        text-align: center;
    }
    
    /* Карточки */
    .card-title {
        font-size: 20px;
    }
    
    /* Галерея */
    .section-title {
        font-size: 24px;
    }
    .gallery {
        gap: 15px;
    }
    .gallery-item {
        flex-basis: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    /* Футер */
    #footer24LayoutGrid {
        flex-direction: column;
    }
    #footer24LayoutGrid .col-1,
    #footer24LayoutGrid .col-2,
    #footer24LayoutGrid .col-3 {
        width: 100%;
        text-align: center;
    }
    .footer-title {
        display: block;
        text-align: center;
    }
    .footer-link {
        text-align: center;
    }
    .footer-link a {
        justify-content: center;
    }
    
    /* Навигация */
    #NavigationBar1 ul.navbar {
        flex-direction: column;
        align-items: center;
    }
    
    #NavigationBar1 ul.navbar li {
        width: auto;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex-basis: 100%;
        max-width: 100%;
    }
}