/* Egyptian Creativity Blog - Matching Index Page Design */

/* CSS Variables - Egyptian Color Palette */
:root {
  /* Your specified color palette */
  --royal-dark-blue: #052077;
  --rich-blue: #2b2b90;
  --medium-blue-violet: #3535ab;
  --royal-orange: #e06427;
  --soft-yellow: #e5bbcb;
  --soft-gold: #cb8a58;
  --beige-gold: #dfbe8c;
  --dark-golden-brown: #ba8249;
  
  /* Additional Egyptian colors */
  --pyramid-gold: #FFD700;
  --desert-sand: #F4E4BC;
  --papyrus: #F7F3E3;
  --ancient-bronze: #CD7F32;
  
  /* Text colors */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-light: #ffffff;
  --text-gold: var(--soft-gold);
  
  /* Shadows and effects */
  --shadow-primary: 0 10px 30px rgba(5, 32, 119, 0.3);
  --shadow-gold: 0 0 30px rgba(203, 138, 88, 0.5);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.6);
  
  /* Typography */
  --font-primary: 'Cinzel', serif;
  --font-secondary: 'Cormorant Garamond', serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: url('../images/go3raann.cur'), auto !important;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--rich-blue) 0%, var(--medium-blue-violet) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  cursor: url('../images/go3raann.cur'), auto !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ANIMATED BACKGROUND (From Index Page) */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rich-blue) 0%, var(--medium-blue-violet) 50%, var(--royal-dark-blue) 100%);
}

.pyramid-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, transparent 50%, rgba(212, 175, 55, 0.05) 50%);
  animation: pyramidRotate 20s linear infinite;
}

@keyframes pyramidRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.sand-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.sand-particles::before,
.sand-particles::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--pyramid-gold);
  border-radius: 50%;
  animation: sandFloat 15s linear infinite;
}

.sand-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sand-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

@keyframes sandFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-100px) translateX(50px);
  }
}

.hieroglyph-symbols {
  position: absolute;
  width: 100%;
  height: 100%;
}

.symbol {
  position: absolute;
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.1);
  animation: symbolFloat 20s ease-in-out infinite;
}

.symbol:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.symbol:nth-child(2) { top: 20%; right: 10%; animation-delay: 3s; }
.symbol:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 6s; }
.symbol:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 9s; }
.symbol:nth-child(5) { top: 50%; left: 8%; animation-delay: 12s; }
.symbol:nth-child(6) { top: 70%; right: 5%; animation-delay: 15s; }

@keyframes symbolFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.3;
  }
}

.golden-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent, rgba(212, 175, 55, 0.05), transparent);
  animation: raysRotate 30s linear infinite;
}

@keyframes raysRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-artifacts {
  position: absolute;
  width: 100%;
  height: 100%;
}

.artifact {
  position: absolute;
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.2);
  animation: artifactFloat 15s ease-in-out infinite;
}

.artifact-1 { top: 10%; left: 10%; animation-delay: 0s; }
.artifact-2 { top: 20%; right: 15%; animation-delay: 4s; }
.artifact-3 { bottom: 30%; left: 20%; animation-delay: 8s; }
.artifact-4 { bottom: 20%; right: 10%; animation-delay: 12s; }

@keyframes artifactFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.4;
  }
}

/* Loading Screen */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--royal-dark-blue) 0%, var(--rich-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: all 1s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--text-light);
}

.loading-pyramid {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  animation: pulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.loading-pyramid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loading-text {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--pyramid-gold);
}

.loading-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--soft-yellow);
}

.loading-progress {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--pyramid-gold), var(--soft-gold));
  border-radius: 2px;
  width: 0;
  transition: width 0.3s ease;
}

.skip-btn {
  background: transparent;
  border: 2px solid var(--pyramid-gold);
  color: var(--pyramid-gold);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skip-btn:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Header - MATCHING SHOP PAGE SIZES */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 32, 119, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(203, 138, 88, 0.3);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(5, 32, 119, 0.98);
  box-shadow: var(--shadow-primary);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 1.2rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-light);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pyramid-gold);
  line-height: 1;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--soft-yellow);
  line-height: 1;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pyramid-gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pyramid-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-light);
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.header-icon:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--royal-orange);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.75rem;
  width: 44px;
  height: 44px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.mobile-menu-btn span {
  width: 22px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
  display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 32, 119, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(203, 138, 88, 0.3);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  margin: 10vh auto;
  transform: translateY(-20px);
  transition: var(--transition-smooth);
}

.search-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(203, 138, 88, 0.3);
}

.modal-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--pyramid-gold);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pyramid-gold);
}

.search-input-container {
  position: relative;
  padding: 1.5rem;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(203, 138, 88, 0.3);
  color: var(--text-light);
  padding: 1rem 3rem 1rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--pyramid-gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.search-input::placeholder {
  color: var(--soft-yellow);
}

.search-icon {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft-gold);
}

.search-suggestions {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestion-item {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.suggestion-item:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  position: relative;
  background: transparent;
  margin-top: 40px;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: var(--text-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
  border: 2px solid #ffd700 !important;
  border-radius: 50px !important;
  padding: 0.75rem 2rem !important;
  margin-bottom: 2rem !important;
  font-size: 1rem !important;
  color: #1a1a2e !important;
  backdrop-filter: blur(10px) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.hero-title {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-title .line {
  display: block;
  line-height: 1.1;
}

.hero-title .golden {
  background: linear-gradient(45deg, var(--pyramid-gold), var(--soft-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--soft-yellow);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

#exploreBtn.btn-primary {
  background: var(--royal-orange) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 20px rgba(224, 100, 39, 0.4) !important;
  font-weight: 700 !important;
}

#categoriesBtn.btn-secondary {
  background: transparent !important;
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;
  font-weight: 700 !important;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--pyramid-gold);
  color: var(--pyramid-gold);
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pyramid-gold);
  line-height: 1;
  text-shadow: var(--glow-gold);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--soft-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.featured-blog {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(203, 138, 88, 0.3);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  box-shadow: var(--shadow-primary);
}

.blog-showcase {
  text-align: center;
}

.blog-image {
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-image:hover img {
  transform: scale(1.05);
}

.blog-info h3 {
  color: var(--pyramid-gold);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.blog-info p {
  color: var(--soft-yellow);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.blog-category {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--pyramid-gold);
  box-shadow: var(--glow-gold);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--soft-yellow);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: var(--pyramid-gold);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.5); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
  border: 2px solid #ffd700 !important;
  border-radius: 50px !important;
  padding: 0.75rem 2rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 1rem !important;
  color: #1a1a2e !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.section-title {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.section-description {
  font-size: 1.1rem;
  color: var(--soft-yellow);
  line-height: 1.7;
}

/* Featured Article Section */
.featured-article {
  background: rgba(53, 53, 171, 0.3);
  backdrop-filter: blur(10px);
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-primary);
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.featured-image:hover img {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
}

.featured-category {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-text {
  color: var(--text-light);
}

.featured-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.featured-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: var(--soft-yellow);
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-description {
  font-size: 1.1rem;
  color: var(--soft-yellow);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.read-more-btn {
  background: var(--royal-orange);
  color: var(--text-light);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.read-more-btn:hover {
  background: #d55a1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224, 100, 39, 0.6);
}

/* Filter Section */
.filter-section {
  padding: 5rem 0;
  background: rgba(43, 43, 144, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 2px solid rgba(203, 138, 88, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--pyramid-gold);
  transition: left 0.4s ease;
  z-index: 1;
}

.filter-btn span {
  position: relative;
  z-index: 2;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--pyramid-gold);
  transform: translateY(-2px);
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover span,
.filter-btn.active span {
  color: var(--royal-dark-blue);
}

.search-container {
  display: flex;
  justify-content: center;
}

.search-box {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft-gold);
  z-index: 2;
}

.search-box .search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(203, 138, 88, 0.3);
  border-radius: 25px;
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.search-box .search-input:focus {
  outline: none;
  border-color: var(--pyramid-gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.search-box .search-input::placeholder {
  color: var(--soft-yellow);
}

.input-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  border-radius: 25px;
  transition: left 0.8s ease;
  pointer-events: none;
}

.search-box .search-input:focus + .input-glow {
  left: 100%;
}

/* Articles Grid Section */
.articles-section {
  padding: 5rem 0;
  background: rgba(53, 53, 171, 0.3);
  backdrop-filter: blur(10px);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(203, 138, 88, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--pyramid-gold);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.article-card:hover .card-image img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
}

.card-category {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--soft-yellow);
  font-size: 0.85rem;
}

.card-excerpt {
  color: var(--soft-yellow);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pyramid-gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: var(--soft-gold);
  transform: translateX(5px);
}

.load-more-container {
  text-align: center;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(203, 138, 88, 0.3);
  z-index: 2000;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(203, 138, 88, 0.3);
  background: var(--royal-dark-blue);
}

.sidebar-header h3 {
  font-family: var(--font-primary);
  color: var(--pyramid-gold);
}

.sidebar-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pyramid-gold);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty,
.wishlist-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cart-item,
.wishlist-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(203, 138, 88, 0.3);
  position: relative;
}

.cart-item-image,
.wishlist-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-details,
.wishlist-item-details {
  flex: 1;
  color: var(--text-light);
}

.cart-item-title,
.wishlist-item-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-price,
.wishlist-item-price {
  color: var(--pyramid-gold);
  font-weight: 600;
}

.cart-item-remove,
.wishlist-item-remove {
  position: absolute;
  top: 1rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--soft-yellow);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover,
.wishlist-item-remove:hover {
  color: #ff6b6b;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(203, 138, 88, 0.3);
  background: rgba(5, 32, 119, 0.3);
}

.cart-summary {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pyramid-gold);
  border-top: 1px solid rgba(203, 138, 88, 0.3);
  padding-top: 0.5rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer */
.footer {
  background: var(--royal-dark-blue);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(203, 138, 88, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--soft-yellow);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  transform: translateY(-2px);
}

.footer-section h4 {
  color: var(--pyramid-gold);
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--soft-yellow);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--pyramid-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--soft-yellow);
}

/* Notifications */
.notification-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 3000;
}

.notification {
  background: rgba(5, 32, 119, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid var(--pyramid-gold);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  min-width: 300px;
  transform: translateX(100%);
  transition: var(--transition-smooth);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.notification.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.notification.info {
  border-color: var(--pyramid-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .featured-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-visual {
    order: 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Reduce animation sizes for tablets */
  .golden-rays {
    width: 400px;
    height: 400px;
  }

  .symbol {
    font-size: 1.5rem;
  }

  .artifact {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    background: linear-gradient(135deg, var(--royal-dark-blue) 0%, var(--rich-blue) 100%) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1500 !important;
    padding: 2rem 0 !important;
    text-align: center !important;
    box-shadow: 0 12px 40px rgba(5, 32, 119, 0.3) !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: none !important;
  }
  .nav-menu.active {
    display: block !important;
    animation: slideDown 0.3s ease-out !important;
  }
  .nav-link {
    display: block !important;
    padding: 1.2rem 2rem !important;
    font-size: 1.1rem !important;
    color: var(--text-light) !important;
    border: none !important;
    background: none !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin: 0.25rem 1rem !important;
    border-radius: 8px !important;
  }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--pyramid-gold) !important;
    transform: translateY(-2px) !important;
  }
  .nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--pyramid-gold) !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
  }
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 60% !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  /* Mobile spacing to offset fixed header */
  .hero {
    padding: 160px 0 60px;
    margin-top: 40px;
  }

  /* Ensure mobile menu button is always visible on mobile */
  .header-actions .mobile-menu-btn {
    order: 999;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .newsletter-btn {
    width: 100%;
  }
  
  .sidebar {
    width: 100%;
  }

  /* Mobile animations adjustments */
  .symbol {
    font-size: 1.2rem;
  }

  .artifact {
    font-size: 1.5rem;
  }

  .golden-rays {
    width: 300px;
    height: 300px;
  }

  .pyramid-bg {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }
  
  .hero {
    padding: 140px 0 60px;
    margin-top: 30px;
  }
  
  .filter-section,
  .articles-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .featured-blog {
    max-width: 100%;
    padding: 1rem;
  }

  /* Small screen animations adjustments */
  .symbol {
    font-size: 1rem;
  }

  .artifact {
    font-size: 1.2rem;
  }

  .golden-rays {
    width: 250px;
    height: 250px;
  }

  .pyramid-bg {
    width: 100px;
    height: 100px;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-gold);
}

/* Center Stories by Category section */
.stories-category-section .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.stories-category-section .section-badge,
.stories-category-section .section-title,
.stories-category-section .section-description {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.filter-section .filter-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.filter-section .section-badge,
.filter-section .section-title,
.filter-section .section-description {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Make 'Load More Articles' button smaller and centered on blog page */
.load-more-container .btn {
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  display: block;
  border-width: 2px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } 
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --pyramid-gold: #FFD700;
    --soft-gold: #FFA500;
    --text-light: #000000;
  }
}