/* public/css/style.css */
body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 400px; /* Adjust as needed */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0.375rem; /* Bootstrap card radius */
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.flip-card-front {
    background-color: #fff;
    color: black;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay title on front image */
.flip-card-front .service-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Black see-through */
    color: #f1f1f1;
    padding: 10px;
    font-size: 1.25rem;
    font-weight: bold;
}

.flip-card-back {
    background-color: #fff;
    color: black;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
