/* MAHAKAL - Spiritual & Mystical Book Shop Theme */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #a855f7, #fbbf24);
}

/* Navigation */
.navbar {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)); }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
  transition: left 0.5s;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f59e0b;
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
}

.section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Home Section */
.home-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="om" width="60" height="40" patternUnits="userSpaceOnUse"><path d="M30 10 Q40 20 30 30 Q20 20 30 10" stroke="%238b5cf6" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23om)"/></svg>');
  animation: spiritualFloat 20s ease-in-out infinite;
}

@keyframes spiritualFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-20px) translateY(-20px); }
}

.home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ffffff, #f59e0b, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8)); }
}

.text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
  border-color: #8b5cf6;
}

.btn-secondary {
  background: transparent;
  color: #f59e0b;
  border: 2px solid #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.home-content img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Categories Section */
.categories-section {
  background: rgba(139, 92, 246, 0.05);
  position: relative;
}

.categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-15px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.card h3 {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card p {
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: #f59e0b;
  transform: translateX(5px);
}

/* Featured Section */
.featured-section {
  background: rgba(245, 158, 11, 0.05);
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.featured-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.featured-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  color: #1a1a2e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f59e0b;
  margin-top: 1rem;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Special Offers Section */
.special-section {
  background: rgba(8b5cf6, 0.05);
  position: relative;
}

.special-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.special-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.offer-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-15px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.offer-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(45deg, #ef4444, #f59e0b);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  animation: offerPulse 2s infinite;
}

@keyframes offerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.offer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.offer-card:hover img {
  transform: scale(1.05);
}

.offer-card h3 {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.offer-card p {
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.original-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1.1rem;
}

.offer-price {
  color: #8b5cf6;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.btn-offer {
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text p {
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.stat h3 {
  font-size: 2.5rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.stat p {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: imageFloat 8s ease-in-out infinite;
}

/* Reviews Section */
.reviews-section {
  background: rgba(139, 92, 246, 0.05);
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

blockquote {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 4rem;
  color: rgba(139, 92, 246, 0.3);
  font-family: serif;
}

blockquote:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

blockquote p {
  color: rgba(226, 232, 240, 0.9);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

blockquote footer {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background: rgba(245, 158, 11, 0.05);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  color: #f59e0b;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-info li {
  margin-bottom: 1rem;
  color: rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  background: linear-gradient(45deg, #8b5cf6, #f59e0b);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Footer */
footer {
  background: rgba(26, 26, 46, 0.95);
  border-top: 2px solid rgba(139, 92, 246, 0.3);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #8b5cf6;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section a {
  display: block;
  color: rgba(226, 232, 240, 0.7);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #f59e0b;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  color: rgba(226, 232, 240, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .home-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .text h1 {
    font-size: 2.5rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .text h1 {
    font-size: 2rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .cards,
  .special-offers,
  .reviews {
    grid-template-columns: 1fr;
  }
}
