
/* Hard reset to kill the left gap */
html, #root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* Optional: prevents accidental sideways scroll from BG ornaments */
body { overflow-x: hidden; }



/* === Home wrapper & content (critical) === */
.home-wrapper{
  position: relative;        /* positions the floating images */
  width: 100%;               /* NOT 100vw → prevents horizontal drift */
  min-height: 100svh;        /* full height, safe on mobile */
  padding-top: 6rem;         /* space under fixed navbar */
  padding-bottom: 5rem;
  overflow: hidden;
  margin: 0;
  z-index: 0;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;     /* start from top */
  padding-top: 10vh;               /* lower the content */
  padding-bottom: 4rem;
  text-align: center;
  overflow: hidden;
}


* { box-sizing: border-box; }
/* -------------------- Main Content -------------------- */
.main-content {
  margin-top: 0px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.welcome {
  font-size: 20px;
  color: #407BFF;
  margin: 10px 10px 4px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.heartquill {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px #407BFF;
}

.slogan {
  font-weight: 600;
  color: #407BFF;
  margin: 10px 0 16px;
  font-size: 16px;
  text-align: center;
  padding: 0 10px;
}

.cta-button {
  display: inline-block;
  border: 2px solid #407BFF;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  color: #407BFF;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #407BFF;
  color: white;
}


/* -------------------- Decorative Elements -------------------- */
.star, .rabbit, .flower {
  position: absolute;
  width: clamp(30px, 5vw, 60px);
  z-index: 1;
}

.star {
  animation: glow 4s infinite ease-in-out;
}

.star2 {
  top: 50%;
  right: 60%;
}


.star5 {
  top: 65%;
  right: 10%;
}


.rabbit {
  animation: rotate 20s linear infinite;
}
.rabbit2 {
  bottom: 26%;
  right: 8%;
}

.flower {
  animation: floatRotate 7s ease-in-out infinite;
  opacity: 0.8;
  z-index: 0;
}

/* General Style */
.decor {
  position: absolute;
  opacity: 0.7;
  z-index: 0;
  animation: floatSoft 8s ease-in-out infinite;
  width: clamp(30px, 5vw, 60px);
}

/* Unique Placements */
.cloudy { top: 15%; right: 10%; animation-delay: 1s; }
.clover { bottom: 18%; left: 8%; animation-delay: 2s; }
.heart-decor { top: 30%; left: 20%; animation-delay: 3s; }
.moonflower { top: 20%; left: 70%; animation-delay: 4s; }

/* Soft Float Animation */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Individual Placement */
.star1 { top: 45%; left: 15%; }
.star2 { top: 50%; right: 75%; }
.star3 { bottom: 35%; left: 15%; }
.star4 { bottom: 45%; left: 75%; }

.rabbit1 { top: 20%; left: 10%; transform: none; }
.rabbit2 { bottom: 20%; right: 10%; transform: scaleX(-1); }

.flower1 { top: 65%; left: 20%; animation-delay: 0s; }
.flower2 { bottom: 12%; right: 15%; animation-delay: 2s; }
.flower3 { bottom: 70%; left: 55%; animation-delay: 3s; }

/* Hover effect for bunnies */
.rabbit:hover {
  transform: rotate(3deg) scale(1.05);
  transition: all 0.3s ease-in-out;
}

.heart-decor {
  filter: drop-shadow(0 0 6px rgba(255, 128, 150, 0.3));
}

.moonflower {
  filter: drop-shadow(0 0 6px rgba(180, 140, 255, 0.2));
}



/* -------------------- Animations -------------------- */
@keyframes glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatRotate {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}


/* -------------------- Global -------------------- */
img {
  max-width: 100%;
  height: auto;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}


/* -------------------- Responsive Styles -------------------- */

/* Medium Screens */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .navbar a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Small Screens */
@media (max-width: 600px) {
  .star, .rabbit, .flower {
    width: 36px;
  }

  .cloudy {
    top: 22%;
    right: 6%;
  }

  .star1 { top: 60%; left: 5%; }
  .star2 { top: 65%; right: 5%; }
  .star3 { bottom: 25%; left: 5%; }
  .star4 { bottom: 20%; right: 5%; }

  .rabbit1 { top: 10%; left: 5%; }
  .rabbit2 { bottom: 10%; right: 5%; }
}

/* Extra Small Screens */
@media (max-width: 400px) {
  .welcome {
    font-size: 16px;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
  }

  .heartquill {
    font-size: 60px;
    -webkit-text-stroke: 1px #407BFF;
  }

  .slogan {
    font-size: 14px;
    margin: 8px 0 14px;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
    margin-bottom: 24px;
  }

  .navbar {
    flex-wrap: wrap;
    padding: 6px;
    gap: 6px;
  }

  .navbar a {
    font-size: 11px;
    padding: 4px 6px;
  }

  .footer {
    font-size: 12px;
    gap: 4px;
    padding: 10px 6px;
    text-align: center;
  }

  .social-links img {
    height: 24px;
    width: 24px;
  }
}
