
:root{
  --bg:#102a46;
  --panel:#0f2e4f;
  --accent:#33eaff;
  --muted:rgba(255,255,255,.12);
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--bg);
  color:#fff;
  padding-top:100px;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

main{
  flex:1;
  background:var(--bg);
}

.gallery-root{
  max-width:1200px;
  margin:0 auto;
  padding:40px 20px 60px;
}

/* ===== HEADER ===== */
.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-title{
  color:var(--accent);
  font-weight:800;
  font-size:3rem;
  margin-bottom:15px;
  letter-spacing:-0.5px;
   font-family: 'Playfair Display', serif;
     text-shadow: 0 0 10px rgba(0, 200, 255, 0.7),
               0 0 25px rgba(0, 200, 255, 0.4);
}

.gallery-subtitle{
  font-size:1.2rem;
  opacity:.9;
  max-width:800px;
  margin:0 auto;
  line-height:1.6;
  color:rgba(255,255,255,0.85);
}

/* ===== TABS SECTION ===== */
.tabs-section {
  margin-bottom: 40px;
}

.tabs-title {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tabs-title i {
  font-size: 1.2rem;
}

.tabs-container {
  background: var(--panel);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,0.1);
}

.tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.tab{
  padding:10px 20px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.15);
  background:rgba(255,255,255,0.05);
  color:#fff;
  font-weight:500;
  cursor:pointer;
  transition:all 0.2s ease;
  font-size:0.95rem;
  position:relative;
  overflow:hidden;
}

.tab:hover{
  background:rgba(51,234,255,0.15);
  border-color:var(--accent);
  transform:translateY(-2px);
}

.tab.active{
  background:var(--accent);
  color:var(--bg);
  border-color:var(--accent);
  font-weight:600;
  box-shadow:0 5px 15px rgba(51,234,255,0.3);
}

/* ===== GALLERY CONTENT ===== */
.gallery-content {
  background: var(--panel);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Category Header */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-header h2 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.category-badge {
  background: rgba(51,234,255,0.1);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(51,234,255,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-badge i {
  font-size: 0.8rem;
}

/* Image Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.grid-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.2);
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(51,234,255,0.2);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-item:hover img {
  transform: scale(1.1);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 15px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.grid-item:hover .image-overlay {
  opacity: 1;
  transform: translateY(0);
}

.image-overlay h4 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.image-overlay p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.image-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--accent);
}

/* Gallery Info */
.gallery-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.image-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.image-count i {
  color: var(--accent);
  font-size: 1.1rem;
}

.category-tags {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tags-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(51,234,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(51,234,255,0.2);
}

/* Placeholder */
.placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  color: rgba(255,255,255,0.5);
}

.placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.2);
}

.placeholder h4 {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.placeholder p {
  font-size: 1rem;
  opacity: 0.6;
}

/* ===== LIGHTBOX ===== */
/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* AGGRESSIVE FIX - MAKE IMAGES BIG */
.lightbox img {
  max-width: 95vw !important;
  max-height: 85vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
  display: block;
  box-shadow: 0 25px 75px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 30px;
  right: 30px;
  background: rgba(0,0,0,0.8);
  border: 2px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 50px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover{
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 50px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.lightbox-nav:hover{
  background: rgba(51,234,255,0.5);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

.lightbox-caption {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  padding: 15px 30px;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  font-weight: 600;
  max-width: 80%;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 992px){
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px){
  .gallery-root {
    padding: 30px 15px 50px;
  }
  
  .gallery-title {
    font-size: 2.4rem;
  }
  
  .gallery-subtitle {
    font-size: 1.1rem;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .gallery-content {
    padding: 25px;
  }
  
  .gallery-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .category-tags {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 576px){
  .grid {
    grid-template-columns: 1fr;
  }
  
  .tabs {
    justify-content: center;
  }
  
  .tab {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .category-header h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px){
  .gallery-title {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-container {
    padding: 20px;
  }
}
/* Ensure lightbox image is always visible */
#lightboxImg {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
