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

.management-screen {
    position: relative;
    background-image: url('../images/Background.png');
}

/* Background image wrapper */
.management-bg-screen {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Actual image */
.management-bg-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay */
.management-bg-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero content container */
.hero-bg {
    position: absolute;
    top: 35%;
    left: 0;

    width: 100%;
    min-height: 200px;

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

    background-color: rgba(37, 37, 37, 0.4);

    padding: 40px 20px;
    z-index: 2;
}

/* Hero title */
.management-screen h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 57px);
    color: white;
    padding: 10px;
}

/* Hero text */
.management-screen p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: white;
    padding: 10px;
}

/* Button */
.management-screen .button {
    font-size: 20px;
    color: black;
    background: linear-gradient(135deg, #a67c3f, #c49b63);

    cursor: pointer;
    transition: all .3s ease;

    padding: 10px 30px;
    border-radius: 20px;
    text-decoration: none;
}

.management-screen .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(196, 155, 99, .5);
}


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

.description-wrapper {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.left {
    text-align: end;
    flex: 1;
}

.right {
    flex: 1;
}


/* ============================= */
/* EXAMPLES */
/* ============================= */

.examples {
    height: auto;
    position: relative;
    padding-top: 25px;
}

.examples-header {
    text-align: center;
    padding: 40px 10px;
}

.examples-header h2 {
    position: relative;
    display: inline-block;

    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;

    padding-bottom: 15px;
}

.examples-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 50%;
    height: 2px;

    background: #a67c3f;
    transform: translateX(-50%);
}

.examples-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    margin: 50px;
}

.examples-item {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 100px;
    margin-right: 50px;
}

.examples-left {
    flex: 0 0 40%;
    padding: 50px;
}

.examples-right {
    position: relative;
    flex: 0 0 60%;
}

/* Image hover effect */

.image-hover img {
    border-radius: 200px 200px 0 200px;
    width: 100%;
    height: auto;

    display: block;

    filter: grayscale(100%);
    transition: filter .4s ease;
}

.image-hover:hover img {
    filter: grayscale(0%);
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    transition: opacity .4s ease;
}

.image-hover:hover .img-hover {
    opacity: 1;
}

.examples-item h3 {
    font-family: 'Playfair Display', serif;
    padding-bottom: 20px;
    color: #a67c3f;
}

.examples-item:nth-child(2) {
    flex-direction: row-reverse;
}

.examples-item:nth-child(4) {
    flex-direction: row-reverse;
}


/* ============================= */
/* GRID SECTION */
/* ============================= */

.example-content-next {
    position: relative;

    display: grid;
    grid-template-columns: 1fr;

    gap: 50px;

    padding: 0 30px;
    margin: 0px 35px;

}

/* tablet */

@media (min-width:768px) {

    .example-content-next {
        grid-template-columns: repeat(2, 1fr);
    }


    .examples-content {
        margin: 0px;
    }
}

@media (max-width:768px) {
    .examples-content {
        margin: 0px;
    }
    .example-content-item{
        margin-bottom: 50px;
    }

    .examples-item{
        margin-bottom: 50px;
    }
}

/* desktop */

@media (min-width:1200px) {

    .example-content-next {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* animated items */

.example-content-item {
    align-self: start;

    height: 180px;

    opacity: 0;
    transform: translateY(40px);

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

.example-content-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.example-content-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #a67c3f;
    padding-bottom: 20px;
}

/* background numbers */

.example-content-item span {

    font-family: 'Playfair Display', serif;

    font-size: clamp(120px, 50vw, 400px);

    position: absolute;

    top: 0;
    left: 10%;

    transform: translate(-50%, -50%);

    color: rgba(148, 148, 148, 0.2);

    pointer-events: none;
    user-select: none;

    z-index: 0;
}


/* ============================= */
/* PARTNERS */
/* ============================= */

.partners {
    margin-bottom: 50px;
    height: auto;
}

.partners-header {
    text-align: center;
    padding: 40px 10px;
}

.partners-header h2 {
    position: relative;
    display: inline-block;

    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;

    padding-bottom: 15px;
    margin-bottom: 30px;
}

.partners-header h2::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 50%;
    height: 2px;

    background: #a67c3f;

    transform: translateX(-50%);
}

.partners-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    padding: 0 30px;

    justify-content: center;
}

.partners-item {

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

    flex: 0 0 calc(20% - 30px);

    height: 150px;

    border: 1px solid #a67c3f;
    border-radius: 10px;

    padding: 20px;

    transition: transform .3s ease, box-shadow .3s ease;
}

.partners-item img {

    max-height: 60px;
    max-width: 80%;
    min-height: 140px;
    overflow: hidden;

    width: auto;
    height: auto;

    object-fit: contain;
}

.partners-item:hover {
    box-shadow: 0 0 25px rgb(196 155 99 / .35);
    transform: translateY(-5px);
}


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

@media (max-width:1200px) {

    .partners-item {
        flex: 1 1 calc(33.333% - 10px);
    }

}

@media (max-width:800px) {

    .partners-item {
        flex: 1 1 calc(50% - 10px);
    }

    .examples-item {
        flex-direction: column;
        margin-right: 0;
        text-align: center;
    }

    .examples-left,
    .examples-right {
        flex: 1 1 100%;
        padding: 20px;
    }

}

@media (max-width:768px) {

    .description-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        text-align: center;
    }

    .left {
        text-align: center;
    }

}

@media (max-width:500px) {

    .partners-item {
        flex: 1 1 100%;
    }

}