/* ========================================
   PORTFOLIO STYLES - PREMIUM REDESIGN
   ======================================== */

/* Portfolio Section */
.portfolio-section {
  padding: 6rem 0;
  background: transparent;
  position: relative;
}

/* Portfolio Content */
.portfolio-content {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* Premium Category Section */
.portfolio-category-section.premium {
  position: relative;
  scroll-margin-top: 120px;
  padding: 80px 0;
}

.portfolio-category-section.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-indigo), #ff6b6b);
  border-radius: 2px;
  opacity: 0.8;
}

/* Premium Category Header */
.category-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.15), rgba(99, 102, 241, 0.15));
  border: 2px solid rgba(255, 178, 0, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.icon-wrapper i {
  font-size: 2.5rem;
  color: var(--brand-gold);
  filter: drop-shadow(0 4px 8px rgba(255, 178, 0, 0.3));
}

.category-title:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(255, 178, 0, 0.6);
  box-shadow: 0 20px 40px rgba(255, 178, 0, 0.2);
}

.title-text {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #e2e8f0 50%, #cbd5e1 75%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.title-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-indigo));
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.category-title:hover .title-text::after {
  transform: scaleX(1);
}

.category-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Premium Portfolio Grid */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

/* Premium Portfolio Item */
.portfolio-item {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-indigo), #ff6b6b);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255,178,0,0.3);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.3),
    0 0 120px rgba(255,178,0,0.1);
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* Premium Item Media */
.portfolio-item-media {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(255, 178, 0, 0.1));
  flex-shrink: 0;
}

.portfolio-item-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.portfolio-item:hover .portfolio-item-media::before {
  opacity: 1;
}

.portfolio-item-media img,
.portfolio-item-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-item-media img,
.portfolio-item:hover .portfolio-item-media video {
  transform: scale(1.08);
}

/* Premium Video Play Button */
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(220, 38, 38, 0.9));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
  z-index: 2;
  backdrop-filter: blur(10px);
}

.video-play-button:hover {
  background: linear-gradient(135deg, rgba(255, 0, 0, 1), rgba(220, 38, 38, 1));
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.6);
}

/* Premium Item Content */
.portfolio-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(15,23,42,0.95));
  transform: translateY(100px);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item-content {
  transform: translateY(0);
}

.portfolio-item-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-item-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 30px 0;
  opacity: 0.9;
  flex: 1;
}

.portfolio-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.15), rgba(255, 178, 0, 0.05));
  border: 1px solid rgba(255, 178, 0, 0.3);
  color: var(--brand-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.portfolio-item-date {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Load More Button */
.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--brand-gold), #ff9500);
  color: #0a0a0a;
  border: none;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 178, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.premium-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.6s ease;
}

.premium-btn:hover::before {
  left: 100%;
}

.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 178, 0, 0.4);
  background: linear-gradient(135deg, #ff9500, var(--brand-gold));
}

.btn-text {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.premium-btn i {
  transition: transform 0.3s ease;
}

.premium-btn:hover i {
  transform: translateY(2px);
}

.portfolio-actions {
  text-align: center;
  margin-top: 60px;
}

/* Category-Specific Premium Styling */
.portfolio-category-section#video-production .portfolio-item::before {
  background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
}

.portfolio-category-section#web-development .portfolio-item::before {
  background: linear-gradient(90deg, var(--brand-indigo), #4f46e5, #3730a3);
}

.portfolio-category-section#photography .portfolio-item::before {
  background: linear-gradient(90deg, var(--brand-emerald), #059669, #047857);
}

.portfolio-category-section#brand-development .portfolio-item::before {
  background: linear-gradient(90deg, var(--brand-gold), #f59e0b, #d97706);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .premium-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
  }
  
  .category-title {
    font-size: 3rem;
  }
  
  .icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .icon-wrapper i {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-content {
    gap: 100px;
  }
  
  .portfolio-category-section.premium {
    padding: 60px 0;
  }
  
  .category-title {
    font-size: 2.5rem;
    flex-direction: column;
    gap: 20px;
  }
  
  .icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .icon-wrapper i {
    font-size: 2rem;
  }
  
  .premium-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .portfolio-item-media {
    height: 280px;
  }
  
  .portfolio-item-content {
    padding: 30px;
  }
  
  .portfolio-item-title {
    font-size: 1.4rem;
  }
  
  .premium-btn {
    padding: 18px 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .category-title {
    font-size: 2.2rem;
  }
  
  .category-description {
    font-size: 1.1rem;
  }
  
  .portfolio-item-media {
    height: 240px;
  }
  
  .portfolio-item-content {
    padding: 25px;
  }
  
  .portfolio-item-title {
    font-size: 1.3rem;
  }
  
  .portfolio-item-description {
    font-size: 1rem;
  }
  
  .premium-btn {
    padding: 16px 32px;
    font-size: 0.95rem;
  }
}

/* Premium Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(20px);
}

.image-modal.show {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.image-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.image-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Premium Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(20px);
}

.video-modal.show {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

.video-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-content iframe {
  width: 100%;
  height: 90vh;
  border: none;
  border-radius: 16px;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Loading States */
.portfolio-item.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.portfolio-item.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 0, 0.1), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.portfolio-item.loading::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 178, 0, 0.3);
  border-top: 3px solid var(--brand-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 2;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty State */
.premium-grid:empty::after {
  content: 'Loading portfolio items...';
  display: block;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-style: italic;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.5));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Premium Hover Effects */
.portfolio-item {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.portfolio-item:hover .portfolio-item-media {
  transform: translateZ(20px);
}

.portfolio-item:hover .portfolio-item-content {
  transform: translateZ(10px);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.portfolio-item:focus-within {
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
}

.premium-btn:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
}

/* Premium Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-item {
  animation: fadeInUp 0.8s ease-out;
}

.portfolio-item:nth-child(2) {
  animation-delay: 0.1s;
}

.portfolio-item:nth-child(3) {
  animation-delay: 0.2s;
}

.portfolio-item:nth-child(4) {
  animation-delay: 0.3s;
}

.portfolio-item:nth-child(5) {
  animation-delay: 0.4s;
}

.portfolio-item:nth-child(6) {
  animation-delay: 0.5s;
}

/* Premium Category Animations */
.category-header {
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Grid Stagger */
.premium-grid {
  animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Web Development Project Styles */
.portfolio-item.web-project {
  border: 2px solid rgba(99, 102, 241, 0.1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
}

.portfolio-item.web-project:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

.portfolio-tech,
.portfolio-role,
.portfolio-timeline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.portfolio-tech i,
.portfolio-role i,
.portfolio-timeline i {
  color: var(--brand-indigo);
  margin-top: 2px;
  flex-shrink: 0;
}

.portfolio-link {
  margin-top: 12px;
}

.portfolio-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--brand-indigo), var(--brand-purple));
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Video Popup Styles */
.video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.video-popup-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border-radius: 20px;
  border: 1px solid rgba(255, 178, 0, 0.2);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(255, 178, 0, 0.1);
  overflow: hidden;
  animation: slideInUp 0.4s ease-out;
}

.video-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.video-popup-close:hover {
  background: rgba(255, 178, 0, 0.2);
  border-color: var(--brand-gold);
  transform: scale(1.1);
}

.video-popup-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid rgba(255, 178, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.05), rgba(99, 102, 241, 0.05));
}

.video-popup-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-popup-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-indigo));
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.video-popup-body {
  padding: 30px;
}

.video-popup-player {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-popup-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-popup-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Load More Button Styles */
.load-more-btn {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-indigo));
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 178, 0, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 178, 0, 0.4);
}

.load-more-btn i {
  margin-right: 8px;
}

/* Photo Lightbox Styles */
.photo-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.photo-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border-radius: 20px;
  border: 1px solid rgba(255, 178, 0, 0.2);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(255, 178, 0, 0.1);
  overflow: hidden;
  animation: slideInUp 0.4s ease-out;
}

.photo-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.photo-lightbox-close:hover {
  background: rgba(255, 178, 0, 0.2);
  border-color: var(--brand-gold);
  transform: scale(1.1);
}

.photo-lightbox-image-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%; /* Adjust aspect ratio as needed */
  background: #000;
  overflow: hidden;
}

.photo-lightbox-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.photo-lightbox-image:hover {
  transform: scale(1.02);
}

.photo-lightbox-info {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.05), rgba(99, 102, 241, 0.05));
}

.photo-lightbox-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin: 0 0 15px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.photo-lightbox-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Photography Masonry Layout */
#photographyGrid {
  column-count: 3;
  column-gap: 20px;
  column-fill: balance;
}

@media (max-width: 1200px) {
  #photographyGrid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  #photographyGrid {
    column-count: 1;
  }
}

/* Photo-only portfolio items */
.portfolio-item.photo-only {
  break-inside: avoid;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 178, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.02), rgba(255, 178, 0, 0.05));
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.portfolio-item.photo-only:hover {
  border-color: rgba(255, 178, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.05), rgba(255, 178, 0, 0.1));
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 178, 0, 0.2);
}

.portfolio-item.photo-only .portfolio-thumbnail {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.portfolio-item.photo-only .portfolio-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item.photo-only:hover .portfolio-thumbnail img {
  transform: scale(1.05);
}

.portfolio-item.photo-only .portfolio-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 178, 0, 0.9);
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.portfolio-item.photo-only:hover .portfolio-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-item.photo-only .portfolio-content {
  padding: 15px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
  backdrop-filter: blur(10px);
}

.portfolio-item.photo-only .portfolio-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-indigo));
  color: white;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.portfolio-item.photo-only .portfolio-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.portfolio-item.photo-only .portfolio-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin: 0;
}
