/* ---------- Card Flip Base ---------- */

.gallery-card {
    width: 360px;
    height: 620px;
    position: relative;
    perspective: 1200px;
}

.gallery-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: transform .8s ease;
    transform-style: preserve-3d;
}

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

.gallery-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

/* ---------- FRONT ---------- */
.front {
    background: #064e3b;
    border: 1px solid #0f5d45;
    display: flex;
    flex-direction: column;
}

/* ---------- BACK ---------- */
.back {
    background: #064e3b;
    border: 1px solid #0f5d45;
    transform: rotateY(180deg);
    padding: 30px;
    color: #fef3c7;
}

/* ---------- SLIDER ---------- */
.slider-container {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    border: none;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

#prevSlide { left: 10px; }
#nextSlide { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.active-dot {
    background: white;
}

/* ---------- Buttons ---------- */
.btn{
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    border: none !important;
    margin-top: 14px;
}

.book-btn {
    background: #d97706;
    color: white;
}

.book-btn:hover {
    background: #f59e0b;
}

.details-btn {
    width: 100%;
    background: rgba(255,255,255,0.15);
    color: #fef3c7;
    border: none !important;
}

.details-btn:hover {
    background: rgba(255,255,255,0.25);
}

.card-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.back-btn {
    width: 100%;
    background: transparent;
    color: #fef3c7;
    margin-top: 25px;
    border: none !important;
}

.card-price{
    width: 100%;
}

.back-btn{
    width: 100%;
}


.gallery-face ul li{
    text-decoration: none;
    list-style: none;
}

.button-padding {
    padding: 30px 0 0 0;
}

.gallery-face.back ul li {
    padding: 8px !important;
    margin-left: -47px !important;
    margin-top: 13px !important;
}

.button-padding {
    margin-left: -50px !important;
    padding-top: 195px !important;
}