@import url("all.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic");

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

:root {
  --primary-black: #0a0a0a;
  --primary-gold: #f5a623;
  --secondary-black: #1a1a1a;
  --primary-orange: #ffa500;
  --secondary-orange: #ffb83d;
  --accent-yellow: #ffd700;
  --text-white: #ffffff;
  --text-gray: #b0b0b0;
  --card-bg: rgba(255, 165, 0, 0.05);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary-black);
  color: var(--text-white);
  overflow-x: hidden;
  position: relative;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #232323;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-white);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-white);
  /* box-shadow: 0 0 20px rgba(255, 165, 0, 0.2); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-black);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-gold),
    var(--primary-orange)
  );
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-white), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease;
}

.hero-text .subtitle {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.book-showcase {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--secondary-black),
    rgba(255, 165, 0, 0.1)
  );
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 165, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.book-showcase:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.book-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-orange);
  color: var(--primary-black);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

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

.book-showcase h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.book-showcase p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.book-publisher {
  color: var(--text-gray);
  text-decoration: none;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--accent-yellow)
  );
  color: var(--primary-black);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 165, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: var(--primary-black);
  transform: translateY(-2px);
}

/* Books Section */
.books-section {
  padding: 4rem 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-white), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.2rem;
}

/* Stories Section */

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.story-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 166, 35, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.story-card:hover::before {
  left: 100%;
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(245, 166, 35, 0.2);
  border-color: var(--primary-gold);
}

.story-image {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.story-image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
  font-size: 48px;
  opacity: 0.5;
}

.book1::after {
  background: url("../../images/covers/cover1.jpeg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.book2::after {
  background: url("../../images/covers/cover2.jpeg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.story-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-gold);
}

.story-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.story-card .btn {
  align-self: flex-start;
}

/* Social Section */
.social-section {
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 165, 0, 0.05),
    var(--secondary-black)
  );
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.social-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  min-width: 200px;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  color: white;
}

.social-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 30px rgba(245, 166, 35, 0.2);
}

.social-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.social-name {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  background: linear-gradient(
    135deg,
    var(--secondary-black),
    rgba(255, 165, 0, 0.05)
  );
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(255, 165, 0, 0.2);
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.contact-info p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  color: var(--text-white);
}

.contact-item a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-yellow);
}

/* Footer */
footer {
  background: var(--primary-black);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 165, 0, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 165, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--primary-orange);
  color: var(--primary-black);
  transform: translateY(-3px);
}

.copyright {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.copyright a {
  color: var(--primary-orange);
  text-decoration: none;
}

/* Particles Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-orange);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 10s infinite;
  z-index: -1;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(10vh) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
}

/* Logo */
.avatar {
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 3rem;
  margin-left: 1rem;
  width: 200px;
  height: 200px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.avatar-circle {
  width: 100%;
  height: 100%;
  border: 4px solid var(--text-white);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 50px rgba(255, 165, 0, 0.3);
  background: url("../../images/avatars/avatar.jpeg");
  background-size: cover;
  background-position: center;
}

.avatar-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

/* Donate Button Special */
.donate-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.donate-btn {
  background: linear-gradient(135deg, #ffd700, var(--primary-gold));
  color: var(--primary-black);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.donate-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* Donation Section */
.donation-section {
  padding: 100px 50px;
  text-align: center;
  background: linear-gradient(135deg, rgba(253, 179, 71, 0.05), transparent);
}

.donation-content {
  max-width: 800px;
  margin: 0 auto;
}

.support-btn {
  padding: 20px 50px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: var(--darker-bg);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  animation: pulse-support 2s infinite;
}

@keyframes pulse-support {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  }
}

.support-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .avatar {
    margin: 0 auto 3rem;
  }

  .book-showcase {
    transform: none;
  }

  .btn-group {
    justify-content: center;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-card {
    padding: 20px;
    margin: 0 10px;
  }

  .contact-details {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-socials {
    gap: 1rem;
  }
}
