﻿.header {
  position: relative;
  background: url("/images/Sacramento.jpeg") center/cover no-repeat;
  height: 300px; /* Adjust the height as needed */
  color: #fff; /* Text color on top of the background image */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust the overlay color and transparency as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
}

@media (max-width: 600px) {
  .overlay {
    font-size: 20px;
  }
}

/* Custom CSS for rounded corners on top of the square */
.square {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
/* Custom CSS for equal height columns using flexbox */
.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}

.col-eq-height {
  display: flex;
  flex-direction: column;
}


  .col-eq-height .square {
    flex-grow: 1;
  }





/* Custom CSS for "Most Popular" box */
.most-popular {
  background-color: #ce2029;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Custom CSS for description boxes */
.description-box {
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Align content to bottom */
  padding: 10px; /* Add padding to the description box */
}

/* Custom CSS for order buttons */
.order-btn {
  margin-top: auto;
}

  .order-btn a {
    background-color: transparent;
    color: #012768;
    border: 2px solid #012768; /* Add border style with the desired color */
    transition: background-color 0.3s, color 0.3s; /* Optional: add transition effect */
  }

    .order-btn a:hover {
      background-color: #012768;
      color: #fff;
    }

.accordion {
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem #012768;
}
/* Custom CSS for the rotated "Sale" tag */
.square {
  position: relative;
}

  .square.sale-item::before {
    content: "Save";
    position: absolute;
    top: 40px; /* Adjust the top position as needed */
    left: 10px; /* Adjust the left position as needed */
    background-color: #db861e;
    color: #fff;
    padding: 5px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-45deg); /* Rotate the tag */
    transform-origin: left top; /* Set the rotation origin to the top-left corner */
  }

  .square.rush-item::before {
    content: "Budget";
    position: absolute;
    top: 40px; /* Adjust the top position as needed */
    left: 10px; /* Adjust the left position as needed */
    background-color: #18077d;
    color: #fff;
    padding: 5px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-45deg); /* Rotate the tag */
    transform-origin: left top; /* Set the rotation origin to the top-left corner */
  }

.nav-link, .navbar-brand {
  color: white !important;
}

.navbar-toggler {
  color: white !important;
}

.navbar-toggler-icon {
  background-color: white !important;
}

.navbar-nav, .nav-link, .btn {
  padding-left: 20px; /* Adjust the value as needed */
}

.btn-with-icon {
  display: flex;
  align-items: center;
}

  .btn-with-icon svg {
    margin-right: 5px; /* Adjust the margin as needed */
  }

.image-container {
  position: relative;
  display: inline-block; /* Ensures the container only takes the space of the image */
}

.image {
  max-width: 100%; /* Ensure the image does not exceed the container width */
  height: auto; /* Maintain aspect ratio */
}

.bottom-left-button::before {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 10px; /* Adjust margin as needed */
}

.text-justify {
  text-align: justify;
}

.square {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distributes space evenly */
  height: 100%; /* Ensures equal height */
}

.description-box {
  min-height: 50px; /* Adjust based on your longest text */
}

.order-btn {
  margin-top: auto; /* Pushes the button section to align at the bottom */
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

  /* REMOVE any .hover-based transform rules */
  .flip-card-inner.flipped {
    transform: rotateY(180deg);
  }


.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.flip-card-front {
  background: white;
  z-index: 2;
}

.flip-card-back {
  background: #f8f9fa;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  .flip-card-back img {
    max-width: 80%;
    height: auto;
  }

.caption {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: bold;
}

.flip-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.2rem;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.flip-card-front:hover .flip-hint {
  transform: rotate(20deg) scale(1.2);
  opacity: 1;
}

.flip-card-front {
  position: relative;
}

.coupon {
  border: 5px dashed #bbb;
  border-radius: 15px;
  width: 80%;
  margin: 0 auto;
  max-width: 600px;
}

.container {
  padding: 2px 16px;
}

.promo {
  background: #ccc;
  padding: 3px;
}

.expire {
  color: red;
}

.coupon-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px; /* space between image and text */
  text-align: left;
}

.coupon-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%; /* ensures it's round */
  object-fit: cover;
}

.coupon-text {
  flex: 1;
}
