header {
  background-color: #a66a75;
}

body {
  background-color: #d9cdb8;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #bf8173;
  font-family: "above-the-beyond", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.simple-header {
  color: #bf8173;
  padding: 1rem;
  text-align: center;
  font-family: "fabiola-capitals", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
}

.full-width-banner {
  width: 100%;
  height: auto;
  display: block;
}


/* Custom navbar background and text color */
.navbar-custom {
  background-color: #8c4a63;
  font-family: "fabiola-capitals", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
  Padding: 0.5rem 1rem;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
.navbar-custom .navbar-toggler-icon {
  color: #d9cdb8;
  align-items: center;
}

.navbar-custom .nav-link:hover {
  color: #ffd7a0;
  /* Light gold on hover */
}

.navbar-toggler .fa-bars {
  font-size: 1.5rem;
  color: #d9cdb8;
  pointer-events: none;

}

.divider {
  background-color: #a66a75;
  border-radius: 8px;
  height: 25px;
  object-fit: cover;
}

.section {
  padding-bottom: 2rem;
}

.text-dark {
  font-family: "fabiola-capitals", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
  color: #8c4a63 !important;
}

/* Custom buttons */
.btn-custom {
  background-color: #bf8173 !important;
  color: #d9cdb8 !important;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
}

.btn-custom:hover {
  background-color: #a66a75 !important;
  color: #d9cdb8 !important;
}

/* Product image styling */
.product-image {
  height: 200px;
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 0.375rem 0.375rem 0 0; /* Rounded top corners to match card */
}

/* Carousel styling */
#productCarousel {
  background-color: #bf817360;
  border-radius: 8px;
}

.carousel-caption {
  background-color: #8c4a63e8 !important;
  color: #d9cdb8 !important;
}

.carousel-caption h5 {
  color: #d9cdb8 !important;
  font-family: "fabiola-capitals", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
}

.carousel-img {
  max-height: 600px;
  object-fit: scale-down;
  padding: 0.5rem;
}

/* Footer */
#footer {
  background-color: #bf8173;
  color: #d9cdb8;
  padding: 1rem;
  text-align: left;
  margin-top: 2rem;

}

/* Custom about section */
#aboutsection {
  background-color: #bf817360;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.card {
  border-color: #bf8173 !important;
}

.card-title {
  color: #bf8173 !important;
  font-family: "fabiola-capitals", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
}

/* Template Styles */

.controls {
  max-width: 400px;
  margin: auto;
  text-align: left;
}

.controls label {
  display: block;
  font-weight: bold;
  margin-top: 10px;
}

input {
  width: 100%;
  padding: 6px;
  font-size: 14px;
  margin-bottom: 5px;
}

button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #0073e6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.canvas-container {
  position: relative;
  display: inline-block;
  margin-top: 20px;
}

#canvas-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 5 / 7;
  /* Keeps 5x7 ratio */
  margin: 0 auto;
  /* center it */
  overflow: hidden;
  /* ensures placeholders stay inside */
}

#rsvp-canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1.41 / 1;
  /* Matches 148mm x 105mm ratio */
  margin: 0 auto;
  overflow: hidden;
}

#rsvp {
  font-family: "the-seasons", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 3.5vw, 16px);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  color: #6686af;
  text-align: center;
}

#template {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder {
  position: absolute;
  cursor: move;
  display: inline-block;
  transform: translate(0, 0);
  background: rgba(255, 255, 255, 0.2);
  border: 1px dashed rgba(0, 0, 0, 0.3);
  width: max-content;
}

.centered {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

/* Responsive Positions (converted to %) */
#invitation {
  font-family: "the-seasons", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(12px, 3.5vw, 16px);
  top: 22.4%;
  left: 15%;
}

#names {
  font-family: "above-the-beyond", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 5vw, 40px);
  top: 31.7%;
}

#invitation-text {
  font-family: "the-seasons", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 3.5vw, 16px);
  top: 45.4%;
}

#date {
  font-family: "the-seasons", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 3.5vw, 18px);
  top: 53.5%;
  white-space: pre-wrap;
  text-align: center;
}

#venue {
  font-family: "the-seasons", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 3.5vw, 16px);
  top: 64.2%;
  white-space: pre-wrap;
  text-align: center;
}

#reception {
  font-family: "above-the-beyond", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 4vw, 20px);
  top: 85.7%;
  left: 50%;
  color: #2e5d8e;
}


/* Small screens */
@media (max-width: 768px) {
  .carousel-caption {
    position: static;
    background-color: #8c4a63e8 !important;
    color: #d9cdb8 !important;
    text-align: center;
    padding: 1rem;
  }

  .carousel-caption a.btn {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .section {
    padding-bottom: 2rem;

    #canvas-container {
      max-width: 90vw;
      /* take almost full screen width */
    }

    .placeholder {
      cursor: default !important;
      border: none;
      /* hides dashed border on mobile */
    }
  }


}