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

/* Fonts & Body */
body {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  background-image: url(background.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #333;
  overflow-x: hidden;
}

/* Headings */
h1, h2 {
  font-family: 'Cinzel Decorative', serif;
  color: gray;
  text-align: center;
  margin-bottom: 10px;
}
p, label {
  font-family: 'Cormorant Garamond', serif;
}

/* Header */
header {
  height: 100px;
  background-color: antiquewhite;
  align-items: center;
  display: flex;
  justify-content: space-between;
  border-bottom: 5px solid rgb(162, 156, 131);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 0 20px;
}
.logo {
  width: 80px;
  height: 60px;
  background-image: url(baal-perazim-high-resolution-logo-transparent.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon{
  color: rgb(255, 196, 0);
  text-decoration: none;
}
header a{
  text-decoration: none;
}

/* Floating Button */
#contactToggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #D4AF37;
  color: white;
  padding: 14px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 1000;
}
#contactToggle:hover {
  background: #342c10;
  transform: scale(1.05);
  color: rgb(255, 196, 0);
}

/* Popup Contact Form */
#contactPopup {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  padding: 20px;
  display: none;
  z-index: 1000;
  animation: slideUp 0.3s ease forwards;
}

/* Slide Animation */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Styles */
#popupForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#popupForm h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #111827;
  text-align: center;
}
#popupForm input,
#popupForm textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
#popupForm button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#popupForm button:hover {
  background: #1e40af;
}

/* Buttons */
.btn {
  width: 230px;
  height: 50px;
  background-color: rgb(255, 196, 0);
  color: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: large;
  font-family: 'Cinzel Decorative', serif;
  transition: 0.5s ease;
  margin: 10px auto;
}
.btn:hover {
  border: 3px solid goldenrod;
  background-color: antiquewhite;
  color: rgb(156, 151, 151);
  transform: scale(1.05);
}

/* Container */
.container {
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
  min-height: 400px;
  background-color: antiquewhite;
  color: #2c2c2c; /* deep soft gray */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

/* Question Section */

#ans {
  padding-left: 10px;
  background-color: antiquewhite;
  color: #2c2c2c; /* deep soft gray */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Buttons inside sections */
button {
  background-color: rgb(255, 196, 0);
  border-radius: 5px;
  border: 3px solid goldenrod;
  cursor: pointer;
  width: 160px;
  height: 60px;
  margin: 30px auto;
  color: rgb(49, 48, 48);
  font-weight: 600;
  display: block;
  transition: 0.4s ease;
}
button:hover {
  background-color: antiquewhite;
  transform: scale(1.05);
  color: #2c2c2c; /* deep soft gray */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* ===== Mobile Tweaks ===== */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 15px;
  }

  .logo {
    margin-bottom: 10px;
  }

  .container {
    width: 95%;
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .question {
    width: 100%;
    font-size: 1rem;
  }

  #contactPopup {
    width: 90%;
    right: 5%;
    bottom: 90px;
  }

  .btn {
    width: 180px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    background-size: cover;
  }

  h1, h2 {
    font-size: 1.3rem;
  }

  .container {
    width: 95%;
    padding: 10px;
  }

  .question {
    font-size: 0.95rem;
    padding: 15px;
  }

  #contactToggle {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}
