/* =========================================
   HERO
========================================= */

.catalog-hero {

    padding: 75px 8%;

    background:
        linear-gradient(
            90deg,
            rgba(10, 38, 28, 0.50) 0%,
            rgba(10, 38, 28, 0.28) 50%,
            rgba(10, 38, 28, 0.12) 100%
        ),
        url("../assets/images/defaults/home.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    color: white;
}


.catalog-hero-content {
    max-width: 1200px;

    margin: auto;
}


.catalog-hero-content > p {
    margin-bottom: 10px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;
}


.catalog-hero h1 {

    margin-bottom: 15px;

    font-size: 46px;

    line-height: 1.2;

    color: #ffffff;

    text-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.35);
}


.catalog-hero span {
    display: block;

    max-width: 700px;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );

    line-height: 1.7;
}


/* =========================================
   PAGE
========================================= */

.catalog-page {
    padding: 45px 7% 80px;

    background-color: #f7f9f8;
}


/* =========================================
   FILTER PANEL
========================================= */

.catalog-filter {
    max-width: 1450px;

    margin: 0 auto 35px;

    padding: 28px;

    background-color: white;

    border-radius: 15px;

    box-shadow:
        0 5px 20px
        rgba(
            0,
            0,
            0,
            0.06
        );
}


.catalog-heading {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}


.catalog-label {
    margin-bottom: 5px;

    color: #198754;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.catalog-heading h2 {
    color: #203028;

    font-size: 27px;
}


/* =========================================
   RESULT
========================================= */

.catalog-result {
    min-width: 140px;

    padding: 12px 17px;

    text-align: center;

    background-color: #edf7f1;

    border-radius: 10px;
}


.catalog-result strong {
    display: block;

    color: #177249;

    font-size: 25px;
}


.catalog-result span {
    color: #65726b;

    font-size: 11px;
}


/* =========================================
   SEARCH
========================================= */

.catalog-search {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.catalog-search label,
.catalog-filter-group label {
    color: #53615a;

    font-size: 13px;

    font-weight: 600;
}


.catalog-search input {
    width: 100%;

    min-height: 48px;

    padding: 12px 15px;

    border:
        1px solid #dae3de;

    border-radius: 8px;

    font-size: 15px;

    outline: none;
}


.catalog-search input:focus {
    border-color: #198754;
}


/* =========================================
   FILTER GRID
========================================= */

.catalog-filter-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap: 16px;

    margin-top: 17px;
}


.catalog-filter-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.catalog-filter-group select {
    width: 100%;

    min-height: 46px;

    padding: 10px 12px;

    border:
        1px solid #dae3de;

    border-radius: 8px;

    background-color: white;

    color: #26352d;

    font-size: 14px;

    outline: none;
}


.catalog-filter-group select:focus {
    border-color: #198754;
}


/* =========================================
   RESET
========================================= */

.catalog-filter-action {
    display: flex;

    justify-content: flex-end;

    margin-top: 18px;
}


.catalog-filter-action button {
    padding: 11px 20px;

    border: none;

    border-radius: 7px;

    background-color: #e7ede9;

    color: #34443b;

    cursor: pointer;
}


.catalog-filter-action button:hover {
    background-color: #dae3dd;
}


/* =========================================
   GRID
========================================= */

.catalog-grid {
    width: 100%;

    max-width: 1450px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                300px,
                1fr
            )
        );

    gap: 25px;
}


/* =========================================
   CARD
========================================= */

.catalog-card {
    min-width: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background-color: white;

    border-radius: 15px;

    box-shadow:
        0 5px 20px
        rgba(
            0,
            0,
            0,
            0.07
        );

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.catalog-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 10px 28px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


/* =========================================
   CARD HEADER
========================================= */

.catalog-card-header {
    min-height: 165px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 24px;

    background:
        linear-gradient(
            135deg,
            #176b48,
            #5ba67e
        );

    color: white;
}


.catalog-card-category {
    margin-bottom: 7px;

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    opacity: 0.85;
}


.catalog-card-header h3 {
    font-size: 21px;

    line-height: 1.35;
}


/* =========================================
   CARD BODY
========================================= */

.catalog-card-body {
    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 22px;
}


.catalog-card-region {
    margin-bottom: 12px;

    color: #198754;

    font-size: 13px;

    font-weight: 600;
}


.catalog-card-stats {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 9px;

    margin-bottom: 16px;
}


.catalog-stat {
    padding: 9px;

    background-color: #f2f6f4;

    border-radius: 7px;

    color: #54625b;

    font-size: 12px;
}


.catalog-overview {
    margin-bottom: 20px;

    color: #606d66;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   VDI BADGE
========================================= */

.vdi-badge {
    display: inline-block;

    width: fit-content;

    margin-bottom: 15px;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;
}


.vdi-low {
    background-color: #e7f6ed;

    color: #147443;
}


.vdi-medium {
    background-color: #fff4d8;

    color: #9a6a0d;
}


.vdi-high {
    background-color: #fde9e7;

    color: #b33d34;
}


.vdi-unknown {
    background-color: #ecefed;

    color: #67716c;
}


/* =========================================
   DETAIL BUTTON
========================================= */

.catalog-detail-button {
    margin-top: auto;

    align-self: flex-start;

    padding: 11px 18px;

    border: none;

    border-radius: 7px;

    background-color: #198754;

    color: white;

    cursor: pointer;
}


.catalog-detail-button:hover {
    background-color: #146c43;
}


/* =========================================
   EMPTY RESULT
========================================= */

.catalog-empty {
    grid-column:
        1 / -1;

    padding: 70px 20px;

    text-align: center;

    color: #6d7872;
}


/* =========================================
   PAGINATION
========================================= */

.pagination-container {
    max-width: 1450px;

    margin: 45px auto 0;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;
}


.pagination-button {
    min-width: 42px;

    min-height: 42px;

    padding: 8px 12px;

    border:
        1px solid #d9e2dd;

    border-radius: 7px;

    background-color: white;

    color: #34443b;

    cursor: pointer;
}


.pagination-button:hover {
    border-color: #198754;

    color: #198754;
}


.pagination-button.active {
    background-color: #198754;

    border-color: #198754;

    color: white;
}


.pagination-button:disabled {
    opacity: 0.4;

    cursor: not-allowed;
}


.pagination-dots {
    padding: 0 4px;

    color: #77817c;
}


/* =========================================
   NAV ACTIVE
========================================= */

.nav-menu a.active {
    color: #198754;

    font-weight: 700;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .catalog-filter-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

}


@media (max-width: 650px) {

    .catalog-hero {
        padding: 55px 6%;
    }


    .catalog-hero h1 {
        font-size: 35px;
    }


    .catalog-page {
        padding:
            30px 5%
            60px;
    }


    .catalog-heading {
        flex-direction: column;

        align-items: flex-start;
    }


    .catalog-filter-grid {
        grid-template-columns: 1fr;
    }


    .catalog-grid {
        grid-template-columns: 1fr;
    }


    .catalog-card-stats {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   DESTINATION CARD IMAGE
========================================= */

.catalog-card {
    overflow: hidden;
}


.catalog-card-image {
    width: 100%;
    height: 210px;

    overflow: hidden;

    background-color: #e8efeb;
}


.catalog-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.catalog-card:hover
.catalog-card-image img {
    transform:
        scale(1.05);
}