* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  * {
  -webkit-tap-highlight-color: transparent;
}

:focus:not(:focus-visible) {
  outline: none;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: #000;
  background: #f6f0ea;
}

@font-face {
  font-family: "Moragon";
  src: url("./fonts/Moragon-Font-Family/Moragon-vngYD-BF66837404194cd.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Amarula";
  src: url("./fonts/amarula-personal-use/Amarula Personal Use/Amarula\ Personal\ Use.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Magical";
  src: url("./fonts/magic-stylish/Magic\ Stylish.otf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

nav a {
  font-size: clamp(14px, 1vw + 0.5rem, 1rem);
  color: #3b0413;
  text-decoration: none;
  font-family: "Moragon", system-ui, sans-serif;
  /* font-weight: 700 !important; */
}

header {
  padding: 20px 0;
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 20px;
}

nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.hero {
  /* padding: 84px 20px 0; */
  background: url("./assets/images/jbheroimg2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  /* overflow: hidden; */
  border-radius: 16px;

  width: unset;
  max-width: unset;
  margin: unset;
  padding-inline: unset;
}

.jbfooterimg {
  background: url("./assets/images/bwj-footer-img-small.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-rose {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%, 20px);
  animation: pulse 2s infinite;
}
.blj-icon,
.long-rose {
  animation: pulse 2s infinite;
}

.ribbon-line1 {
  width: 100%;
  margin: 0 auto;
}
.our-love-story {
  font-family: "Amarula", system-ui, sans-serif;
  color: #ba0b3f;
  font-size: clamp(24px, 1vw + 0.5rem, 2rem);
  margin-bottom: 44px;
  margin-top: 60px;
  text-align: center;
}
.our-love-story-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  text-align: center;
}

.our-love-story-content p {
  color: #710429;
  font-weight: bolder;
  font-size: clamp(16px, 1vw + 0.5rem, 24px);
  text-transform: uppercase;
  text-wrap: balance;
  font-family: "Moragon", sans-serif;
}
.our-love-story-content span {
  color: #5b5b5b;
  font-weight: 700;
  font-size: clamp(14px, 1vw + 0.5rem, 1rem);
  text-transform: uppercase;
  text-wrap: balance;
  font-family: "Moragon", sans-serif;
}

.big {
  display: none;
}

.our-love-story-hero-contents {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 16px 60px;
}

.our-love-story-hero-contents img.small {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.our-love-story-hero-contents-left .up {
  display: none;
}

.be-part p {
  color: #ba0b3f;
  font-size: 24px;
  font-family: "Amarula", system-ui, sans-serif;
}

.be-part {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.be-part a {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  color: #710429;
  font-family: "Moragon", sans-serif;
  text-decoration: none;
  padding: 4px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.our-love-story-section {
  padding: 60px 20px 0px;
  /* background: #fff; */
}

.getting-married {
  font-size: 15px;
  padding-bottom: 50px;
  overflow: hidden;
  user-select: none;
  --gap: 10px;
  display: flex;
  gap: var(--gap);
}

.getting-married ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  animation: scroll 40s linear infinite;
}

.getting-married ul li {
  font-size: 14px;
  font-family: "Moragon", sans-serif;
  letter-spacing: 10px;
}

.getting-married:hover ul {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
.private-reception {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-block: 50px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.private-reception .title {
  margin-block: 40px 22px;
  color: #710429;
  font-family: "Moragon", sans-serif;
  font-weight: bold;
  font-size: 24px;
}
.hmm {
  width: 420px;
  max-width: 100%;
}
.time-left {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}
.time-box {
  background-color: #710429;
  border-radius: 12px;
  height: 85px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.time-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(113, 4, 41, 0.3);
  background-color: #8a0a3a;
}

.time-box span {
  color: #f6f0ea;
  font-size: 24px;
  font-family: "Moragon", sans-serif;
}

.time-box .text {
  font-size: 12px;
}

.blessing-with-joseph {
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.gallery-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 50px;
  gap: 60px;
}
.gallery-section p {
  font-size: 14px;
  font-family: "Moragon", sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-align: center;
  text-wrap: balance;
}
.footer-link-section {
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
}
.footer-link {
  display: flex;
  align-items: start;
  gap: 10px;
}
.footer-link p {
  color: #ba0b3f;
  font-family: "Moragon", sans-serif;
  font-size: 16px;
}
.footer-link a {
  color: #3b0413;
  font-size: 16px;
  text-decoration: none;
  font-family: "Moragon", sans-serif;
}
footer {
  padding-block: 50px;
  text-align: center;
  background-color: #32000f;
  font-size: 14px;
  color: #ba0b3f;
  letter-spacing: 5px;
}

 /* Form Invite Styles */
  .form-container {
  
    margin: 50px auto;
    padding: 0px 20px;
    background: #f6f0ea;
    
   
    text-align: center;
  }
  
  .back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3B0413;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-family: "Moragon", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    
  }
  
  .back-button:hover {
    transform: translateX(-5px);
  }
  
      .form-group {
        margin-bottom: 20px;
        text-align: left;
      }
      
      .form-group label {
        display: block;
        color: #3B0413;
        font-family: "Moragon", sans-serif;
        font-weight: 600;
        margin-bottom: 5px;
        font-size: 14px;
      }

  input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  color: #3B0413;
  transition: all 0.3s;
  outline: none;
  background: #E9E3DD;
  font-family: "Moragon", sans-serif;

}

input:focus
 {
  border-color: #BA0B3F;
  /* box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); */
}
input::placeholder {
  font-size: 14px;
  color: var(--text-placeholder);
}
  
  .submit-button {
    background: #710429;
    color: #f6f0ea;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: "Moragon", sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-size: 14px;
    width: 100%;
  }
  
  .submit-button:hover {
    background: #ba0b3f;
    transform: scale(1.05);
  }

  .thank-you-texts{
    display: flex;
    flex-direction: column;
    width:max-content ;
    margin: 100px auto 80px;
  }
  .thank-you-texts p{
    font-size: 82px;
    color: #3B0413;
    line-height: 80%;
    font-family: "Magical", sans-serif;
  }
  .thank-you-texts .you-text{
    align-self: flex-end;
  }
@media (min-width: 350px) {
  .time-left {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media (min-width: 550px) {
  .hero {
    background: url("./assets/images/jbheroimg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .jbfooterimg {
    background: url("./assets/images/bwj-footer-img-big.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .nav {
    gap: 40px;
  }
}
@media (min-width: 769px) {
  nav {
    gap: 90px;
  }
  .small {
    display: none;
  }
  .big {
    display: block;
  }
  .our-love-story {
    margin-top: 80px;
    text-align: left;
  }
  .our-love-story-content {
    max-width: 940px;
    justify-content: unset;
    text-align: left;
  }
  .our-love-story-hero-contents {
    display: grid;
    grid-template-columns: 1fr 507px;
  }
  .our-love-story-hero-contents img.big {
    width: 100%;
  }
  .our-love-story-hero-contents-left .up {
    display: block;
    align-items: end;
    position: relative;
  }
  .our-love-story-hero-contents-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .slanted-love {
    position: absolute;
    bottom: -70px;
    left: 60px;
  }
  .be-part {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    justify-content: start;
  }

  .private-reception {
    gap: 60px;
    padding-block: 60px 100px;
  }
  .gallery-section p {
    letter-spacing: 10px;
  }

  .footer-link-section {
    padding-top: 100px;
  }

  footer {
    padding-block: 70px;
    letter-spacing: 10px;
  }
  
  .form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px 20px;
    background: #f6f0ea;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
 
}

