/*
Theme Name:     Industro Child
Theme URI:      http://wpdemo2.oceanthemes.net/industro/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         Oceanthemes
Author URI:     http://oceanthemes.net/
Version:        1.0
Template:       industro
*/

@import url("../industro/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Image carousel: clickable photos + arrows that stay on screen */
.image-carousel .img-item a.carousel-lightbox {
    display: block;
    cursor: pointer;
}
.image-carousel .img-item a.carousel-lightbox img {
    display: block;
    width: 100%;
    height: auto;
}
.image-carousel .slider-nav {
    z-index: 5;
}
/* Below ~1340px the theme's -70px offset pushes the arrows off screen,
   so move them inside the carousel, over the photos. */
@media (max-width: 1340px) {
    .image-carousel .slider-nav.prev-nav {
        left: 10px;
    }
    .image-carousel .slider-nav.next-nav {
        left: auto;
        right: 10px;
    }
}

/* Image carousel: photos of different heights are centered in the row */
.image-carousel .slick-track {
    display: flex;
    align-items: center;
}
.image-carousel .slick-slide {
    float: none;
    height: auto;
    text-align: center;
}
.image-carousel .slick-slide .img-item a.carousel-lightbox img {
    margin: 0 auto;
}

/* Projects grid: uniform cards (same image box, same text block height) */
.project-item .inner > a img,
.page-id-1792 #projects .project-item .inner > a img {
    display: block;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
    object-position: center;
}
.project-item .p-info h4 {
    min-height: 53px; /* two lines at 22px/1.2 */
}
.project-item .p-info p {
    min-height: 3.2em; /* two lines of description */
}
@media (max-width: 767px) {
    .project-item .inner > a img,
    .page-id-1792 #projects .project-item .inner > a img {
        height: 240px !important;
    }
    .project-item .p-info h4,
    .project-item .p-info p {
        min-height: 0;
    }
}

/* Footer: centered copyright line (the footer menu column is unused) */
.footer-bottom .row > .col-md-6:first-child {
    width: 100%;
    float: none;
}
.footer-bottom .row > .col-md-6:last-child {
    display: none;
}
.footer-bottom .footer-copyright {
    text-align: center;
}
.footer-bottom .footer-copyright img {
    vertical-align: middle;
}

@media (max-width: 767px) {
    .main-footer .row > div {
        text-align: left;
        margin-bottom: 10px;
    }
    .main-footer .widget {
        margin-bottom: 25px;
    }
    .main-footer .wp-block-image img,
    .main-footer .widget img {
        max-width: 200px;
        margin: 0;
        display: block;
    }
    .main-footer .wp-block-image {
        text-align: left;
    }
    .main-footer ul {
        padding-left: 0;
        list-style: none;
    }
    .main-footer .social-list {
        display: flex;
        justify-content: flex-start;
    }
    .footer-bottom .footer-copyright {
        line-height: 1.8;
    }
}

@media (max-width: 767px) {
    .main-footer #custom_html-2 {
        margin-left: 0 !important;
    }
}

/* Plants page: photo rows, point boxes and titles on tablets and phones */
@media (max-width: 1229px) {
    .vc_row .plants .wpb_wrapper {
        flex-wrap: wrap;
        justify-content: center !important;
    }
    .vc_row .plants .wpb_wrapper.vc_figure,
    .vc_row .plants .wpb_single_image {
        width: calc(50% - 10px) !important;
        max-width: 600px;
    }
    .vc_row .plants .wpb_single_image img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 767px) {
    .vc_row .plants .wpb_wrapper {
        flex-direction: column;
        align-items: center;
    }
    .vc_row .plants .wpb_wrapper.vc_figure,
    .vc_row .plants .wpb_single_image {
        width: 100% !important;
    }
    #content .title {
        font-size: 26px !important;
        line-height: 1.25;
    }
    .points {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Header: the last two dropdowns open to the left so they never leave the viewport */
@media (min-width: 768px) {
    nav ul.menu > li:nth-last-child(-n+2) > ul.sub-menu {
        left: auto !important;
        right: 0 !important;
    }
}
/* Plants page: Kazanlak photo column full width below desktop size */
@media (max-width: 1229px) {
    .wpb_column.plants.vc_col-md-6 {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .main-footer .row > div {
        padding-left: 30px;
    }
    .footer-bottom .footer-copyright {
        padding-left: 15px;
    }
}

/* Plants page carousel: two large photos per view, identical boxes; no dots on phones/tablets */
.page-id-957 .image-carousel .img-item a.carousel-lightbox img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 991px) {
    .page-id-957 .image-carousel .img-item a.carousel-lightbox img {
        height: 320px;
    }
    .image-carousel .slick-dots {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .page-id-957 .image-carousel .img-item a.carousel-lightbox img {
        height: 240px;
    }
}

/* WPBakery sections: no negative side margins on phones (caused 15px horizontal overflow) */
@media (max-width: 767px) {
    #content .vc_section {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* About Us: space between stacked news cards */
@media (max-width: 767px) {
    #content .vc_section .wpb_column {
        margin-bottom: 30px;
    }
    #content .vc_section .wpb_column:last-child {
        margin-bottom: 0;
    }
}

/* History timeline and number blocks on phones: smaller circles, wider text */
@media (max-width: 767px) {
    .process .steps .p-icon {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 32px;
    }
    .process .steps .step-content {
        padding-left: 100px;
        padding-top: 4px;
    }
    .process .steps .step-content h5 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .process .steps .step-content p {
        font-size: 15px;
        line-height: 1.5;
    }
    .process .steps:after {
        left: 55px;
    }
    .process .steps {
        padding-bottom: 24px;
    }
    #content .text-light h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
}

/* Awards page: section titles on phones */
@media (max-width: 767px) {
    .page-id-950 p.vc_custom_heading,
    .page-id-950 .vc_custom_heading p {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }
}

/* Awards page: space between stacked award cards on phones */
@media (max-width: 767px) {
    .page-id-950 .vc_row.vc_inner > .wpb_column {
        margin-bottom: 40px;
    }
    .page-id-950 .vc_row.vc_inner > .wpb_column:last-child {
        margin-bottom: 0;
    }
}

/* Certificates page: section titles and spacing between stacked items on phones */
@media (max-width: 767px) {
    .page-id-952 p.vc_custom_heading {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }
    .page-id-952 .vc_row.vc_inner > .wpb_column {
        margin-bottom: 40px;
    }
    .page-id-952 .vc_row.vc_inner > .wpb_column:last-child {
        margin-bottom: 0;
    }
}

/* Plants page: space between plant titles and the photos below */
.page-id-957 .wpb_raw_html .title {
    margin-bottom: 20px;
}

/* Projects page on phones: compact filter chips, space between cards */
@media (max-width: 767px) {
    .project-filter .cat-filter {
        gap: 10px !important;
        row-gap: 10px !important;
        margin-bottom: 1.5rem !important;
    }
    .project-filter .cat-filter .filter-item {
        padding: 8px 16px !important;
        font-size: 14px !important;
        margin-right: 0 !important;
    }
    #projects .project-item {
        margin-bottom: 24px;
    }
}

/* Projects page on phones: less space above the filter */
@media (max-width: 767px) {
    .page-id-1792 .vc_custom_1788938840126 {
        padding-top: 25px !important;
    }
}

/* Contact page: Google Maps embeds fill their column */
.page-id-119 .wpb_raw_code,
.page-id-119 .wpb_raw_code .wpb_wrapper {
    width: 100% !important;
    display: block !important;
}
.page-id-119 .wpb_raw_code iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
}
@media (max-width: 767px) {
    .page-id-119 .wpb_raw_code iframe {
        height: 300px !important;
    }
}

/* Contact page on phones: maps row side padding 80px -> 15px */
@media (max-width: 767px) {
    .page-id-119 .vc_custom_1780400653997 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Complaints and Suggestions page on phones: spacing around the contact block */
@media (max-width: 767px) {
    .page-id-1244 .contact-info {
        margin-bottom: 30px !important;
    }
    .page-id-1244 .wpcf7 {
        margin-top: 10px;
    }
}

/* Complaints and Suggestions page on phones: less space above the title */
@media (max-width: 767px) {
    .page-id-1244 .vc_custom_1541146563758 {
        padding-top: 30px !important;
    }
}

/* Contact page on phones: space between the two maps */
@media (max-width: 767px) {
    .page-id-119 .vc_custom_1780400653997 .wpb_column {
        margin-bottom: 35px;
    }
    .page-id-119 .vc_custom_1780400653997 .wpb_column:last-child {
        margin-bottom: 0;
    }
}


/* Footer: short company text under the logo */
.main-footer #block-8 .wp-block-image {
    margin-bottom: 18px;
}
.main-footer .footer-about {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
    margin: 18px 0 0 !important;
    opacity: 0.85;
}
@media (max-width: 767px) {
    .main-footer .footer-about {
        max-width: none;
        padding-right: 15px;
    }
}


/* Page header banner: centered photo instead of top-aligned */
#page-header.page-header {
    background-position: center center !important;
}


/* Header logo on phones: smaller so the menu button stays on the same line */
@media (max-width: 767px) {
    #site-logo a img {
        height: auto !important;
        max-width: 220px;
    }
}


/* Header: center the menu and the search icon vertically against the logo bar */
@media (min-width: 992px) {
    #site-navigation.main-navigation {
        padding-top: 44px;
    }
    .header-call-to-action {
        padding-top: 31px;
    }
}
