/* Hungry Buddy FAQ Page Styles */

:root {
  --primary: #f88436;
  --secondary: #ecb6b4;
  --accent: #ffe66d;
  --text: #2c3e50;
  --bg: #f7f9fc;
  --card-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fredoka One", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 40%,
      rgba(78, 205, 196, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(255, 230, 109, 0.1) 0%,
      transparent 20%
    );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 3rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.header-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

.title {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
}

.faq-card {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
}

.faq-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  z-index: -1;
  border-radius: 35px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.faq-card:hover::before {
  opacity: 1;
}

.faq-question {
  color: rgb(54, 54, 54);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.faq-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.faq-answer {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text);
  padding-left: 2.6rem;
}

.email-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-section {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  color: rgb(54, 54, 54);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.contact-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.contact-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-button:hover::after {
  transform: translateX(100%);
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: var(--secondary);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
  }
  100% {
    transform: translateY(-100%) scale(1);
  }
}

.intro-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-section h2 {
  color: rgb(54, 54, 54);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.intro-section p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .faq-card {
    padding: 1.5rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .logo {
    font-size: 2.2rem;
  }

  .faq-question {
    font-size: 1.3rem;
  }

  .faq-answer {
    font-size: 1rem;
    padding-left: 2rem;
  }

  .faq-icon {
    font-size: 1.5rem;
  }
}