@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@400;700&family=Alex+Brush&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Sacramento&family=Six+Caps&display=swap");
/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Lato:wght@300;400&display=swap");
/* Ensure the page container allows normal scrolling */
body {
  overflow-y: auto !important;
  height: auto !important;
}

.invitationCard {
  width: 100%;
  max-width: 420px;
  position: relative;
  border-radius: 15px;
  padding: 60px 20px 60px 20px;
  margin: 5vh auto;
  max-height: auto;
  overflow: hidden;
  text-align: center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.invitationCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.24;
  z-index: 0;
}
.invitationCard .brand-logo {
  height: 42px;
  width: 42px;
  margin-top: 0;
  margin-bottom: 15px; /* Reduced from 24px */
  z-index: 1;
}
.invitationCard h1 {
  font-size: 30px;
  font-weight: 500;
  color: #8b6f47;
  font-family: "Sacramento", cursive;
  z-index: 1;
  margin-bottom: 5px; /* Added to reduce gap */
}
.invitationCard .idc-invite-text {
  font-size: 14px;
  color: #604942;
  margin: 5px auto 15px auto; /* Reduced margins */
  letter-spacing: -0.5px;
  font-family: "Poppins", sans-serif;
  max-width: 250px;
  padding: 0;
  text-align: center;
  z-index: 1;
}
.invitationCard .idc-leaf-left,
.invitationCard .idc-leaf-right {
  width: 13vh;
  height: 25vh;
  background: url("../assets/2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  rotate: 90deg;
}
.invitationCard .idc-leaf-right {
  transform: scaleX(-1);
}
.invitationCard .idc-names-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  flex-direction: column;
  margin: 10px 0; /* Added margin to control spacing */
}
.invitationCard .idc-monogram {
  font-size: 12vh; /* Reduced from 16vh */
  margin: 0;
  margin-left: -1.5vh;
  display: flex;
  justify-content: center;
  gap: 8px; /* Reduced from 10px */
  font-family: "duende";
  color: #8b6f47;
}
.invitationCard .idc-monogram .idc-G {
  display: inline-block;
  transform: translateY(12px); /* Reduced from 15px */
}
.invitationCard .idc-names {
  font-size: 24px;
  color: #8b6f47;
  font-family: "chiffon", cursive;
  white-space: nowrap;
  z-index: 1;
  display: grid; /* Changed from flex */
  grid-template-columns: 1fr auto 1fr; /* Added */
  align-items: center; /* Kept */
  gap: 15px; /* Kept */
}
.invitationCard .idc-names > span {
  white-space: nowrap;
}
.invitationCard .idc-names > span:nth-child(1) {
  /* This targets the first name (e.g., "Miley") */
  justify-self: end; /* Aligns the span to the right end of its grid column */
  text-align: right; /* Aligns text within the span to the right */
}
.invitationCard .idc-names > span:nth-child(2) {
  /* This targets the separator (e.g., "|") */
  justify-self: center; /* Aligns the span to the center of its grid column */
}
.invitationCard .idc-names > span:nth-child(3) {
  /* This targets the second name (e.g., "George") */
  justify-self: start; /* Aligns the span to the left start of its grid column */
  text-align: left; /* Aligns text within the span to the left */
}
.invitationCard .idc-names-content {
  text-align: center;
  flex-shrink: 0;
  margin-top: -5vh !important; /* Reduced from -8vh */
}
.invitationCard span.and {
  font-size: 32px;
  color: #c8a489 !important;
  white-space: nowrap;
  font-size: clamp(12px, 5vw, 24px);
  z-index: 1;
}
.invitationCard .qr-container {
  width: 100%;
  max-width: 120px;
  margin: 15px auto 8px auto; /* Reduced margins */
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.invitationCard .qr-container .qrcode-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: white;
  padding: 0;
  border-radius: 12px;
  display: grid;
  place-content: center;
}
.invitationCard .qr-container .qrcode-box img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.invitationCard .qr-container .qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  aspect-ratio: 1/1;
  padding: 0;
  background: white;
  border-radius: 10px;
}
.invitationCard .footer,
.invitationCard .footer-cc {
  font-size: 2vh;
  color: #604942;
  max-width: 280px;
  text-align: center;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  z-index: 1;
}
.invitationCard .footer {
  margin-top: 5px; /* Reduced from 8px */
  margin-bottom: 0;
}
.invitationCard .footer-cc {
  margin-top: 15px; /* Reduced from 24px */
  color: #666;
}
.invitationCard .footer-cc span {
  font-size: 14px;
  font-weight: 600;
  color: #3e3e3e;
}

/* Media Queries */
@media (max-width: 480px) {
  .invitationCard {
    width: 90%;
    padding: 25px 15px 30px 15px; /* Kept the reduced padding */
  }
}
/* Tablet styles */
@media (min-width: 481px) and (max-width: 767px) {
  .invitationCard {
    width: 90%;
  }
}
/* iPad Air and iPad Pro specific styles */
@media (min-width: 820px) and (max-width: 1024px) {
  .invitationCard .idc-monogram {
    font-size: 13vh; /* Reduced from 16vh */
  }
  .invitationCard .idc-leaf-left,
  .invitationCard .idc-leaf-right {
    width: 9vh;
    height: 15vh;
  }
  .invitationCard .idc-names-content {
    margin-top: -3vh !important;
  }
}
/* iPad Air specific adjustments */
@media (min-width: 820px) and (max-width: 919px) {
  .invitationCard .idc-monogram {
    font-size: 12vh;
  }
}
#mainCanvas {
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Ensure it takes full viewport height */
  overflow: hidden; /* Crucial for containing absolute sections */
  font-family: "chiffon", sans-serif; /* Default font for canvas */
  color: #8b6f47; /* Default text color */
  position: relative; /* For z-index context of ::before */
  /* display: flex, align-items, justify-content, padding are moved to .scroll-section */
}
#mainCanvas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.scroll-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px; /* This padding is now per section */
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* For GSAP autoAlpha */
  text-align: center; /* Default text alignment for section content */
  /* Ensure child elements don't overflow their section */
}
.scroll-section > div {
  max-width: 100%;
}

.ceremony-title {
  font-family: "chiffon", sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8b6f47;
  text-align: center;
}

.names-section {
  position: relative;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

.names-content {
  text-align: center;
  flex-shrink: 0;
}

.leaf-left,
.leaf-right {
  width: 13vh;
  height: 25vh;
  background: url("../assets/2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.leaf-right {
  transform: scaleX(-1);
}

.monogram {
  font-family: "duende", serif;
  font-style: italic;
  font-size: 20vh;
  font-weight: 400;
  color: #8b6f47;
  margin: 10vh 0;
  line-height: 0.8;
}

.ict-G {
  display: inline-block;
  transform: translateY(25px);
}

.names {
  font-family: "chiffon", sans-serif;
  font-size: 6vh;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #8b6f47;
  margin-bottom: 0;
}

.date-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 50px 0;
  width: 50%;
  max-width: 500px;
}

.date-left,
.date-right {
  flex: 1;
  font-family: "chiffon", sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  text-align: center;
  border-top: 2px solid #8b6f47;
  border-bottom: 2px solid #8b6f47;
  padding: 20px 15px;
  white-space: nowrap; /* Prevents text wrapping */
}

.date-center {
  text-align: center;
  border-left: 2px solid #8b6f47;
  border-right: 2px solid #8b6f47;
  padding: 20px 15px;
  min-width: 120px;
  flex-shrink: 0;
}

.month {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.day {
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.year {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Original .rsvp class is no longer used. New .rsvp-main-message replaces it. */
/* Styles for the new RSVP section elements */
.rsvp-main-message {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: #8b6f47;
  text-align: center;
  max-width: 400px;
  margin-bottom: 25px; /* Space before location info */
  line-height: 1.6;
}
.rsvp-main-message strong {
  font-weight: 500; /* Or keep as parent */
}

/* Styles for location info section (as provided by you, with slight adjustment) */
.location-info {
  text-align: center;
  margin-top: 20px; /* Adjusted from 30px */
  opacity: 0; /* Will be animated in by JS */
  visibility: hidden; /* For GSAP autoAlpha */
}

/* Section Button Styles */
.ict-section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #8b6f47;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
  margin-top: 20px;
  opacity: 0;
  visibility: hidden;
}
.ict-section-btn i {
  font-size: 16px;
}
.ict-section-btn:hover {
  background-color: rgb(105.2428571429, 84.0428571429, 53.7571428571);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 111, 71, 0.4);
}
.ict-section-btn:active {
  transform: translateY(0);
}

.rsvp-deadline {
  /* This class was in your SCSS, not directly used by new HTML structure but its style can be merged if needed */
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8b6f47;
  margin-bottom: 15px;
}

.location-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #8b6f47;
}
.location-details i {
  font-size: 16px;
  color: #8b6f47;
}

/* OLD RSVP Button Styles - Commented out as we now use floating buttons in section
.ict-rsvp-btn-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.ict-rsvp-btn {
  background-color: #8b6f47;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 30px;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);

  &:hover {
    background-color: darken(#8b6f47, 5%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 111, 71, 0.4);
  }
}
*/
/* Styles for horizontal leaves in the RSVP section */
.leaf-top,
.leaf-bottom {
  width: 25vh;
  height: 13vh;
  background: url("../assets/2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(90deg);
  margin: 3vh 0;
}

.leaf-bottom {
  transform: rotate(-90deg);
}

#section-rsvp .rsvp-main-message {
  margin: 2vh 0;
}

/* Floating Buttons Styles */
.ict-floating-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.8); /* Initial state for animation */
}

.ict-floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #8b6f47;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
  text-decoration: none;
}
.ict-floating-btn i {
  font-size: 16px;
}
.ict-floating-btn:hover {
  background-color: rgb(105.2428571429, 84.0428571429, 53.7571428571);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 111, 71, 0.4);
}
.ict-floating-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .scroll-section {
    padding: 20px 15px;
  }
  .ceremony-title {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .names-section {
    max-width: 100%;
    gap: 5vh;
  }
  .monogram {
    font-size: 12vh;
  }
  .names {
    font-size: 18px;
    letter-spacing: 3px;
  }
  .date-section {
    gap: 10px; /* Reduced gap */
    margin: 30px 0;
    max-width: 100%;
  }
  .date-center {
    padding: 15px 10px;
    min-width: 100px;
  }
  .month {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .day {
    font-size: 36px;
  }
  .year {
    font-size: 14px;
  }
  .address {
    font-size: 12px;
    margin: 30px 0 0 0;
  }
  .rsvp-main-message {
    font-size: 16px;
  }
  .rsvp-deadline {
    /* If you decide to use this class */
    font-size: 12px;
    letter-spacing: 1px;
  }
  .location-details {
    font-size: 11px;
  }
  .location-details i {
    font-size: 14px;
  }
  .ict-floating-buttons {
    gap: 15px;
    margin-top: 20px;
  }
  .ict-floating-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  .ict-section-btn {
    padding: 10px 20px;
    font-size: 13px;
    margin-top: 15px;
  }
}
@media (max-width: 480px) {
  .names-section {
    gap: 10px;
    align-items: center;
  }
  .leaf-left,
  .leaf-right {
    width: 10vh; /* Adjusted for rotated view */
    height: 20vh;
  }
  .monogram {
    margin-right: 4vh;
  }
  .date-section {
    flex-direction: column;
    gap: 15px;
  }
  .date-left,
  .date-right,
  .date-center {
    width: 80%; /* Ensure they don't take full width when stacked */
    max-width: 280px; /* Max width for these elements */
  }
  .date-left,
  .date-right {
    padding: 10px 15px; /* Adjust padding for stacked view */
  }
  .rsvp-main-message {
    font-size: 1.5rem;
  }
  .date-invitation-text {
    margin-top: 10vh;
  }
  .address {
    opacity: 0 !important;
  }
  .location-details {
    flex-direction: column;
    gap: 5px;
  }
  .ict-floating-buttons {
    gap: 10px;
    margin-top: 15px;
  }
  .ict-floating-btn {
    padding: 8px 18px;
    font-size: 12px;
  }
  .ict-floating-btn i {
    font-size: 14px;
  }
  .ict-section-btn {
    padding: 8px 18px;
    font-size: 12px;
    margin-top: 12px;
  }
  .ict-section-btn i {
    font-size: 14px;
  }
}
/* iPad Air and iPad Pro specific styles */
@media (min-width: 820px) and (max-width: 1024px) {
  .monogram {
    font-size: 15vh; /* Reduced from 20vh */
  }
  .leaf-left,
  .leaf-right {
    width: 11vh; /* Reduced from 13vh */
    height: 22vh; /* Reduced from 25vh */
  }
  .leaf-top,
  .leaf-bottom {
    width: 22vh; /* Reduced from 25vh */
    height: 11vh; /* Reduced from 13vh */
  }
  .names-section {
    max-width: 90%;
  }
}
/* iPad Air specific adjustments if needed */
@media (min-width: 820px) and (max-width: 919px) {
  .monogram {
    font-size: 13vh;
  }
  .leaf-left,
  .leaf-right {
    width: 10vh;
    height: 20vh;
  }
  .leaf-top,
  .leaf-bottom {
    width: 20vh;
    height: 10vh;
  }
  .names {
    font-size: 4vh; /* Adjusted for better readability */
  }
}
/* 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 */
