/* ---------------------------- */
/* Fonts */
@font-face {
  font-family: 'Bubblegum';
  src: url('../fonts/Bubblegum.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body {
  background-color: #e22f6b;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 20px 120px;
}

.container {
  text-align: center;
}

/* ---------------------------- */
/* Titles */
.title {
  font-family: 'Bubblegum', cursive;
  text-align: center;
  margin-bottom: 20px;
  font-size: 100px;
  font-weight: bold;
}
.title .pink {
  color: #e22f6b;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.title .rabbit {
  color: #00cfff;
}

/* ---------------------------- */
/* Index page - Coming Soon */
#coming-soon {
  font-family: 'Bubblegum', cursive;
  font-size: clamp(2rem, 6vw, 80px);
  color: white;
  opacity: 1;
  transition: opacity 2s ease;
}

.fade-out {
  opacity: 0;
}
.hidden {
  display: none;
}

/* ---------------------------- */
/* Social icons & email */
.social-icons, .email, .cta-link {
  opacity: 0;
  transform: translateY(100px);
}

.social-icons.show, .email.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 1.5s ease;
}

.social-icons a {
  color: white;
  font-size: 15px;
  margin: 0 10px;
  transition: transform 0.3s, color 0.3s;
}
.social-icons a:hover {
  color: #4dc5d6;
  transform: scale(1.1);
}

.email a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.email a:hover {
  color: #4dc5d6;
}

/* ---------------------------- */
/* CTA link */
.cta-link {
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  transform: scale(0.5);
  transition: transform 1s ease, opacity 1s ease;
  color: white;
  font-family: 'Bubblegum', cursive;
}
.cta-link .pink {
  color: #e22f6b;
  text-shadow: 2px 2px 0 white;
}
.cta-link .rabbit {
  color: aqua;
}
.cta-link.show {
  opacity: 1;
  transform: scale(1);
  animation: pulse 2s infinite ease-in-out;
}

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

/* ---------------------------- */
/* Spacing adjustments (index) */
.custom-img {
  max-width: 35%;
  height: auto;
  margin-bottom: 30px; /* space below bunny logo */
}

.social-icons {
  margin-bottom: 20px; /* space between icons and email */
}

.email {
  margin-bottom: 25px; /* space before CTA link */
}

/* ---------------------------- */
/* Apply page - form and image wrapper */
.form-image-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  align-items: stretch;
  justify-content: center;
}

/* Form box */
.form-box {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 4px solid white;
  display: flex;
  flex-direction: column;
}
.form-box h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #e22f6b;
  font-family: 'Bubblegum', cursive;
}
.form-description {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 16px;
}

/* Form inputs */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, select, textarea, button {
  padding: 12px 18px;
  border-radius: 9999px;
  font-size: 16px;
  width: 100%;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
textarea {
  min-height: 100px;
  border-radius: 20px;
  resize: vertical;
}
button {
  background: #e22f6b;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #c91e58;
}

/* ---------------------------- */
/* Image box */
.image-box {
  width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 4px solid white;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------- */
/* Mobile responsiveness */
@media (max-width: 900px) {
  .form-image-wrapper {
    flex-direction: column;
  }
  .image-box {
    width: 100%;
    height: 300px;
  }
  .image-box img {
    object-fit: cover;
    object-position: top;
  }
}

/* ---------------------------- */
/* Footer */
footer {
  width: 100%;
  text-align: center;
  padding: 10px;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  left: 0;
}
