﻿/* Custom CSS for background image */
.header {
  position: relative;
  background: url('../images/walnutcreek.jpeg') center/cover no-repeat;
  background-attachment: fixed;
  background-position: 100px,50px;
  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;
}


.square {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.description-box,
p {
  /* Optional: allow them to shrink if needed */
  flex-shrink: 0;
}

.order-btn {
  margin-top: auto; /* push this section to the bottom */
}


/* 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 */
}


.order-btn button {
  background-color: transparent;
  color: #ce2029;
  border: 2px solid #ce2029; /* Add border style with the desired color */
  transition: background-color 0.3s, color 0.3s; /* Optional: add transition effect */
}

  .order-btn button:hover {
    background-color: #ce2029;
    color: #fff;
  }

.accordion {
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem #ce2029;
}
/* 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: "Fastest";
    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 */
  }

  .btn-contact{
    padding-left: 10px !important;
  }
