﻿.prices-form-header {
    position: relative;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255,255,255,5%) 50%, #efece9 100%), url('/images/stock/concert_crowd.jpg');
    background-size: cover;
    background-position: 50% 45%;
    color: #fff;
    text-align: center;
    margin-top: -55px;
    margin-bottom: 2rem;
    padding: 4rem 2rem;
    overflow: hidden;
}

    .prices-form-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100% );
        z-index: 0;
    }

    .prices-form-header h1,
    .prices-form-header p {
        position: relative;
        z-index: 1;
        margin: 0.5rem 0;
    }

#pricesFormHeader h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-top: 3rem;
    background: linear-gradient(135deg, #ffffff, #ddd9ce, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,1));
    text-transform: uppercase;
}

.row-1,
.row-2,
.row-3,
.row-4 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.row-4 {
    justify-content: center;
}


.row-3 {
    justify-content: center;
}

.row-1,
.row-2,
.row-3,
.row-4 {
    opacity: 0.2;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .row-1.visible,
    .row-2.visible,
    .row-3.visible,
    .row-4.visible {
        opacity: 1;
    }

    .row-1:not(.visible),
    .row-2:not(.visible),
    .row-3:not(.visible),
    .row-4:not(.visible) {
        pointer-events: none;
        user-select: none;
    }


.row-wrapper {
    position: relative;
    display: flex;
}

.row-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #610C27;
    padding: 1em 0;
    border-radius: 0 0.5em 0.5em 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    z-index: 2;
}


.card {
    perspective: 1000px;
    width: calc(33.333% - 20px);
    height: 27rem;
    margin-bottom: 3rem;
    background: transparent;
    border: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: slideUpFade 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.prices-p {
    padding: 3rem;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #ddd9ce, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.8px rgba(80, 80, 80, 0.35);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: slideUpFade 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

#card10 {
    width: 75vw;
}

@media (min-with: 768px) {
    #card07,
    #card08 {
        width: 45vw;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#card01 {
    animation-delay: 0.2s;
}

#card02 {
    animation-delay: 0.1s;
}

#card03 {
    animation-delay: 0.4s;
}

#pricesP1 {
    animation-delay: 0.5s;
}

#card04 {
    animation-delay: 0.7s;
}

#card05 {
    animation-delay: 0.6s;
}

#card06 {
    animation-delay: 0.9s;
}

#pricesP2 {
    animation-delay: 1.0s;
}

#card07 {
    animation-delay: 1.2s;
}

#card08 {
    animation-delay: 1.1s;
}

#card09 {
    animation-delay: 1.4s;
}

#pricesP3 {
    animation-delay: 1.5s;
}

#card10 {
    animation-delay: 1.6s;
}

#card11 {
    animation-delay: 1.7s;
}

#card12 {
    animation-delay: 1.9s;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 27rem;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    border-radius: 25px;
    box-shadow: none;
    background: none;
    overflow: visible;
    padding: 0;
    perspective: 1000px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

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

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    background-color: #EFECE9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-front {
    z-index: 2;
    overflow: hidden;
}

.card-back {
    z-index: 1;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 1rem;
    padding-bottom: 5rem;
    border: 5px solid rgba(97, 12, 39, 0.75);
}

.card-front, .card-back {
    backface-visibility: hidden;
}

    .card-front::before,
    .card-back::before {
        content: '';
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        filter: brightness(30%);
        z-index: -1;
        pointer-events: none;
    }

    .card-back::before {
        transform: scaleX(-1);
    }

.card-microphone .card-front::before,
.card-microphone .card-back::before {
    background-image: url('/images/stock/microphone.jpeg');
}

.card-piano .card-front::before,
.card-piano .card-back::before {
    background-image: url('/images/stock/piano.jpg');
}

.card-violin .card-front::before,
.card-violin .card-back::before {
    background-image: url('/images/stock/violin.jpg');
}

.card-music-1 .card-front::before,
.card-music-1 .card-back::before {
    background-image: url('/images/stock/music1.jpg');
}

.card-music-2 .card-front::before,
.card-music-2 .card-back::before {
    background-image: url('/images/stock/music2.jpg');
}

.card-music-3 .card-front::before,
.card-music-3 .card-back::before {
    background-image: url('/images/stock/music3.jpg');
}

.card-rec-audio .card-front::before,
.card-rec-audio .card-back::before {
    background-image: url('/images/stock/rec_audio.jpg');
}

.card-rec-video-in .card-front::before,
.card-rec-video-in .card-back::before {
    background-image: url('/images/stock/rec_video_in.jpg');
}

.card-rec-video-out .card-front::before,
.card-rec-video-out .card-back::before {
    background-image: url('/images/stock/rec_video_out.jpg');
}

.card-band .card-front::before,
.card-band .card-back::before {
    background-image: url('/images/stock/band_drums.jpg');
}

.card-header {
    background-color: #610C27;
    height: 5.5rem;
    width: 100%;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-header-content {
    padding-top: 5px;
    text-align: center;
    color: #EFECE9;
    font-weight: bold;
    font-size: 25px;
    margin-top: -10px;
}

.card-sub-header {
    background-color: rgba(227, 193, 180, 0.75);
    width: 80%;
    margin-left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 4px 8px rgba(97, 12, 39, 0.2);
}

.card-sub-header-content {
    height: 25px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #610C27;
}

.card-body-content {
    text-align: center;
    flex-grow: 1;
    color: #fff;
    font-size: 20px;
}

.card-price-section {
    margin-top: 1.5rem;
    font-weight: bold;
    font-size: 23px;
}

.main-price-span {
    font-size: 35px;
}

.card-body-content > hr {
    width: 100%;
    background-color: #fff !important;
    opacity: 1;
    height: 2px;
    margin-top: 1.5rem;
}

.card-body-content > p {
    margin: 0;
}

.card-body-button,
.card-back-button {
    position: absolute;
    bottom: 2rem;
    margin-top: 2rem;
    height: 3rem;
    width: 8rem;
    border-radius: 25px;
    border: 2px solid #610C27;
    color: #610C27;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.4s ease-in-out, background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    box-shadow: 0 4px 8px rgba(97, 12, 39, 0.2);
    outline: none;
    left: 50%;
    transform: translateX(-50%);
}

    .card-body-button:hover,
    .card-back-button:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .card-body-button:active,
    .card-back-button:active {
        transform: translateX(-50%) translateY(2px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

.card-inner:hover {
    transform: translateY(-5px);
    opacity: 1;
    box-shadow: 0 0 30px rgba(97, 12, 39, 0.5);
}

.custom-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.card-back-content ul li {
    padding-left: 1.2em;
}

.card-back-content p {
    text-align: center;
    margin: 0;
}

.card-back-content ul li::before {
    content: "♪";
    color: #fff;
    font-size: 1.1em;
    display: inline-block;
    width: 1em;
    margin-left: -1.2em;
}

.list-divider {
    border-bottom: 2px solid #fff;
    margin: 0.5em 0;
    height: 0;
    list-style: none;
}

.small-divider {
    border-bottom: 1px solid #ffffff;
    max-width: 3rem;
    margin-left: 50%;
    transform: translateX(-50%);
}


@media (max-width: 768px) {
    .row-1,
    .row-2,
    .row-3,
    .row-4 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        opacity: 1;
        pointer-events: all;
    }

    .card {
        width: 90%;
        height: auto;
    }

    .card-price-section {
        margin-top: 0;
    }

    .row-1:not(.visible),
    .row-2:not(.visible),
    .row-3:not(.visible),
    .row-4:not(.visible) {
        pointer-events: all;
        user-select: auto;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    #pricesFormHeader h1 {
        font-size: 2rem;
    }
}
