/* =========================================================
   DOG DETAIL
   ========================================================= */

.dog-detail {
    position: relative;

    margin-bottom: 50px;
}


/* =========================================================
   HERO
   ========================================================= */

.dog-detail-hero {
    min-height: 600px;

    position: relative;

    display: flex;

    overflow: hidden;

    border-radius: 10px;

    background: #111;
}


/* =========================================================
   IMAGE
   ========================================================= */

.dog-detail-image {
    width: 55%;

    position: relative;

    overflow: hidden;
}


.dog-detail-image img {
    width: 100%;
    height: 100%;

    position: absolute;

    top: 0;
    left: 0;

    object-fit: cover;
}

.dog-detail-image img.center-top {
    object-position: center top;
}

.dog-detail-image img.center-bottom {
    object-position: center top;
}


/* Dégradé permettant de faire une transition
   plus naturelle vers le panneau sombre */

.dog-detail-image:after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 180px;

    background:
            linear-gradient(
                    to right,
                    rgba(17, 17, 17, 0),
                    #111
            );
}


/* =========================================================
   CONTENT
   ========================================================= */

.dog-detail-content {
    width: 45%;

    padding: 50px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: #fff;

    background: #111;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.dog-breadcrumb {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 50px;

    font-size: 15px;
}


.dog-breadcrumb a {
    color: #fff;

    text-decoration: none;
}


.dog-breadcrumb a:hover {
    color: var(--refuge-blue);
}


.dog-breadcrumb span {
    color: #adb5bd;
}


.dog-breadcrumb i {
    font-size: 10px;
}


/* =========================================================
   NAME
   ========================================================= */

.dog-detail-name {
    margin: 0;

    color: #fff;

    font-size: 70px;

    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   BREED
   ========================================================= */

.dog-detail-breed {
    margin-top: 20px;

    color: #d51f35;

    font-size: 35px;

    font-weight: 600;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.dog-detail-summary {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    margin-top: 30px;

    font-size: 18px;
}


.dog-detail-summary > div {
    display: flex;

    align-items: center;

    gap: 10px;
}


.dog-detail-summary i {
    color: var(--refuge-blue);

    font-size: 23px;
}


.dog-detail-separator {
    margin: 0 20px;

    color: #fff;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.dog-detail-description {
    max-width: 600px;

    margin-top: 35px;
    margin-bottom: 0;

    color: #f1f1f1;

    font-size: 18px;

    line-height: 1.6;
}


/* =========================================================
   WHITE INFORMATION CARD
   ========================================================= */

.dog-detail-card {
    position: relative;

    z-index: 2;

    margin:
            -45px
            35px
            0;

    padding: 28px 35px;

    background: #fff;

    border-radius: 20px;

    box-shadow:
            0 10px 35px rgba(0, 0, 0, .15);
}


/* =========================================================
   INFORMATION
   ========================================================= */

.dog-detail-info {
    min-height: 120px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.dog-detail-info-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--refuge-blue);

    font-size: 25px;
}


.dog-detail-info-icon.blue {
    background: #edf4ff;

    border-radius: 50%;
}


.dog-detail-info-icon.red {
    color: var(--refuge-red);

    background: #fff0f1;

    border-radius: 50%;
}


.dog-detail-info strong {
    display: block;

    color: #20252b;

    font-size: 17px;
}


.dog-detail-info span {
    display: block;

    margin-top: 4px;

    color: #6c757d;

    font-size: 13px;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.dog-detail-actions {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.dog-detail-actions .btn {
    width: 100%;

    padding: 12px 15px;

    border: 0;

    border-radius: 7px;

    color: #fff;

    font-size: 15px;

    font-weight: 600;
}


.dog-share-button {
    background: #2867d8;
}


.dog-share-button:hover {
    color: #fff;

    background: #1e55b7;
}


.dog-contact-button {
    background: #20a3b8;
}


.dog-contact-button:hover {
    color: #fff;

    background: #18899b;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .dog-detail-hero {
        min-height: 0;

        display: block;
    }


    .dog-detail-image {
        width: 100%;

        height: 450px;
    }


    .dog-detail-image img {
        position: static;
    }


    .dog-detail-image:after {
        display: none;
    }


    .dog-detail-content {
        width: 100%;

        padding: 35px;
    }


    .dog-breadcrumb {
        margin-bottom: 30px;
    }


    .dog-detail-name {
        font-size: 55px;
    }


    .dog-detail-card {
        margin:
                -25px
                20px
                0;
    }

}


@media (max-width: 767px) {

    .dog-detail-image {
        height: 350px;
    }


    .dog-detail-content {
        padding: 30px 25px;
    }


    .dog-detail-name {
        font-size: 45px;
    }


    .dog-detail-breed {
        font-size: 28px;
    }


    .dog-detail-summary {
        font-size: 16px;
    }


    .dog-detail-description {
        font-size: 16px;
    }


    .dog-detail-card {
        margin:
                -20px
                10px
                0;

        padding: 20px;
    }


    .dog-detail-info {
        min-height: 0;

        margin-bottom: 25px;
    }


    .dog-detail-actions {
        margin-top: 5px;
    }

}

.dog-gallery {
    padding: 30px 10px;
    border-top: 1px solid #e9ecef;
}

.dog-gallery h3 {
    margin: 0;
    color: #292f36;
    font-size: 24px;
    font-weight: 700;
}

.dog-gallery-icon {
    color: var(--refuge-red);
    font-size: 22px;
}

.dog-gallery-item {
    display: block;
    overflow: hidden;
    height: 210px;
    border-radius: 12px;
    background: #f1f3f5;
}

.dog-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.dog-gallery-item:hover img {
    transform: scale(1.04);
}

.dog-share-buttons {
    width: 100%;
}

.dog-share-title {
    margin-bottom: 12px;

    color: #343a40;

    font-size: 14px;
    font-weight: 600;
}

.dog-social-button {
    width: 100%;

    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 6px;

    color: #fff;

    font-size: 13px;
    font-weight: 600;

    transition:
            opacity .2s ease,
            transform .2s ease;
}

.dog-social-button i {
    margin-right: 8px;

    font-size: 16px;
}

.dog-social-button:hover {
    color: #fff;

    opacity: .9;

    transform: translateY(-1px);
}


/* Facebook */

.dog-social-facebook {
    background: #1877f2;
}


/* X */

.dog-social-twitter {
    background: #000;
}

.dog-social-messenger {
    background: #0084ff;
}

.dog-social-messenger:hover {
    color: #fff;
    background: #0074e0;
}

/* WhatsApp */

.dog-social-whatsapp {
    background: #25d366;
}


/* Email */

.dog-social-email {
    background: #6c757d;
}