/* =============================================
   GEMSTONE PORTFOLIO STYLESHEET - CORRECTED
   ============================================= */

/* ===========================
   GOOGLE FONTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700&display=swap');

/* ===========================
   CSS VARIABLES
   =========================== */
:root {
  --glow-color: rgba(127, 255, 212, 0.8);
  --active-glow: rgba(255, 215, 0, 1);
}

/* ===========================
   RESET & BASE
   =========================== */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { width:100%; min-height:100vh; }
body {
  font-family: 'Poppins', sans-serif;
  color:#fff;
  line-height:1.6;
  background: url('assets/vibrantdesktop.png') no-repeat center center fixed;
  background-size: cover;
  overflow-x:hidden;
}

/* =============================================
   CURVED HEADER - IMPROVED READABILITY
   ============================================= */
header {
  width:100%;
  min-height:600px;
  background: url('assets/vibrantdesktop.png') center center/cover no-repeat fixed;
  border-radius: 0 0 85% 85% / 30%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

header .overlay {
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.15) 10%, rgba(126,200,195,0.25) 100%);
}

/* IMPROVED HEADER TEXT - Dark Poppins, NO YELLOW GLOW */
header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 900;
  margin-top: 96px;
  margin-bottom: 20px;
  color: #1a1a1a;
  text-shadow: 
    2px 2px 0px rgba(255,255,255,0.8),
    3px 3px 6px rgba(0,0,0,0.3);
  animation: fadeIn 1.5s ease-in;
  letter-spacing: 2px;
}

header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #2d2d2d;
  text-shadow: 
    1px 1px 0px rgba(255,255,255,0.9),
    2px 2px 4px rgba(0,0,0,0.3);
}

header p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight:600;
  color: #333;
  margin-bottom:30px;
  text-shadow: 
    1px 1px 0px rgba(255,255,255,0.9),
    0 2px 4px rgba(0,0,0,0.3);
}

/* ===========================
   ABOUT THE ARTIST SECTION
   =========================== */
.about-section {
  width: 100%;
  padding: 0 20px 60px 20px;
  background: transparent;
  margin-bottom: 40px;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(0,0,0,0.4), rgba(127,255,212,0.15));
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 50px 40px;
  border: 3px solid rgba(127,255,212,0.3);
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  transition: all 0.4s ease;
}

.about-container:hover {
  border-color: var(--glow-color);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(127,255,212,0.3);
  transform: translateY(-5px);
}

.about-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  color: var(--glow-color);
  margin-bottom: 30px;
  text-shadow: 0 0 20px var(--glow-color), 0 2px 10px rgba(0,0,0,0.8);
  letter-spacing: 2px;
}

.about-content {
  color: #fff;
}

.about-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  font-weight: 400;
}

/* ===========================
   FOOTER WITH SOCIAL LINKS
   =========================== */
#wrap {
  width:100%;
  min-height:400px;
  position:relative;
  margin: 80px auto 0 auto;
  overflow:hidden;
  background:#000;
  padding-top:60px;
}

/* Social Media Links in Footer */
.footer-social {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 30px 20px 20px 20px;
}

.footer-social-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--glow-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(127,255,212,0.5);
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(127,255,212,0.1);
  border: 2px solid rgba(127,255,212,0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-social-link:hover {
  background: rgba(127,255,212,0.3);
  border-color: var(--glow-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(127,255,212,0.5);
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  fill: var(--glow-color);
  transition: all 0.3s ease;
}

.footer-social-link:hover .footer-social-icon {
  fill: #fff;
  filter: drop-shadow(0 0 8px var(--glow-color));
}

/* ===========================
   GEMSTONE BUTTONS
   =========================== */
.gemstone-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:30px;
  max-width:1400px;
  margin: 60px auto 80px auto;
  padding: 0 20px;
}

.gemstone-button {
  position:relative;
  background: linear-gradient(145deg, rgba(0,0,0,0.25), rgba(127,255,212,0.05));
  border:3px solid rgba(255,255,255,0.2);
  border-radius:20px;
  padding:20px;
  cursor:pointer;
  min-height:200px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.gemstone-button img {
  width:120px;
  height:120px;
  object-fit:contain;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
  transition: all 0.4s ease;
  margin-bottom:15px;
}

.button-label {
  font-family: 'Poppins', sans-serif;
  font-size:1.1rem;
  font-weight:700;
  color:#1a1a1a;
  text-align:center;
  z-index:2;
  position:relative;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.gemstone-button:hover {
  transform:translateY(-10px) scale(1.05);
  border-color: var(--glow-color);
  box-shadow: 0 15px 40px rgba(127,255,212,0.4), 0 0 30px rgba(127,255,212,0.3);
  background: rgba(127,255,212,0.1);
}

.gemstone-button:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 25px rgba(127,255,212,0.6));
}

.gemstone-button:hover .button-label {
  color: #000;
  transform: scale(1.05);
  text-shadow: 0 0 10px var(--glow-color), 0 1px 2px rgba(255,255,255,0.8);
}

.gemstone-button.active {
  border-color:#ffd700;
  background: rgba(255,215,0,0.15);
  box-shadow: 0 15px 50px rgba(255,215,0,0.6),0 0 40px rgba(255,215,0,0.5), inset 0 0 20px rgba(255,215,0,0.2);
  transform: translateY(-5px);
}

.gemstone-button.active img {
  filter: drop-shadow(0 8px 25px rgba(255,215,0,0.8));
  animation: gemPulse 2s ease-in-out infinite;
}

.gemstone-button.active .button-label {
  color:#ffd700;
  font-weight:900;
  text-shadow: 0 0 15px rgba(255,215,0,0.8);
}

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

/* ===========================
   MAIN GALLERY GRID - SMALLER CARDS
   ============================================= */
.gallery-main {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 80px auto 0 auto;
  background: linear-gradient(180deg, rgba(188, 225, 239, 0.85) 0%, rgba(210, 210, 213, 0.85) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  color: var(--glow-color);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 20px var(--glow-color);
}

/* Active Category Display */
.active-category {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  padding: 15px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

#category-name {
  color: var(--glow-color);
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* SMALLER Gallery Items */
.gallery-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(127, 255, 212, 0.3);
  transition: all 0.4s ease;
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
}

/* Filtering States */
.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.gallery-item.show {
  opacity: 1;
  transform: scale(1);
  animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-item:hover {
  transform: translateY(-10px);
  border-color: var(--glow-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
              0 0 30px var(--glow-color);
}

/* SMALLER Images - 300px instead of 400px */
.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

.gallery-caption {
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.gallery-caption h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--glow-color);
  margin-bottom: 8px;
}

.gallery-caption p {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 300;
}

/* ===========================
   LIGHTBOX STYLES
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox-image {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(127,255,212,0.3);
}

.lightbox-info {
  margin-top: 30px;
  text-align: center;
  max-width: 600px;
}

.lightbox-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: var(--glow-color);
  margin-bottom: 15px;
  text-shadow: 0 0 20px var(--glow-color);
}

.lightbox-info p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 20px;
}

.lightbox-link {
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: var(--glow-color);
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(127,255,212,0.4);
}

.lightbox-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(127,255,212,0.6);
  background: #ffd700;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--glow-color);
  transform: scale(1.2);
}

/* ===========================
   NOTIFICATION POPUP
   =========================== */
.notification {
  font-family: 'Poppins', sans-serif;
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  color: var(--glow-color);
  padding: 15px 25px;
  border-radius: 10px;
  border: 2px solid var(--glow-color);
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 10000;
  box-shadow: 0 5px 20px rgba(127,255,212,0.4);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer Light Animations */
#lightings {
  bottom:-60px;
  position:absolute;
  width:100%;
  z-index: 1;
}

section {
  border-radius:50%;
  height:20px;
  width:100%;
  position:relative;
  margin:auto;
}

#one { animation: one 5s ease-in-out infinite alternate; }
#two { width:90%; animation: two 4s ease-in-out infinite alternate; }
#three { width:80%; animation: three 3s ease-in-out infinite alternate; }
#four { width:70%; animation: four 2s ease-in-out infinite alternate; }
#five { width:60%; animation: five 1s ease-in-out infinite alternate; }

@keyframes one { from{box-shadow:0 0 250px 20px #473C78} to{box-shadow:0 0 100px 15px #F72A3B} }
@keyframes two { from{box-shadow:0 0 250px 20px #18C499} to{box-shadow:0 0 100px 15px #D8F05E} }
@keyframes three { from{box-shadow:0 0 250px 20px #FFDD00} to{box-shadow:0 0 100px 15px #3E33FF} }
@keyframes four { from{box-shadow:0 0 250px 20px #781848} to{box-shadow:0 0 100px 15px #F2BBE9} }
@keyframes five { from{box-shadow:0 0 250px 20px #42F2A1} to{box-shadow:0 0 100px 15px #F4F6AD} }

.footer-content {
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  color: var(--glow-color);
  font-size: 0.95rem;
  text-shadow: 0 0 10px var(--glow-color), 0 0 20px rgba(127,255,212,0.3);
}

/* ===========================
   UTILITY ANIMATIONS
   =========================== */
@keyframes fadeIn { 
  0%{opacity:0;transform:translateY(10px);}
  100%{opacity:1;transform:translateY(0);} 
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
  header h1 {
    font-size: 50px;
    margin-top: 60px;
  }
  
  header h3 {
    font-size: 1.5rem;
  }
  
  .gemstone-nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px auto 60px auto;
  }
  
  .about-section {
    padding: 0 20px 40px 20px;
    margin-bottom: 30px;
  }
  
  .about-container {
    padding: 35px 25px;
  }
  
  .about-title {
    font-size: 2.2rem;
  }
  
  .about-text {
    font-size: 1.05rem;
    line-height: 1.8;
  }
  
  .gallery-main {
    margin: 60px auto 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .lightbox-image {
    max-width: 95%;
    max-height: 60vh;
  }
  
  #wrap {
    margin: 60px auto 0 auto;
  }
}

@media (max-width: 480px) {
  header h1 {
    margin-top: 48px;
  }
  
  .gemstone-nav {
    margin: 30px auto 50px auto;
  }
  
  .about-section {
    padding: 0 20px 30px 20px;
    margin-bottom: 20px;
  }
  
  .about-container {
    padding: 25px 20px;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-text {
    font-size: 1rem;
  }
  
  .gallery-main {
    margin: 40px auto 0 auto;
  }
  
  #wrap {
    margin: 40px auto 0 auto;
  }
}
