/*
Theme Name: Collection Michel 2026
Text Domain: collection-michel2026
Version: 2.0
Description: Collection Michel
Tags: Collection Michel
Author: TJM TECH + MAGWEBCREATION
Author URI: https://collection-michel.com
*/

/*******************************************************************************
FONT Cormorantgaramond
*******************************************************************************/
@font-face {
    font-family: 'Cormorantgaramond';
    src: url('assets/fonts/cormorantgaramond/cormorantgaramond-regular-webfont.woff'),
        url('assets/fonts/cormorantgaramond/cormorantgaramond-regular-webfont.woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorantgaramond';
    src: url('assets/fonts/cormorantgaramond/cormorantgaramond-italic-webfont.woff'),
        url('assets/fonts/cormorantgaramond/cormorantgaramond-italic-webfont.woff2');
    font-weight: normal;
    font-style: italic;
}


@font-face {
    font-family: 'Cormorantgaramond';
    src: url('assets/fonts/cormorantgaramond/cormorantgaramond-bold-webfont.woff'),
        url('assets/fonts/cormorantgaramond/cormorantgaramond-bold-webfont.woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorantgaramond';
    src: url('assets/fonts/cormorantgaramond/cormorantgaramond-bolditalic-webfont.woff'),
        url('assets/fonts/cormorantgaramond/cormorantgaramond-bolditalic-webfont.woff2');
    font-weight: bold;
    font-style: italic;
}

/*******************************************************************************
FONT Playfairdisplay
*******************************************************************************/
@font-face {
    font-family: 'Playfairdisplay';
    src: url('assets/fonts/playfairdisplay/playfairdisplay-regular-webfont.woff'),
        url('assets/fonts/playfairdisplay/playfairdisplay-regular-webfont.woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Playfairdisplay';
    src: url('assets/fonts/playfairdisplay/playfairdisplay-italic-webfont.woff'),
        url('assets/fonts/playfairdisplay/playfairdisplay-italic-webfont.woff2');
    font-weight: normal;
    font-style: italic;
}


@font-face {
    font-family: 'Playfairdisplay';
    src: url('assets/fonts/playfairdisplay/playfairdisplay-bold-webfont.woff'),
        url('assets/fonts/playfairdisplay/playfairdisplay-bold-webfont.woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Playfairdisplay';
    src: url('assets/fonts/playfairdisplay/playfairdisplay-bolditalic-webfont.woff'),
        url('assets/fonts/playfairdisplay/playfairdisplay-bolditalic-webfont.woff2');
    font-weight: bold;
    font-style: italic;
}

/*******************************************************************************
FONT Heebo
*******************************************************************************/
@font-face {
    font-family: 'Heebo';
    src: url('assets/fonts/heebo/heebo-light-webfont.woff'),
        url('assets/fonts/heebo/heebo-light-webfont.woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Heebo';
    src: url('assets/fonts/heebo/heebo-medium-webfont.woff'),
        url('assets/fonts/heebo/heebo-medium-webfont.woff2');
    font-weight: bold;
    font-style: normal;
}

/*******************************************************************************
********************************************************************************
*******************************************************************************/

body {
    margin: 0;
    font-size: 16px;
    font-family: 'Heebo', 'Open Sans', sans-serif;
    color: #262626;
}

.tm-text {
    font-size: 1rem;
    font-family: 'Heebo', 'Open Sans', sans-serif;
}

h1,
h2,
h3,
.tm-title {
    font-family: 'Playfairdisplay';
    font-weight: bold;
}

a {
    color: inherit;
    text-decoration: none;
}

.tm-action-button {
    background-color: rgb(181, 174, 155) !important;
    display: inline-block !important;
    width: auto !important;
    padding: 1rem !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    color: white !important;
}

.tm-action-button:hover {
    opacity: .6 !important;
}

.tm-action-button-reverse {
    border: 1px solid rgb(95, 92, 86);
    display: inline-block;
    width: auto;
    padding: 1rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    color: rgb(95, 92, 86);
    font-weight: 600;
    background-color: white;
}

.content-wrapper {
    max-width: 1200px;
    margin: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.tm-display-none {
    display: none;
}

/*******************************************************************************
HEADER
*******************************************************************************/
header {
    display: flex;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: white;
    border-bottom: 1px solid rgb(221, 221, 221);
    /*box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;*/
}

#tm-logo-link {
    display: inline-block;
    background-color: white;
    height: 80px;
}

#tm-logo-link img {
    height: 60px;
    margin-top: 10px;
}

nav {
    width: 100%;
    position: relative;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
}

nav a {
    display: inline-block;
    padding: 0.6rem;
    margin-left: 2.2rem;
    font-family: 'Cormorantgaramond';
    font-size: 1.2rem;
}

nav li.current-menu-item>a,
nav a:hover {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.tm-dropbtn {
    padding-left: 1.4rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    background-color: white;
}

.tm-dropbtn img {
    margin-left: 8px;
}

.tm-dropdown {
    position: relative;
    display: block;
    z-index: 100;
}

.tm-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 66px;
    text-align: center;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.tm-dropdown-content a {
    color: black;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-decoration: none;
    display: block;
}

.tm-dropdown-content a:hover {
    background-color: #f1f1f1
}

.tm-dropdown:hover .tm-dropdown-content {
    display: block;
}

.tm-dropdown:hover .tm-dropbtn>img {
    transform: rotate(180deg);
}

.tm-phone-number {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.tm-phone-number a {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: #9F967F;
}

.tm-phone-number a.selected,
.tm-phone-number a:hover {
    border-top: none;
    border-bottom: none;
    text-decoration: underline;
    color: black;
}

/* Burger menu */
#tm-burger-menu-checkbox {
    display: block;
    width: 44px;
    height: 32px;
    position: absolute;
    top: 1.2rem;
    right: 0.5rem;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#tm-burger-menu {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1rem;
}

#tm-burger-menu-title {
    display: none;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    color: rgb(181, 174, 155);
    position: absolute;
    top: 50px;
    right: 14px;
}

#tm-burger-menu span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: rgb(181, 174, 155);
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#tm-burger-menu span:first-child {
    transform-origin: 0% 0%;
}

#tm-burger-menu span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#tm-burger-menu-checkbox:checked~nav {
    display: block;
}

#tm-burger-menu-checkbox:checked~#tm-burger-menu-title {
    opacity: 0;
    transition: opacity 0.2s linear;
}

#tm-burger-menu-checkbox:checked~div>span {
    opacity: 1;
    transform: rotate(45deg) translate(-1px, -2px);
}

#tm-burger-menu-checkbox:checked~div>span:nth-last-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#tm-burger-menu-checkbox:checked~div>span:nth-last-child(1) {
    transform: rotate(-45deg) translate(-1px, -1.6px);
}

/*******************************************************************************
TEMPLATE PART : TITLE-BLOCK
*******************************************************************************/
#tm-title-block {
    width: 100%;
    height: calc(100vh - 80px);
    /* Height of screen minus height of header */
    color: white;
    text-align: center;
    font-size: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: inset(0 0 0 0);
}

#tm-title-block h1 {
    margin-left: 3rem;
    margin-right: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border-radius: 20px;
    padding: 1rem;
}

#tm-title-block-image {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;
    object-fit: cover;
}

/*******************************************************************************
TEMPLATE PART : BANNER
*******************************************************************************/
#tm-banner-text {
    background-color: rgb(181, 174, 155);
    height: 68px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*******************************************************************************
TEMPLATE PART : CONTENT-BLOCK
*******************************************************************************/
.tm-content-block {
    background-color: white;
    height: auto;
    display: flex;
    align-items: stretch;
}

.tm-content-block-text {
    width: 50%;
    height: auto;
    min-height: 625px;
    display: flex;
    align-items: center;
}

.tm-content-block-text h2 {
    font-size: 3rem;
    color: rgb(181, 174, 155);
}

.tm-content-block-text>div {
    margin-left: 4rem;
    margin-right: 4rem;
}

.tm-content-block-text p {
    margin-bottom: 3rem;
}

.tm-content-block-image {
    width: 50%;
    position: relative;
}

.tm-content-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.tm-content-block-image-mobile {
    display: none;
}

.tm-content-block-text .tm-action-button-container {
    margin-bottom: 2rem;
    text-align: center;
}

/*******************************************************************************
CONTACT FORM 7
*******************************************************************************/
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #d9dbdd;
    background: #e8eaed;
    font-size: 1rem;
}

.wpcf7-spinner {
    margin-top: 0;
    margin-right: -48px;
    margin-bottom: 0;
    margin-left: 18px;
}

.wpcf7-submit {
    /* Code below for Safari on mobile issue */
    -webkit-appearance: none !important;
    -webkit-border-radius: 0;
    /* End code for Safari on mobile issue */
    appearance: none !important;
    border-radius: 0;

    font-size: 1rem;
    font-family: 'Heebo', 'Open Sans', sans-serif;
    border: 0;
}

.wpcf7-submit:hover {
    cursor: pointer;
}

.wpcf7-form input,
.wpcf7-form textarea {
    font-family: 'Heebo', 'Open Sans', sans-serif;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/*******************************************************************************
GOOGLE REVIEWS
*******************************************************************************/
#tm-google-review {
    margin: auto;
    width: 90%;
    margin-bottom: 2rem;
}

#tm-google-review-title {
    font-size: 1.8rem;
    width: 100%;
    background-color: rgb(181, 174, 155);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    color: white;
    text-align: center;
}

#tm-google-review-title>.tm-title {
    display: inline-block;
    width: 92%;
}

#tm-google-review>.tm-action-button-container {
    text-align: center;
}

/*******************************************************************************
FOOTER
*******************************************************************************/

footer {
    background-color: rgb(181, 174, 155);
    text-align: center;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer>div {
    text-align: left;
}

footer nav li {
    display: block;
    width: fit-content;
}

footer nav a {
    display: inline-block;
    padding: 0;
    padding-bottom: 0.6rem;
    margin-left: 0;
    font-family: initial;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

footer nav li.current-menu-item>a,
footer nav a:hover {
    border: none;
}

footer nav a:hover {
    text-decoration: underline;
}

footer>div:nth-child(1),
footer>div:nth-child(2),
footer>div:nth-child(3) {
    width: 30%;
    margin-top: 1rem;
}

footer>div:nth-child(1),
footer>div:nth-child(2),
footer>div:nth-child(3) {
    display: flex;
    justify-content: center;
}

#tm-footer-copyright {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-top: 1px solid lightgrey;
    text-align: center;
}

footer .tm-footer-icon {
    width: 32px;
    height: 32px;
}

footer .tm-footer-section-title {
    font-family: 'Playfairdisplay';
    font-weight: bold;
    font-size: 1.17rem;
    display: block;
    margin-block-start: 1rem;
    margin-block-end: 1rem;
}

#tm-footer-payment-info {
    margin: 0;
    font-size: 0.9rem;
    font-style: italic;
}

/*******************************************************************************
/*******************************************************************************
/******************************************************************************/

/*******************************************************************************
MOBILE
*******************************************************************************/

@media only screen and (max-width: 1130px) {
    .tm-dropbtn {
        padding-left: 0;
    }
}

@media only screen and (max-width: 1100px) {
    nav a {
        margin-left: 1.2rem;
    }
}

@media only screen and (max-width: 1024px) {
    header {
        flex-wrap: wrap;
        padding-left: 0;
        padding-right: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
    }

    #tm-burger-menu,
    #tm-burger-menu-title {
        display: block;
    }

    #tm-logo-link {
        margin-left: 10px;
    }

    header nav {
        width: 100%;
        background-color: white;
        display: none;

        position: fixed;
        height: 100%;
        left: 0;
        bottom: 0;
        top: 80px;
        z-index: 100;
    }

    header nav ul {
        width: 100%;
        /*box-shadow: 0 1px 3px rgba(0, 0, 0, .1);*/
    }

    header nav li {
        margin: 0;
        padding: 0;
        display: block;
        border-bottom: 1px solid lightgray;
        width: 100%;
        overflow: hidden;
    }

    header nav li:first-child {
        border-top: 1px solid lightgray;
    }

    header nav li a {
        padding: 1.4rem;
        margin-left: 0;
        width: 100%;
        color: #262626;
    }

    header nav li a:hover,
    header nav li.current-menu-item>a,
    header .tm-phone-number a.selected,
    header .tm-phone-number a:hover {
        padding: 1.4rem;
        background-color: #f5f5f5;
        border: none;
        text-decoration: none;
    }

    header .tm-phone-number {
        position: relative;
        right: 0;
        top: initial;
        transform: initial;
    }

    header .tm-phone-number a {
        padding: 1.4rem;
        margin-left: 0;
        width: 100%;
    }

    .tm-dropdown {
        display: none;
    }

    footer {
        display: block;
    }

    footer>div:nth-child(1),
    footer>div:nth-child(2),
    footer>div:nth-child(3) {
        display: block;
        padding-left: 1rem;
        padding-right: 1rem;
        width: auto;
        margin-top: 0;
        padding-top: 1rem;
    }

    main {
        margin-top: 80px;
    }

    .content-wrapper {
        padding-top: 1rem;
    }

    #tm-title-block {
        width: 100%;
        /* Height of screen minus height of header */
        height: calc(100vh - 148px);
        color: white;
        text-align: center;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #tm-title-block h1 {
        margin-left: 0.6rem;
        margin-right: 0.6rem;
        background-color: rgba(0, 0, 0, .2);
        padding: 0;
    }

    #tm-title-block-image {
        width: 100%;
        /* TODO: use value from tm-title-block */
        height: calc(100vh - 148px);
        position: fixed;
        top: 80px;
        left: 0;
        z-index: -100;
        object-fit: cover;
    }

    .tm-content-block {
        background-color: white;
        height: auto;
        display: flex;
        flex-wrap: wrap-reverse;
        align-items: center;
        justify-content: center;
    }

    .tm-content-block.tm-content-block-right {
        flex-wrap: wrap;
    }

    .tm-content-block-text {
        width: 100%;
        height: auto;
        min-height: initial;
    }

    .tm-content-block-image {
        width: 100%;
    }

    .tm-content-block-image img {
        position: relative;
        max-height: 60vh;
    }

    .tm-content-block-text>div {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}