/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;600&family=Handlee&display=swap');

:root {
  --light-purple: #cfa7f6;
  --deep-purple: #71357f;
  --background-muted: #fbe9f1;
  --text-light: #4a2e42;
  --text-muted: #7c5e75;
  --white: #ffffff;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', sans-serif;
  background-color: var(--background-muted);
  color: var(--text-light);
  line-height: 1.6;
  padding-bottom: 100px;
}

/* Restore padding only for mobile */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
}
/* Navigation */
.nav-buttons {
  position: fixed;
  top: 0;
  right: 40px;
  height: 30vh;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1000;
}

.nav-button {
  background-color: var(--deep-purple);
  color: white;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 0 10px rgba(113, 53, 127, 0.4);
  margin-bottom: 40px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background-image: url('final_back_for_desktop.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-color: var(--background-muted);
  overflow: hidden;
}

#form-container {
  position: absolute;
  top: 60%;
  left: 20%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.6);
  padding: 12px;
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(113, 53, 127, 0.2);
  text-align: center;
  z-index: 1;
}

#thank-you-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  padding: 30px;
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(113, 53, 127, 0.2);
  text-align: center;
  z-index: 1;
}

/* Centered thank-you box on desktop only */
@media screen and (min-width: 769px) {
  #thank-you-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  }

  #thank-you-message h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  #thank-you-message p {
    font-size: 1.2rem;
  }
}

.hero h1 {
  font-family: 'Handlee', cursive;
  font-size: 1.8rem;
  color: var(--deep-purple);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-form input {
  padding: 10px;
  border-radius: 30px;
  border: 1px solid var(--light-purple);
  font-size: 1rem;
  direction: rtl;
  text-align: right;
}

.hero-form button {
  padding: 12px;
  border: none;
  border-radius: 30px;
  background-color: var(--deep-purple);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-form button:hover {
  background-color: #5b2b66;
}

/* Info Sections */
.info-section {
  padding: 10px 20px;
  text-align: center;
}

.info-section h2 {
  font-family: 'Handlee', cursive;
  color: var(--deep-purple);
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--deep-purple);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.policy-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: white;
  background-color: var(--deep-purple);
  text-decoration: none;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(113, 53, 127, 0.4);
  transition: background 0.3s ease;
}

.policy-button:hover {
  background-color: #5b2b66;
}

/* Floating Button */
.scroll-register-button {
  display: none;
}

/* Hide on desktop */
.nav-buttons-mobile {
  display: none !important;
}

.scroll-hint-mobile {
  display: none !important;
}

/* ========== MOBILE ONLY STYLES ========== */
@media (max-width: 768px) {
  .hero {
    background-image: url('mobile_backround_final.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
  }

  .mobile-hidden {
    display: none !important;
  }

  .nav-buttons {
    display: none !important;
  }

  #form-container,
  #thank-you-message {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background: transparent;
    border-radius: 30px;
    box-shadow: none;
    z-index: 1001;
    text-align: center;
  }

  .hero h1,
  .info-section h2 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-form input,
  .hero-form button {
    font-size: 1rem;
    padding: 10px;
  }

  /* Mobile nav buttons */
  .nav-buttons-mobile {
    position: fixed;
    top: 20px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    align-items: stretch;
    padding: 10px;
    box-sizing: border-box;
  }

  .nav-buttons-mobile .nav-button {
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.75rem;
    background-color: var(--deep-purple);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(113, 53, 127, 0.4);
  }

  /* Scroll registration button */
  .scroll-register-button {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 0.75rem;
    background-color: var(--deep-purple);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(113, 53, 127, 0.4);
    display: none;
  }

  body.scrolled .scroll-register-button {
    display: block;
  }

  /* Scroll Hint Mobile */
  .scroll-hint-mobile {
    position: fixed;
    bottom: 40px;
    right: 30px;
    left: 30px;
    padding: 10px 15px;
    background-color: white;
    border: 1px solid #000000;
    border-radius: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #000000;
    z-index: 1002;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: block !important;
    animation: blink-hint 1.1s infinite;
  }

  @keyframes blink-hint {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }
@keyframes blink-hint {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
}


