@import url("../fonts/fonts/font.css");

/* Hero Section */
.hero {
  height: 95vh;
  /* background: url("../public/linn4update.jpeg") center/cover; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* background: #f4f7fc; */
  position: relative;
}
.hero::before{
 content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  z-index: -9;
   filter: blur(6px);
}
.hero::after{
 content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: url("../public/linn4update.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -10;
  filter: blur(8px);
  opacity: 0.5;
}
.hero .of {
  font-size: 1.3em;
  margin-bottom: 4px;
}
.hero-content {
  max-width: 900px;
  padding: 0px 20px;
  animation: fadeInUp 1s ease-out;
}
.hero .opening-text {
  font-size: 1.78rem;
  padding-left: 1.3em;
  padding-right: 1.3em;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 200px;
  width: 100%;
  height: auto;
  position: relative;
}

.hero h1 {
  font-family: "linn-medium" !important;
   overflow: hidden;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(225deg, #764ba2 1%, #0091ff 37%, #ff541e 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1::after {
  content: "";
  width: 50%;
  height: 100%;
  background-color: hsla(48, 30%, 95%, 0.6);
  position: absolute;
  bottom: 1rem;
  rotate: 40deg;
  left: -24rem;
  transition: left 1s cubic-bezier(0.2, 0.5, 0.2, 1.2);
  /* -webkit-mask-image: linear-gradient(to right, black 20%, transparent 80%);
  mask-image: linear-gradient(to right, black 20%, transparent 80%); */
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: 0.5;
  animation: flash 3s ease-in-out infinite;
   mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes flash {
  0% {
    left: -100%;
  }
  100% {
    left: 120%;
  }
}
.hero h1:hover {
  transform: translateY(-5px);
  cursor: pointer;
  text-shadow: #2c3e50;
}

.date {
  color: black;
  font-family: "linn-light" !important;
}

.hero h2 {
  font-family: "linn-regular" !important;
  /* font-size: 3rem; */
  font-weight: 600;
  /* margin-bottom: 1rem; */
  background: black;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h3 {
  font-family: "linn-medium" !important;
  background: linear-gradient(225deg, #764ba2 1%, #0080e2 37%, #ff541e 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-body h1 {
  font-size: 4rem;
  font-weight: 500;

  margin-bottom: 20px;
  /* font-family: 'Times New Roman', Times, serif; */
  font-family: "linn-medium" !important;
}

.timebox {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.time {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px 15px;
  min-width: 80px;
  transition: all 0.3s ease;
  /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
  text-align: center;
}

.timeh2 {
  font-size: 3rem;
}

.time:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

/* Responsive Styling */
.timebox {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on larger screens if needed */
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.time {
  background-color: white;
  color: #333;
  padding: 15px;
  border-radius: 10px;
  min-width: 80px;
  text-align: center;
  flex: 1 1 80px;
  max-width: 120px;
}

.timeh2 {
  margin: 0;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Group Layout */
.button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Equal spacing between buttons */
  padding: 0 2em;
}

/* Countdown Timer */
.timebox {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.timeh2 {
  margin: 0;
  font-size: 1.8rem;
  margin-bottom: 0.1em;
}

.time .time-text {
  font-size: 1.2rem;
  margin: 0;
}

/* CTA Button */
.cta-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 12px 20px;
  font-size: 1em;
  background: linear-gradient(225deg, #067ab8 16%, #055594 37%, #0993cd 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  height: 45px;
  min-width: 120px;
  border: none;
}

.cta-button:hover {
  background-color: #055594;
}

/* Icon Button Specific (optional tweaks) */
.calendar-button i {
  font-size: 18px;
}

/* Hover Effect */
.cta-button:hover {
  background-color: #0056b3;
}

/* responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-content .opening-text {
    font-size: 1.75em;
  }

  .hero .date {
    font-size: 1.2rem;
  }
  .logo {
    max-width: 140px;
  }
  .timebox {
    flex-wrap: nowrap;
    overflow-x: auto; /* optional: allows horizontal scroll on very narrow screens */
  }

  .time {
    flex: 1;
    min-width: 70px;
  }
  .hero-content .opening-header {
    font-size: 4rem;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
  }
  .hero {
    height: 85vh;
  }
  .hero-body h2,
  .hext-start {
    font-size: 1.5rem;
  }

  .timebox {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .cta-button {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .details-grid {
    flex-direction: column;
  }
  .button-group {
    /* flex-direction: column; */
    gap: 10px;
    /* width: 80%; */
  }
  .cta-button,
  .calendar-button {
    width: 60%;
    min-width: unset;
    font-size: 0.95rem;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero {
    height: 70vh;
  }
  .hero-content .opening-header {
    font-size: 2.6rem;
  }
  .rsvp-container {
    padding: 80px 8px;
  }
  .hero-body h2,
  .hext-start {
    font-size: 1rem;
  }
  .hero-content .opening-text {
    font-size: 1.45rem;
    padding-left: 1.3em;
    padding-right: 1.3em;
  }
  .hero .of {
    font-size: 0.9em;
    margin-bottom: 4px;
  }
  .hero .linn-text {
    font-size: 1.26rem;
  }
  .time {
    min-width: 70px;
    padding: 10px;
  }
  .timeh2 {
    margin: 0;
    font-size: 1.8rem;
    margin-bottom: 0.1em;
  }

  .time .time-text {
    font-size: 0.9rem;
    margin: 0;
  }
  .deer-text {
    font-size: 1.25rem;
  }
  .cta-button {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .cta-button,
  .calendar-button {
    font-size: 0.85rem;
    padding: 8px 0;
    height: 40px;
  }
}
@media (max-width: 380px) {
  .hero {
    height: 100vh;
  }
  .hero-content .opening-header {
    font-size: 3rem;
  }
}


 .canvas {
    display: block;
    background: transparent;
  }
