/* Photography Page Styles - Simplified without navbar */

/* Back to Home Button */
.back-to-home {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 1000;
  animation: slideInLeft 0.5s ease;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: #302ae6;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.back-btn:hover {
  background: #302ae6;
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(48, 42, 230, 0.3);
}

.back-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.back-btn:hover .back-arrow {
  transform: translateX(-3px);
}

.back-text {
  font-size: 0.9rem;
}

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

/* Photography Container - Adjusted for no navbar */
.photography-container {
  padding: 5rem 0;
  position: relative;
  background: #fff;
}

/* Photography Header - Adjusted for no navbar */
.photography-header {
  text-align: center;
  padding: 6rem 0 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-top: 0;
  position: relative;
}

.photography-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  border-radius: 50px 50px 0 0;
}

.photography-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.photography-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

/* Gallery Categories - Integrated with existing button styles */
.gallery-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 15px;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: white;
  color: #212529;
  border: 2px solid #f8f9fa;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.category-btn:hover,
.category-btn.active {
  background: #302ae6;
  color: white;
  border-color: #302ae6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Masonry Gallery - Integrated with existing grid system */
.masonry-gallery {
  column-count: 4;
  column-gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 15px;
}

.gallery-item {
  position: relative;
  margin-bottom: 1rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

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

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.lightbox.active .lightbox-info {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lightbox-description {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

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

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Grid Layout Alternative */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.grid-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.grid-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

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

.grid-content {
  padding: 1.5rem;
}

.grid-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.5rem 0;
}

.grid-description {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.grid-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light);
  font-size: 0.8rem;
  color: var(--gray);
}

/* Photography Stats - Integrated with existing card styles */
.photography-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #302ae6;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive Design - Updated for back button */
@media (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
  
  .photography-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .back-to-home {
    top: 1rem;
    left: 1rem;
  }
  
  .back-btn {
    padding: 0.5rem 1rem;
  }
  
  .back-text {
    font-size: 0.8rem;
  }
  
  .photography-container {
    padding: 3rem 0;
  }
  
  .photography-header {
    padding: 5rem 0 3rem 0;
  }
  
  .photography-header h1 {
    font-size: 2.2rem;
  }
  
  .photography-header p {
    font-size: 1rem;
  }
  
  .masonry-gallery {
    column-count: 2;
    column-gap: 0.75rem;
    padding: 0 10px;
  }
  
  .gallery-categories {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  
  .category-btn {
    width: 200px;
    text-align: center;
  }
  
  .photography-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    margin: 2rem 15px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .lightbox-close {
    top: 10px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .back-to-home {
    top: 0.5rem;
    left: 0.5rem;
  }
  
  .back-btn {
    padding: 0.4rem 0.8rem;
  }
  
  .back-arrow {
    font-size: 1rem;
  }
  
  .back-text {
    font-size: 0.75rem;
  }
  
  .photography-container {
    padding: 2rem 0;
  }
  
  .photography-header {
    padding: 4rem 0 2rem 0;
  }
  
  .photography-header h1 {
    font-size: 1.8rem;
  }
  
  .photography-header p {
    font-size: 0.9rem;
  }
  
  .masonry-gallery {
    column-count: 1;
    column-gap: 0.5rem;
    padding: 0 5px;
  }
  
  .gallery-item {
    margin-bottom: 0.75rem;
  }
  
  .gallery-categories {
    padding: 0 5px;
  }
  
  .category-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .photography-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    margin: 2rem 10px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .lightbox-image {
    max-height: 70vh;
  }
  
  .lightbox-info {
    bottom: -30px;
  }
  
  .lightbox-title {
    font-size: 1.2rem;
  }
  
  .lightbox-description {
    font-size: 0.9rem;
  }
}

/* Animations */
.fade-in-photo {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-photo.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-photos > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stagger-photos.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-photos.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-photos.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-photos.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-photos.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-photos.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-photos.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-photos.visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-photos.visible > *:nth-child(8) { transition-delay: 0.8s; }

/* Loading State */
.photos-loading {
  text-align: center;
  padding: 3rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--light);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

/* Empty State */
.no-photos {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-photos-icon {
  font-size: 4rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.no-photos h3 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.no-photos p {
  color: var(--gray);
  margin-bottom: 2rem;
}


/* Get in Touch Strip - Round Cornered Design */
.get-in-touch-strip {
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 2rem 0 0 0;
  position: relative;
}

.get-in-touch-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: white;
  border-radius: 0 0 50px 50px;
}

.strip-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.get-in-touch-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-align: center;
  flex: 1;
  min-width: 300px;
}

.get-in-touch-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.get-in-touch-btn:hover {
  background: white;
  color: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Get in Touch Strip */
@media (max-width: 768px) {
  .get-in-touch-strip {
    padding: 2rem 0;
    margin: 1rem 0;
  }
  
  .strip-content {
    gap: 1.5rem;
    flex-direction: column;
  }
  
  .get-in-touch-text {
    font-size: 1rem;
    min-width: auto;
  }
  
  .get-in-touch-btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .get-in-touch-strip {
    padding: 1.5rem 0;
    margin: 0.5rem 0;
  }
  
  .strip-content {
    gap: 1rem;
    flex-direction: column;
  }
  
  .get-in-touch-text {
    font-size: 0.9rem;
    min-width: auto;
  }
  
  .get-in-touch-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
  }
}
