/* FONT SETUP - Assumes fonts are in a sibling 'assets' folder */
@font-face {
  font-family: "Karl";
  src: url("../assets/AmsterdamSignature-PKO4P.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marx";
  src: url("../assets/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --c-gold: #b5986d;
  --c-dark-text: #5f5f5f;
  --c-light-text: #888;
  --font-script: "Karl", cursive;
  --font-body: "Marx", sans-serif;
}

/* MAIN CARD CONTAINER */
.idc-card {
  font-family: var(--font-body);
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 2rem auto;
  background-color: #ffffff;
  color: var(--c-dark-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  overflow: hidden; /* Important for clipping decorations */
}

/* CONTENT WRAPPER */
.idc-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 85px 30px 120px 30px; /* Top for garlands, bottom for gifts */
}

/* DECORATIVE ELEMENTS */
/* Garlands */
.idc-garlands-container {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  display: flex;
  padding-top: 20px;
  z-index: 20;
  pointer-events: none;
}

.idc-garlands-container img {
  flex-grow: 1;
  min-width: 0;
  height: auto;
  max-width: 100%;
}

/* Balloons */
.idc-balloons-left,
.idc-balloons-right {
  position: absolute;
  top: 150px;
  width: 120px;
  height: 250px;
  z-index: 5;
  pointer-events: none;
}

.idc-balloons-left {
  left: 0px;
}

.idc-balloons-right {
  right: 0px;
}

.idc-balloon {
  position: absolute;
  width: 60px;
}

.idc-balloons-left .b1 {
  top: 0;
  left: 40px;
}

.idc-balloons-left .b2 {
  top: 60px;
  left: 0;
}

.idc-balloons-left .b3 {
  top: 120px;
  left: 30px;
}

.idc-balloons-right .b1 {
  top: 0;
  right: 40px;
}

.idc-balloons-right .b2 {
  top: 60px;
  right: 0;
}

.idc-balloons-right .b3 {
  top: 120px;
  right: 30px;
}

/* Gifts */
.idc-gifts-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 25;
  pointer-events: none;
}

.idc-gift {
  position: relative;
  bottom: -30px;
  height: 80px;
  margin: 0 -15px;
}

.idc-gift.mirrored {
  transform: scaleX(-1);
}

.idc-gift:nth-child(2) {
  height: 100px;
  bottom: -40px;
  z-index: 3;
}

.idc-gift:nth-child(3) {
  z-index: 2;
}

.idc-gift:nth-child(4) {
  height: 105px;
  bottom: -45px;
  z-index: 4;
}

.idc-brand-logo {
  height: 35px;
  width: 35px;
  margin-bottom: 12px;
}

.idc-invite-text {
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  color: var(--c-light-text);
}

.idc-small-title {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--c-gold);
  margin: 0 0 1.3rem 0; /* Negative margin to pull main title closer */
  line-height: 1;
}

.idc-main-title {
  font-family: var(--font-script);
  font-size: 7rem;
  color: var(--c-gold);
  line-height: 0.7; /* Tightens the line height for the effect */
  margin: 0;
  margin-bottom: 4rem;
}

.idc-main-title span {
  display: inline-block; /* Allows transform to work */
}

.idc-main-title span:first-child {
  transform: translateY(-15px); /* Moves "Sarah" up */
}

.idc-main-title span:last-child {
  transform: translateY(15px); /* Moves "Smith" down */
}

/* QR CODE and FOOTER */
.idc-qr-container {
  width: 120px;
  /* MODIFIED: Increased top margin for a considerable gap */
  margin: 45px auto 12px auto;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 15;
}

.idc-qr-container .idc-qrcode-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: white;
  padding: 0;
  border-radius: 12px;
  display: grid;
  place-content: center;
  border: 1px solid #eee;
}

.idc-qr-container .idc-qrcode-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.idc-qr-container .idc-qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  aspect-ratio: 1/1;
  background: white;
  border-radius: 10px;
}

.idc-footer,
.idc-footer-cc {
  font-size: 14px;
  color: var(--c-dark-text);
  max-width: 280px;
  text-align: center;
  margin: 0 auto;
  font-family: var(--font-body);
  position: relative;
  z-index: 15;
}

.idc-footer {
  margin-top: 8px;
  margin-bottom: 0;
}

.idc-footer-cc {
  margin-top: 24px;
  color: #666;
}

.idc-footer-cc span {
  font-weight: 600;
  color: #3e3e3e;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 480px) {
  .idc-card {
    max-width: 90%;
    margin: 20px auto;
    border-radius: 15px;
  }
  .idc-content-wrapper {
    padding: 80px 15px 120px 15px;
  }
  .idc-main-title {
    font-size: 5rem;
  }
  .idc-small-title {
    font-size: 2.2rem;
  }
  .idc-balloons-left,
  .idc-balloons-right {
    width: 90px;
  }
  .idc-balloons-left {
    left: 0px;
  }
  .idc-balloons-right {
    right: 0px;
  }
  .idc-balloon {
    width: 50px;
  }
  .idc-balloons-left .b2,
  .idc-balloons-right .b2 {
    top: 50px;
  }
  .idc-balloons-left .b3,
  .idc-balloons-right .b3 {
    top: 100px;
  }
  .idc-gift {
    height: 60px;
    bottom: -20px;
    margin: 0 -10px;
  }
  .idc-gift:nth-child(2) {
    height: 80px;
    bottom: -30px;
  }
  .idc-gift:nth-child(4) {
    height: 85px;
    bottom: -35px;
  }
}
@media (max-width: 380px) {
  .idc-main-title {
    font-size: 5rem;
  }
  .idc-small-title {
    font-size: 1.8rem;
  }
  .idc-main-title span:first-child {
    transform: translateY(-10px);
  }
  .idc-main-title span:last-child {
    transform: translateY(10px);
  }
}
:root {
  --c-gold: #b5986d;
  --c-dark-text: #5f5f5f;
  --c-light-text: #888;
  --font-script: "AmsterdamSignature", cursive;
  --font-body: "CormorantGaramond", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#mainCanvas {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: #ffffff;
  font-family: var(--font-body);
  color: var(--c-dark-text);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
.ict-garlands-container {
  position: fixed;
  top: -5%;
  left: 0;
  width: 100%;
  display: flex;
  padding-top: 20px;
  z-index: 20;
}

.ict-garlands-container img {
  flex-grow: 1;
  min-width: 0;
  height: auto;
  max-width: 100%;
}

.ict-balloons-left,
.ict-balloons-right {
  position: fixed;
  transform: translateY(-50%);
  width: 250px;
  height: 400px;
  z-index: 5;
  animation: float 8s ease-in-out infinite;
}

.ict-balloons-left {
  left: 1vw;
}

.ict-balloons-right {
  right: 1vw;
}

.ict-balloon {
  position: absolute;
  width: 90px;
}

.ict-balloons-left .ict-b1 {
  top: 0;
  left: 60px;
}

.ict-balloons-left .ict-b2 {
  top: 80px;
  left: 0;
}

.ict-balloons-left .ict-b3 {
  top: 160px;
  left: 50px;
}

.ict-balloons-left .ict-b4 {
  top: 240px;
  left: 10px;
}

.ict-balloons-right .ict-b1 {
  top: 0;
  right: 60px;
}

.ict-balloons-right .ict-b2 {
  top: 80px;
  right: 0;
}

.ict-balloons-right .ict-b3 {
  top: 160px;
  right: 50px;
}

.ict-balloons-right .ict-b4 {
  top: 240px;
  right: 10px;
}

.ict-gifts-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 25;
}

.ict-gift {
  position: relative;
  bottom: -40px;
  height: 100px;
  margin: 0 -20px;
  opacity: 0;
}

.ict-gift.ict-mirrored {
  transform: scaleX(-1);
}

.ict-gift.ict-mirrored:hover {
  transform: scaleX(-1) translateY(-10px);
}

.ict-gift:nth-child(1) {
  z-index: 1;
}

.ict-gift:nth-child(2) {
  height: 120px;
  bottom: -50px;
  z-index: 3;
}

.ict-gift:nth-child(3) {
  z-index: 2;
}

.ict-gift:nth-child(4) {
  height: 130px;
  bottom: -60px;
  z-index: 4;
}

.ict-gift:nth-child(6) {
  height: 110px;
  bottom: -45px;
}

.ict-gift:hover {
  transform: translateY(-10px);
  transition: transform 0.3s;
}

.ict-invitation-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 500px;
  width: 100%;
  padding: 0 20px;
}

.ict-invite-text {
  letter-spacing: 2px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.ict-small-title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--c-gold);
  margin: 0 0 0.2rem;
  line-height: 1;
}

.ict-main-title {
  font-family: var(--font-script);
  font-size: 7rem;
  color: var(--c-gold);
  line-height: 0.8;
  margin: 0;
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
}

.ict-details-section {
  margin-top: 1.5rem;
}

.ict-month {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.ict-date-time-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.ict-date-time-info .ict-date {
  font-size: 2.8rem;
  font-weight: 700;
  padding: 0px 1rem;
  border-right: 1px solid black;
  border-left: 1px solid black;
  transform: translate(5px, 0px);
}

.ict-location-info,
.ict-rsvp-info {
  margin-top: 1rem;
  font-size: 1.2rem; /* Increased from 1rem */
  color: var(--c-light-text);
}

.action-buttons-container {
  position: relative; /* Changed from fixed */
  margin-top: 1.5rem; /* Added margin to space from address */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 10;
}
.action-buttons-container button {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: var(--font-body);
  opacity: 0; /* Start hidden for animation */
  transform: translateY(20px); /* Start offset for animation */
}
.action-buttons-container button:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.rsvp-button {
  background-color: var(--c-gold);
  color: #fff;
  padding: 10px 24px; /* Reduced from 12px 30px to make less thick */
  border-radius: 50px;
  font-weight: 600; /* Reduced from 700 */
  font-size: 0.95rem; /* Slightly smaller */
  letter-spacing: 1px;
  text-transform: uppercase;
  order: 2; /* Place second */
}

.location-button {
  width: 50px; /* Reduced from 55px */
  height: 50px; /* Reduced from 55px */
  border-radius: 50%;
  background-color: #fff;
  color: var(--c-gold);
  font-size: 1.3rem; /* Reduced from 1.5rem */
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--c-gold);
  order: 1; /* Place first */
}

@media (max-width: 992px) {
  .ict-main-title {
    font-size: 6.5rem;
  }
  .ict-balloons-left,
  .ict-balloons-right {
    width: 200px;
  }
  .ict-balloon {
    width: 80px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ict-invitation-content {
    max-width: 600px;
  }
  .ict-invite-text {
    font-size: 1.3rem;
  }
  .ict-main-title {
    font-size: 8rem;
  }
  .ict-month {
    font-size: 1.4rem;
  }
  .ict-date-time-info {
    font-size: 1.2rem;
  }
  .ict-date-time-info .ict-date {
    font-size: 3rem;
  }
  .ict-location-info,
  .ict-rsvp-info {
    font-size: 1.3rem; /* Updated to match new base size */
  }
}
@media (max-width: 1024px) {
  .ict-garlands-container {
    top: -3%;
  }
}
@media (max-width: 992px) {
  .ict-main-title {
    font-size: 6.5rem;
  }
  .ict-balloons-left,
  .ict-balloons-right {
    width: 200px;
  }
  .ict-balloon {
    width: 80px;
  }
}
@media (max-width: 768px) {
  .ict-invite-text {
    font-size: 1rem;
  }
  .ict-balloons-left,
  .ict-balloons-right {
    width: 150px;
    height: 300px;
  }
  .ict-balloon {
    width: 65px;
  }
  .ict-balloons-left .ict-b2,
  .ict-balloons-right .ict-b2 {
    top: 70px;
  }
  .ict-balloons-left .ict-b3,
  .ict-balloons-right .ict-b3 {
    top: 140px;
  }
  .ict-gifts-container {
    height: 110px;
  }
  .ict-gift {
    height: 90px;
    bottom: -35px;
    margin: 0 -15px;
  }
  .ict-gift:nth-child(2) {
    height: 110px;
    bottom: -45px;
  }
  .ict-gift:nth-child(4) {
    height: 115px;
    bottom: -50px;
  }
  .ict-gift:nth-child(6) {
    height: 105px;
    bottom: -40px;
  }
}
@media (max-width: 576px) {
  .ict-main-title {
    font-size: 5.2rem;
  }
  .ict-invite-text {
    font-size: 0.9rem;
  }
  .ict-small-title {
    font-size: 2.5rem;
  }
  .ict-month {
    font-size: 1.1rem;
  }
  .ict-date-time-info {
    font-size: 1rem;
  }
  .ict-date-time-info .ict-date {
    font-size: 1.6rem;
  }
  .ict-location-info,
  .ict-rsvp-info {
    font-size: 1rem; /* Updated to match new responsive sizing */
  }
  /* Adjust button sizes for mobile */
  .action-buttons-container {
    gap: 12px;
    margin-top: 1.2rem;
  }
  .rsvp-button {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .location-button {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  .ict-balloons-left {
    left: -10px;
  }
  .ict-balloons-left img:nth-child(2) {
    transform: translate(20px, 0);
  }
  .ict-balloons-right {
    right: -10px;
  }
  .ict-balloons-right img:nth-child(2) {
    transform: translate(-20px, 0);
  }
  .ict-balloon {
    width: 55px;
  }
  .ict-gifts-container {
    height: 100px;
  }
  .ict-gift {
    height: 75px;
    bottom: -30px;
    margin: 0 -20px;
  }
  .ict-gift:nth-child(2) {
    height: 95px;
    bottom: -35px;
  }
  .ict-gift:nth-child(4) {
    height: 100px;
    bottom: -40px;
  }
  .ict-gift:nth-child(6) {
    height: 85px;
    bottom: -32px;
  }
}
@media (max-width: 380px) {
  .ict-main-title {
    font-size: 3.8rem;
  }
  .ict-balloons-left,
  .ict-balloons-right {
    width: 110px;
  }
  .ict-balloons-left {
    left: -15px;
  }
  .ict-balloons-right {
    right: -15px;
  }
  .ict-balloon {
    width: 40px;
  }
  .ict-balloons-left .ict-b1 {
    left: 40px;
  }
  .ict-balloons-left .ict-b2 {
    top: 50px;
    left: 0;
  }
  .ict-balloons-left .ict-b3 {
    top: 100px;
    left: 35px;
  }
  .ict-balloons-right .ict-b1 {
    right: 40px;
  }
  .ict-balloons-right .ict-b2 {
    top: 50px;
    right: 0;
  }
  .ict-balloons-right .ict-b3 {
    top: 100px;
    right: 35px;
  }
}
/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body,
html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/*# sourceMappingURL=theme.css.map */
