/*!
 * Appart css Version - 1.1.1
 * Copyright (c) 2025 Webstudio <contact@webstudio.astrolabconseil.com>
*/

.hero-agency {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 88.5vh;
    background: url(../../images/pattern.png), #0B373C;
    overflow: hidden;
}

#technical-sheet {
    background-color: #FEFBE5;
}

#technical-sheet h2 {
    color: #2E4D49;
}

#technical-sheet .card {
    background-color: transparent;
    border-color: #9FBA36;
}


/* Card product */

.card-rental {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
}

@media (min-width: 30em) {
    .card-rental {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 60em) {
    .card-rental {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-rental .card {
    background: white;
    text-decoration: none;
    color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all 0.1s ease-in;
}

.card-rental .card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.card-rental .card .item-details {
    padding: 15px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #7C6A46;
}

.card-rental .card .item-details h3 {
    color: #7C6A46;
    font-size: 18px;
    font-weight: 500;
}

.card-rental .card .item-details .item-price {
    color: #7C6A46;
    font-size: 12px;
    text-transform: inherit;
}

.card-rental .card .item-details .item-option {
    border-top: 0.2px solid #7c6a464b;
    margin-top: 10px;
    padding: 10px 0px;
    font-size: 12px;
    text-transform: inherit;
}

.card-rental .card a h3:hover {
    color: var(--secondary-gradient);
}

.card-rental .card h3 {
    font-size: 20px;
    margin: 0;
    color: #000000;
    font-weight: 500 !important;
}

.card-rental .card p {
    flex: 1;
    line-height: 1.4;
    font-size: 17px !important;
    margin-top: 5px;
}

.card-rental .card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2em 0 0 0;
}

.card-rental .card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
}

@media (min-width: 60em) {
    .card-rental .item-1 {
        grid-column: 1/span 2;
    }

    .card-rental .item-1 h3 {
        font-size: 24px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .hero-agency {
        align-items: center;
        display: flex;
        justify-content: center;
        min-height: 50vh;
        /* min-height: 768px; */
        overflow: hidden;
    }
}