/* styles.css: minimal rules kept from original (38KB -> ~2KB) */
/* Full backup: styles.css.bak_lcp */
@layer legacy-bootstrap {

/* Fix: image links show underline/border */
a img {
    text-decoration: none !important;
    border: none !important;
}
a:hover img {
    border: none !important;
}

/* Fix: disable pseudo-element underlines on links (prevents blue lines on images) */
a:link:after, a:visited:after {
    content: none !important;
    border: none !important;
}

/* Fix: DETAIL_TEXT images overflow on mobile */
.MainContent img,
[itemprop="articleBody"] img {
    max-width: 100%;
    height: auto;
}

/* Fix: icon-container responsive (service packages) */
.icon-container {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    margin: 10px;
}
.icon-container img {
    max-width: 160px;
    height: auto;
    margin: 0 auto;
    display: block;
}
@media (max-width: 768px) {
    .icon-container {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 15px 0;
    }
    .icon-container img {
        max-width: 200px;
    }
    .icon-container p {
        font-weight: bold;
        font-size: 22px;
    }
}

/* Fix: room-card images (krasnodar redesign) */
.room-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Fix: carousel/slider images (including <picture> element) */
.carousel-inner > .item > a > img,
.carousel-inner > .item > a > picture > img,
.carousel-inner > .item > img,
.carousel-inner > .item > picture > img,
#mainSlider img,
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Fix: tables responsive on mobile */
.MainContent table,
[itemprop="articleBody"] table {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
@media (max-width: 768px) {
    .MainContent table,
    [itemprop="articleBody"] table,
    .MainContent .table-condensed {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    .MainContent table td,
    .MainContent table th,
    [itemprop="articleBody"] table td,
    [itemprop="articleBody"] table th {
        min-width: 80px;
        padding: 8px 10px !important;
        font-size: 13px;
    }
}

/* Fix: founder circle photos on main page */
.hero .founders{
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.hero .founder{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}
.hero .founder-photo{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;
}
.hero .founder-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero .founder-info h3{
    margin: 10px 0 5px;
    font-size: 18px;
    color: #333;
}
.hero .founder-info p{
    margin: 0;
    font-size: 14px;
    color: #666;
}
@media(max-width:767px){
    .hero .founders{
        flex-direction: column;
        gap: 30px;
    }
    .hero .founder{
        flex-direction: column;
        max-width: none;
    }
}

/* Fix: service icons grid (CubePortfolio on main page) */
.cbp img {
    width: 140px !important;
    height: auto;
    min-width: auto;
    max-width: none;
    margin: 0 auto 10px;
}
.cbp-caption:link::after, .cbp-caption:visited::after {
    content: none;
}
.cbp-caption-defaultWrap {
    font-weight: 800;
    text-align: center;
    color: #000;
    font-size: 22px;
    line-height: 21px;
}
.cbp-panel {
    width: 100%;
}

/* Fix: section titles (services, portfolio, etc.) */
.title_default, .title_foot, .title_min_foot, .gallery_title,
.title_news, .title_reviews, .title_comments, .title_file {
    font-family: 'Inter', 'PT Sans', system-ui, sans-serif;
    font-weight: bold;
    color: #000;
}
.title_default {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.1;
}
.title_foot {
    font-size: 20px;
}

/* Fix: portfolio gallery title + link */
.gallery_title, .title_comments, .title_file {
    font-size: 30px;
    line-height: 1.1;
}
.title_file {
    margin-top: 20px;
    margin-bottom: 10px;
}
.gallery_title a:hover, .gallery_title a:link, .gallery_title a:visited {
    color: #000;
    text-decoration: none;
}

/* Fix: CTA button (.cta) — hero, portfolio, content sections */
.cta-container{
    margin-top: 30px;
    text-align: center;
}
a.cta,
a.cta:link,
a.cta:visited{
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    background-color: #c01e41;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
a.cta:hover{
    background-color: #a01830;
    color: #fff;
}
a.cta:after,
a.cta:link:after,
a.cta:visited:after{
    content: none;
    border: none;
}
@media (max-width: 768px) {
    .cta-container{
        margin-top: 20px;
    }
}
} /* end @layer legacy-bootstrap */
