/* Egyptian Creativity Gallery - With Index Page Background Animations */

/* CSS Variables - Egyptian Color Palette (Same as Index) */
: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);
  --transition-ultra-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Sidebar background */
  --bg-card: rgba(255,255,255,0.97);
}

/* 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;
  height: 100%;
}

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;
  min-height: 100vh;
  margin: 0;
}

.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 (Same as 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 (Same as Index) */
.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 (Same as Index) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 32, 119, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(203, 138, 88, 0.3);
  box-shadow: var(--shadow-primary);
  transition: var(--transition-smooth);
}

.header.scrolled {
  /* Keep the same styles as default header */
  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);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.logo:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.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;
}

/* Match index page logo dimensions */
.header .logo img{
  height:120px !important;
  width:300px !important;
  object-fit:contain;
  border-radius:8px;
}

.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);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 80px; /* reduced gap below navbar */
  position: relative;
  background: transparent;
  margin-top: 0;
}

.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);
  animation: slideInLeft 1s ease-out;
}

.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;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-title {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-title .line {
  display: block;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out both;
}

.hero-title .line:nth-child(1) { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) { animation-delay: 0.6s; }
.hero-title .line:nth-child(3) { animation-delay: 0.8s; }

.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;
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.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;
}

#heritageBtn.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);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  animation: fadeInUp 1s ease-out 1.4s both;
  width: 100%;
}

.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);
  transition: all 0.3s ease;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--soft-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: slideInRight 1s ease-out 0.5s both;
}

.featured-gallery {
  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);
  transform: perspective(1000px) rotateY(0deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: heroProductFloat 6s ease-in-out infinite;
}

.featured-gallery:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--pyramid-gold);
}

@keyframes heroProductFloat {
  0%, 100% {
      transform: perspective(1000px) rotateY(0deg) translateY(0px);
  }
  25% {
      transform: perspective(1000px) rotateY(2deg) translateY(-5px);
  }
  50% {
      transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  }
  75% {
      transform: perspective(1000px) rotateY(-2deg) translateY(-5px);
  }
}

.gallery-showcase {
  text-align: center;
}

.showcase-image {
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.showcase-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.showcase-image:hover::before {
  opacity: 1;
}

.showcase-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-image:hover img {
  transform: scale(1.1) rotate(2deg);
}

.showcase-info h3 {
  color: var(--pyramid-gold);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
  transition: var(--transition-ultra-smooth);
}

.featured-gallery:hover .showcase-info h3 {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.showcase-info p {
  color: var(--soft-yellow);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  transition: var(--transition-ultra-smooth);
}

.featured-gallery:hover .showcase-info p {
  color: var(--pyramid-gold);
}

.showcase-category {
  display: inline-block;
  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;
  letter-spacing: 1px;
  transition: var(--transition-ultra-smooth);
}

.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-ultra-smooth);
}

.dot.active {
  background: var(--pyramid-gold);
  box-shadow: var(--glow-gold);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--pyramid-gold);
  transform: scale(1.1);
}

.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;
  animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: var(--pyramid-gold);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Hero Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.5); }
}

/* 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;
}

/* Filter Section */
.filter-section {
  background: rgba(53, 53, 171, 0.3);
  backdrop-filter: blur(10px);
}

.filter-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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%;
}

/* Gallery Grid Section */
.gallery-grid-section {
  background: rgba(43, 43, 144, 0.3);
  backdrop-filter: blur(10px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  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;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--pyramid-gold);
}

.gallery-item-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(5, 32, 119, 0.8), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  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;
}

.gallery-item-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-actions {
  opacity: 1;
  transform: translateY(0);
}

.gallery-action-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-action-btn:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
  transform: scale(1.1);
}

.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 32, 119, 0.95);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-container {
  max-width: 90vw;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(203, 138, 88, 0.3);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(5, 32, 119, 0.8);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
}

.lightbox-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  max-height: 90vh;
}

.lightbox-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--royal-dark-blue);
  min-height: 500px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
}

.lightbox-prev,
.lightbox-next {
  width: 40px;
  height: 40px;
  background: rgba(5, 32, 119, 0.8);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
}

.lightbox-info {
  padding: 2rem;
  color: var(--text-light);
  overflow-y: auto;
}

.lightbox-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;
  display: inline-block;
  margin-bottom: 1rem;
}

.lightbox-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--pyramid-gold);
  margin-bottom: 1rem;
}

.lightbox-description {
  color: var(--soft-yellow);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.lightbox-details {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--pyramid-gold);
}

.lightbox-details p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.lightbox-actions {
  display: flex;
  gap: 1rem;
}

.lightbox-actions .btn {
  flex: 1;
}

/* 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);
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  height: 100vh;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(203, 138, 88, 0.3);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: right 0.3s ease;
  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: rgba(5, 32, 119, 0.1);
}

.sidebar-header h3 {
  color: var(--pyramid-gold);
  font-family: var(--font-primary);
  margin: 0;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.sidebar-close:hover {
  background: rgba(203, 138, 88, 0.1);
  color: var(--pyramid-gold);
}

.sidebar-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(203, 138, 88, 0.3);
  background: rgba(5, 32, 119, 0.05);
}

/* Cart and Wishlist Empty States */
.cart-empty,
.wishlist-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Cart Items */
.cart-item,
.wishlist-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(203, 138, 88, 0.1);
}

.cart-item-image,
.wishlist-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details,
.wishlist-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-title,
.wishlist-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price,
.wishlist-item-price {
  font-size: 0.8rem;
  color: var(--pyramid-gold);
  font-weight: 600;
}

.cart-item-remove,
.wishlist-item-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.cart-item-remove:hover,
.wishlist-item-remove:hover {
  color: #ef4444;
}

/* Cart Summary */
.cart-summary {
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid rgba(203, 138, 88, 0.3);
  padding-top: 0.5rem;
  color: var(--pyramid-gold);
}

/* Cart Actions */
.cart-actions {
  display: flex;
  gap: 0.5rem;
}

.wishlist-item-actions {
  margin-top: 0.5rem;
}

/* Footer (Same as Index) */
.footer {
  background: var(--royal-dark-blue);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(203, 138, 88, 0.3);
  margin-top: 0;
}

.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 {
  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);
  margin-bottom: 0;
}

/* 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 {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-visual {
    order: 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .lightbox-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    width: 100%;
    right: -100%;
  }
}

@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;
  }

  /* 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;
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Mobile animations adjustments */
  .symbol {
    font-size: 1.5rem;
  }

  .artifact {
    font-size: 2rem;
  }

  .golden-rays {
    width: 400px;
    height: 400px;
  }
  
  /* Enhanced mobile styles - MATCH INDEX PAGE EXACTLY */
  .container {
    padding: 0 1.5rem;
  }
  
  .header-container {
    padding: 0 1.5rem;
  }
  
  .hero {
    padding: 160px 0 80px;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Mobile navigation improvements - MATCH INDEX PAGE */
  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }
  
  .mobile-menu-btn span {
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .logo {
    gap: 0.5rem;
  }
  
  .logo-main {
    font-size: 1rem;
  }
  
  .logo-sub {
    font-size: 0.7rem;
  }
  
  .logo img {
    height: 60px !important;
    width: 150px !important;
  }
  
  .hero {
    padding: 140px 0 60px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .filter-section,
  .gallery-grid { grid-template-columns: 1fr !important; }
  .gallery-grid-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .featured-gallery {
    max-width: 100%;
    padding: 1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* Small screen animations adjustments */
  .loading-pyramid {
    width: 80px;
    height: 80px;
  }

  .loading-text {
    font-size: 1.5rem;
  }

  .loading-progress {
    width: 250px;
  }
}

/* Utility Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }

.hidden { display: none; }
.visible { display: block; }

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(42, 42, 42, 0.8);
}

::-webkit-scrollbar-thumb {
  background: var(--pyramid-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--soft-gold);
}

/* Selection Styling */
::selection {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
}

::-moz-selection {
  background: var(--pyramid-gold);
  color: var(--royal-dark-blue);
}

/* Make 'Load More Treasures' button smaller and centered on gallery 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;
}

/* Product Preview Modal */
.product-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 50, 70, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    opacity: 0.98;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-preview-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

.product-preview-container {
    display: flex;
    flex-direction: row;
    max-height: 80vh;
}

.product-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(5, 32, 119, 0.85);
    backdrop-filter: blur(15px);
}

.product-preview-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.product-preview-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.product-preview-modal.active .product-preview-content {
    transform: scale(1);
}

.product-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(5, 32, 119, 0.9);
    border: 2px solid var(--pyramid-gold);
    color: var(--pyramid-gold);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-preview-close:hover {
    background: var(--pyramid-gold);
    color: var(--royal-dark-blue);
    transform: scale(1.1);
}

.product-preview-container {
    display: flex;
    height: 100%;
    min-height: 600px;
}

/* Left Section - Product Image - FIXED */
.product-preview-image-section {
    flex: 0 0 65%;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    border-right: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 90%;
    height: 90%;
    background: #000;
    border: 15px solid #000;
    border-radius: 10px;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.preview-product-image:hover {
    transform: scale(1.02);
}

.product-watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: none; /* Hide the watermark */
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 12px;
}

.watermark-text {
    text-align: right;
}

.watermark-main {
    font-weight: 600;
    color: var(--pyramid-gold);
    margin-bottom: 2px;
}

.watermark-sub {
    font-size: 10px;
    opacity: 0.8;
}

.watermark-icon {
    font-size: 16px;
    color: var(--pyramid-gold);
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--pyramid-gold);
    color: var(--pyramid-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.product-image-container:hover .image-nav-btn {
    opacity: 1;
}

.image-nav-btn:hover {
    background: var(--pyramid-gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.image-prev {
    left: 20px;
}

.image-next {
    right: 20px;
}

/* Right Section - Product Details */
.product-preview-details-section {
    flex: 0 0 35%;
    background: rgba(5, 32, 119, 0.95);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    backdrop-filter: blur(10px);
}

.product-category-tag {
    display: inline-block;
    background: var(--pyramid-gold);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.product-preview-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--pyramid-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-preview-price {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--pyramid-gold), var(--soft-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-preview-description {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.product-specifications {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.spec-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--pyramid-gold);
    font-size: 14px;
    min-width: 80px;
}

.spec-value {
    font-family: var(--font-secondary);
    color: #fff;
    font-size: 14px;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.product-preview-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.action-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn {
    background: #fff;
    color: #000;
}

.add-to-cart-btn:hover {
    background: var(--pyramid-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.add-to-wishlist-btn {
    background: transparent;
    color: #fff;
    border: 2px solid var(--pyramid-gold);
}

.add-to-wishlist-btn:hover {
    background: var(--pyramid-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.add-to-wishlist-btn.active {
    background: var(--pyramid-gold);
    color: #000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-preview-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .product-preview-image-section {
        flex: 0 0 50%;
        min-height: 300px;
    }
    
    .product-preview-details-section {
        flex: 0 0 50%;
        padding: 30px 20px;
    }
    
    .product-preview-title {
        font-size: 24px;
    }
    
    .product-preview-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .product-preview-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .product-preview-image-section {
        min-height: 250px;
        padding: 15px;
    }
    
    .image-frame {
        border-width: 10px;
    }
    
    .product-preview-details-section {
        padding: 20px 15px;
    }
    
    .product-preview-title {
        font-size: 20px;
    }
    
    .product-specifications {
        padding: 20px;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .spec-value {
        text-align: left;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .product-preview-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .product-preview-container {
        height: 100%;
    }
    
    .product-preview-image-section {
        flex: 0 0 40%;
        min-height: 200px;
        padding: 10px;
    }
    
    .image-frame {
        border-width: 8px;
    }
    
    .product-preview-details-section {
        flex: 0 0 60%;
        padding: 15px;
    }
    
    .product-preview-title {
        font-size: 18px;
    }
    
    .product-preview-description {
        font-size: 14px;
    }
    
    .product-specifications {
        padding: 15px;
    }
    
    .action-btn {
        padding: 12px 15px;
        font-size: 12px;
    }
}