body {
    font-family: Arial, sans-serif;
    background-color: #ffccf2;
    margin: 0;
    padding: 0;
}

header {
    background-color: #d63384; /* Light peach color */
    padding: 20px;
    text-align: center;
}

h1 {
    color: #ffffff; /* Darker peach for the header */
}

nav {
    margin-top: 15px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #ffabdd;
}

nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

main {
    padding: 20px;
}

.reviews {
    margin: 20px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between cards */
}

.flip-card {
    background-color: transparent;
    perspective: 1000px; /* Add perspective */
}

.flip-card-inner {
    position: relative;
    width: 400px;
    height: 400px; /* Set height for the flip card */
    transition: transform 0.6s;
    transform-style: preserve-3d; /* Preserve 3D space */
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg); /* Flip on hover */
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide back face when flipped */
}

.flip-card-front {
    background-color: #f3a4c4;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.flip-card-front img {
    max-width: 100%; /* Responsive images */
    border-radius: 8px;
}

.flip-card-back {
    background-color: #ffccbc; /* Light peach for back */
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border: 1px solid #edc6d1;
    border-radius: 8px;
    transform: rotateY(180deg); /* Initially hide the back */
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #d63384;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}
