/* Étlap Frontend Stílusok */

.etlap-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.etlap-card {
    perspective: 1000px;
    height: 400px;
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
}

@media (max-width: 1200px) {
    .etlap-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .etlap-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .etlap-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.etlap-card:nth-child(even) {
    margin-top: 35px;
}

.etlap-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.etlap-card:hover .etlap-card-inner {
    transform: rotateY(180deg);
}

.etlap-card-front,
.etlap-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 8px;
    box-sizing: border-box;
}

.etlap-card-front {
    background-color: #A9341C;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
}

.etlap-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    z-index: 1;
}

.etlap-card-front-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.etlap-card-back {
    background-color: #A9341C;
    transform: rotateY(180deg);
    border-radius: 15px;
}

.etlap-card-name {
    text-align: center;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "Montserrat", Sans-serif;
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 40px;
    letter-spacing: 1.2px;
    color: #FFF484;
}

.etlap-card-button {
    display: inline-block;
    padding: 15px 40px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.3s;
    font-family: "Montserrat", Sans-serif;
}

