:root {
  --red: #ed4330;
  --orange: #f79f54;
  --purple: #d19bc1;
  --white-trans: rgba(255,255,255,0.85);
}

/* Base */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #212529;
}

/* Header underline */
.header-red {
  border-bottom: 5px solid var(--red);
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
}
.btn-red {
  background: var(--red);
  border: 2px solid var(--red);
  color: #fff;
}
.btn-red:hover {
  background: #c3301f;
  border-color: #c3301f;
}
.btn-outline-red {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}
/* Only change on hover */
.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}
/* Fix: do not change on focus or active */
.btn-outline-red:focus,
.btn-outline-red:active,
.btn-outline-red:focus:not(:hover),
.btn-outline-red:active:not(:hover) {
  background: transparent !important;
  color: var(--red) !important;
  box-shadow: none !important;
}

/* Hero */
.hero {
  height: 90vh;
  background: url('../images/hero2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-box {
  background: rgba(255, 255, 255, 0.1); /* lighter background */
  padding: 0.5rem 0.5rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 700px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); /* softer shadow */
  backdrop-filter: blur(6px); /* subtle frosted effect */
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding-bottom: 5rem;
}


.hero-box h1 {
  font-size: 3rem;
  font-weight: 600;
}
.hero-box p {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}
.custom-hero-spacing {
  margin-bottom: 20vh; /* increase or decrease as needed */
}

@media (max-width: 768px) {
  .custom-hero-spacing {
    margin-bottom: 0vh; /* reduce bottom spacing on mobile */
  }
}

/* Section backgrounds */
.bg-orange-light {
  background: #fff6f3;
}

/* Cards */
.card-price {
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Form outlines */
input, select, textarea {
  outline: 1px solid #ccc;
}

/* Tables */
.cart-table th, .cart-table td {
  vertical-align: middle;
}

/* FAQ Accordion */
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--orange);
}
.accordion-button {
  background: #fff;
  color: #212529;
  font-weight: 600;
  padding: 1rem 1.25rem;
}
.accordion-button:not(.collapsed) {
  background: var(--red);
  color: #fff;
}
.accordion-button:not(.collapsed)::after {
  filter: invert(100%);
}
.accordion-body {
  background: var(--purple);
  color: #fff;
  padding: 1rem 1.25rem;
}


/* Footer */
.footer {
  background: var(--purple);
}
.footer a {
  text-decoration: underline;
}
.footer a:hover {
  color: #ffffffcc;
}

/* Center mobile menu */
@media (max-width: 991.98px) {
  #navMenu .navbar-nav {
    justify-content: center;
  }
}

/* Ensure outline-red never changes on focus or active */
.btn.btn-outline-red:focus,
.btn.btn-outline-red:active,
.btn.btn-outline-red:focus-visible,
.btn.btn-outline-red:active:focus,
.btn.btn-outline-red:active:focus-visible {
  background-color: transparent !important;
  color: var(--red) !important;
  border-color: var(--red) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Only hover changes */
.btn.btn-outline-red:hover {
  background-color: var(--red) !important;
  color: #fff !important;
}

/* Remove default focus outline and box-shadow on outline-red buttons */
.btn-outline-red:focus,
.btn-outline-red:focus-visible,
.btn-outline-red:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Keep the hover effect intact */
.btn-outline-red:hover {
  background-color: var(--red) !important;
  color: #fff !important;
}


/* Maintain a consistent 4:3 (or whatever) ratio */
.card-img-container {
  position: relative;
  width: 100%;
  /* 4:3 aspect ratio = height is 75% of width */
  padding-top: 100%;
  overflow: hidden;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.card-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* In css/styles.css, at the bottom */

.card {
  display: flex;
  flex-direction: column;
}

.card-img-container {
  flex-shrink: 0; /* don’t let image containers grow/shrink unevenly */
}

.card-body {
  flex-grow: 1;           /* make all bodies take up remaining space equally */
  display: flex;
  flex-direction: column;
}

.card-body h5 {
  margin-bottom: 0.5rem;
}

.card-body p {
  flex-grow: 1;           /* push button (or bottom) to the bottom if you have one */
}

