/* === Fonts === */
@font-face {
  font-family: 'BloodDrip';
  src: url('fonts/BloodDrip.ttf') format('truetype');
}

@font-face {
  font-family: 'Amiri';
  src: url('fonts/Amiri-Regular.ttf') format('truetype');
}

/* === Base === */
body {
  font-family: 'Amiri', serif;
  background-image: url('images/ChatGPT Image Apr 15, 2025, 12_50_04 AM.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  margin: 0;
  padding: 0;
  color: #ddd;
  position: relative;
  animation: fadeInBody 1.5s ease-in;
}

/* Red overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(150, 0, 0, 0.4);
  z-index: -1;
}

/* === Animations === */
@keyframes fadeInBody {
  0% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

@keyframes bloodPulse {
  0% { box-shadow: 0 0 0px #c0392b; }
  50% { box-shadow: 0 0 25px #ff1a1a; }
  100% { box-shadow: 0 0 0px #c0392b; }
}

@keyframes headerSlide {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes glowingBorder {
  0% { border-color: #c0392b; }
  50% { border-color: #ff4d4d; }
  100% { border-color: #c0392b; }
}

/* === Header === */
/* === Header (Extreme Impact Version) === */
header {
  background-color: rgba(192, 57, 43, 0.95);
  color: white;
  padding: 25px;
  position: relative;
  z-index: 2;
  font-family: 'BloodDrip', cursive;
  text-shadow: 2px 2px 4px #000;
  animation: headerSlide 1s ease-out, flicker 3s infinite;
  overflow: hidden;
  border-bottom: 5px solid #ff1a1a;
}

header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 30px;
  background: url('images/dripping-blood.png') repeat-x;
  background-size: contain;
  animation: bloodDrip 2s linear infinite;
  z-index: 1;
}

header h1 {
  margin: 0;
  font-size: 40px;
  text-align: center;
  color: #ff4d4d;
  text-shadow: 3px 3px 10px #000, 0 0 15px #ff1a1a;
  animation: pulseGlow 2.5s infinite;
  position: relative;
  z-index: 2;
}

/* === Header Animations === */
@keyframes bloodDrip {
  0% { background-position-x: 0; }
  100% { background-position-x: -100px; }
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 10px #ff4d4d, 0 0 20px #c0392b; }
  50% { text-shadow: 0 0 25px #ff1a1a, 0 0 40px #e74c3c; }
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 22%, 55% {
    opacity: 0.4;
  }
}

/* === Nav Bar + Hamburger === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 20px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
}

nav {
  background-color: rgba(169, 50, 38, 0.95);
  animation: headerSlide 1.5s ease;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #fbc7c7;
}

/* === Main + Section === */
main {
  padding: 30px 20px;
}

section {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  animation: fadeInBody 1.2s ease;
}

/* === Card === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  width: 300px;
  padding: 20px;
  text-align: left;
  color: #eee;
  animation: floatCard 3s infinite ease-in-out;
}

.card:hover {
  transform: scale(1.03);
  animation: none;
  box-shadow: 0 0 20px #ff0000;
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card h3 {
  font-size: 20px;
  color: #ff4d4d;
  font-weight: bold;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #c0392b;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: 0.3s;
  animation: bloodPulse 2s infinite;
}

.card a:hover {
  background-color: #a93226;
}

/* === Donate Card === */
#donate .card-container .card {
  text-align: center;
}

/* === Footer === */
footer {
  background-color: #111;
  color: #eee;
  text-align: center;
  padding: 25px;
  font-size: 14px;
  border-top: 3px solid #c0392b;
  font-family: 'BloodDrip', cursive;
  text-shadow: 1px 1px #000;
  animation: fadeInBody 2s;
}

footer a {
  color: #e74c3c;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
}

/* === Contact Form === */
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #eee;
  border: 2px solid #c0392b;
  animation: glowingBorder 3s infinite;
}

/* === Form Inputs === */
label {
  font-weight: bold;
  margin-top: 10px;
}

input, textarea {
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #555;
  font-size: 16px;
  background-color: #222;
  color: #fff;
}

button {
  margin-top: 15px;
  padding: 10px;
  background-color: #c0392b;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  animation: bloodPulse 2s infinite;
}

button:hover {
  background-color: #a93226;
}

/* === Shop Section === */
.shop-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.shop-item {
  width: 200px;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: floatCard 2.5s infinite;
}

.shop-item:hover {
  transform: scale(1.08);
  animation: none;
}

.shop-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* === QR Code === */
.qr-section {
  margin-top: 30px;
  text-align: center;
}

.qr-section h3 {
  font-family: 'BloodDrip', cursive;
  font-size: 24px;
  color: #ff4d4d;
  text-shadow: 1px 1px #000;
  margin-bottom: 10px;
}

.qr-section img {
  width: 160px;
  border-radius: 12px;
  border: 2px solid #c0392b;
  animation: bloodPulse 2s infinite;
}

/* === Contact Icons === */
#contact {
  text-align: center;
  margin-top: 50px;
}

#contact .contact-icons {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

#contact .contact-icons li {
  background-color: #8b0000;
  border-radius: 50%;
  padding: 18px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-icons li:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px #ff4d4d;
}

#contact .contact-icons li a {
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Gaza Header Section === */
.gaza-header {
  position: relative;
  text-align: center;
  background-image: url('images/ChatGPT Image Apr 15, 2025, 12_50_04 AM.png');
  background-size: cover;
  padding: 60px 20px 40px;
  color: white;
  font-family: 'BloodDrip', cursive;
  z-index: 1;
  animation: headerSlide 1.2s ease;
}

.gaza-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(150, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.gaza-header h1 {
  font-size: 48px;
  text-shadow: 3px 3px 8px black;
  color: #ff4d4d;
}

.gaza-header .tagline {
  font-size: 18px;
  font-family: 'Amiri', serif;
  margin-top: 10px;
  color: #f5c6c6;
  text-shadow: 1px 1px #000;
}

.gaza-header nav {
  margin-top: 30px;
  background-color: rgba(169, 50, 38, 0.9);
  border-top: 2px solid #ff4d4d;
  border-bottom: 2px solid #ff4d4d;
}

.gaza-header nav ul {
  list-style: none;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  flex-wrap: wrap;
}

.gaza-header nav ul li a {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
}

.gaza-header nav ul li a:hover {
  color: #fbc7c7;
  text-decoration: underline;
}

.gaza-header .hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  display: none;
  z-index: 3;
  color: white;
}

/* === Responsive === */
@media (max-width: 768px) {
  nav ul,
  .gaza-header nav ul {
    display: none;
    flex-direction: column;
    background-color: #a93226;
    width: 100%;
  }

  nav ul.show,
  .gaza-header nav ul.show {
    display: flex;
  }

  .menu-toggle,
  .gaza-header .hamburger {
    display: flex;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card, form {
    width: 90%;
  }

  header h1 {
    font-size: 22px;
  }
}
/* === Glitch Animation === */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

/* === Section Reveal === */
@keyframes slideInLeft {
  0% { transform: translateX(-100px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  0% { transform: translateX(100px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideInTop {
  0% { transform: translateY(-80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* === Glowing Text Hover === */
.glow-text:hover {
  color: #fff !important;
  text-shadow: 0 0 10px #ff4d4d, 0 0 20px #c0392b, 0 0 30px #ff4d4d;
}

/* === Fire Pulse Button === */
@keyframes firePulse {
  0% { box-shadow: 0 0 0px #ff4d4d; }
  50% { box-shadow: 0 0 30px #ff0000, 0 0 50px #ff4d4d; }
  100% { box-shadow: 0 0 0px #ff4d4d; }
}
button, .card a {
  animation: firePulse 2.8s infinite;
}

/* === Glass Effect for Cards === */
.card, .shop-item, form {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* === Bounce on Hover === */
.shop-item:hover, .card:hover {
  animation: none !important;
  transform: scale(1.05) translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px #ff4d4d;
}

/* === Glitch Effect on Main Title === */
header h1, .gaza-header h1 {
  animation: glitch 2s infinite;
}

/* === Shimmer Glow on Taglines === */
@keyframes shimmer {
  0% { background-position: -100%; }
  100% { background-position: 200%; }
}
.tagline {
  background: linear-gradient(90deg, #ff4d4d, #f5c6c6, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* === Section Fade Slide Stagger === */
section:nth-child(1) { animation: slideInLeft 1s ease forwards; }
section:nth-child(2) { animation: slideInRight 1.2s ease forwards; }
section:nth-child(3) { animation: slideInLeft 1.4s ease forwards; }
section:nth-child(4) { animation: slideInTop 1.6s ease forwards; }

/* === Mobile-Friendly Fixes === */
@media (max-width: 768px) {
  header h1, .gaza-header h1 {
    font-size: 26px;
    animation: none;
  }
  .tagline {
    font-size: 16px;
  }
}
/* === Blood Intro Animation === */
#bloodIntro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #8b0000 0%, #3b0000 80%);
  z-index: 9999;
  animation: bloodSplash 2.8s ease-in forwards;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@keyframes bloodSplash {
  0% {
    transform: scale(1.2);
    opacity: 1;
    clip-path: circle(0% at 50% 50%);
  }
  30% {
    clip-path: circle(60% at 50% 50%);
  }
  60% {
    clip-path: circle(100% at 50% 50%);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

