/* ==== COLOR PALETTE ==== */
.bg-warm-indigo { background-color: #1A203D; } /* Vocarian Plum */
.bg-golden-sand { background-color: #E3CDA4; }
.bg-terracotta { background-color: #C16452; }
.bg-warm-ivory { background-color: #FDF7EF; }
.bg-sand { background-color: #FFFDF7; }

.text-slate { color: #5C4C5C; }

/* ==== BUTTON STYLES ==== */
.btn-terracotta {
  background-color: #8C4F3A;
  color: white;
  border: none;
}
.btn-terracotta:hover {
  background-color: #733E2E;
}
.btn-light {
  background-color: #fff;
  color: #C16452;
  border: 1px solid #fff;
}

/* ==== GLOBAL ==== */
body {
  margin: 0 !important;
  padding: 0 !important;
}
header, .site-header, #main-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
footer {
  font-size: 15px;
  letter-spacing: 0.3px;
}
footer a:hover {
  color: #E3CDA4;
  text-decoration: underline;
}
i {
  color: #C16452;
  opacity: 0.9;
}

/* === FLIP CARD STYLES === */
.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 500px;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
  border-radius: 12px;
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

/* FRONT */
.flip-card-front {
  background: white;
  z-index: 2;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BACK */
.flip-card-back {
  background-color: #003E7E;
  color: white;
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}
