.page-header {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-title {
  font-family: 'Julius Sans One', sans-serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 300;
}

.gallery-grid {
  columns: 3;
  column-gap: 2rem;
  padding: 2rem 0;
}

.artwork-card {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.artwork-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.artwork-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.artwork-card:hover .artwork-image {
  transform: scale(1.05);
}

.artwork-info {
  padding: 1.5rem;
}

.artwork-title {
  font-family: 'Julius Sans One', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.artwork-details {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.artwork-year {
  font-weight: 600;
  color: #333;
}

/* Full Screen Modal */
.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.fullscreen-modal.active {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

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

.modal-content-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.modal-info {
  color: white;
  text-align: center;
  margin-top: 2rem;
  max-width: 600px;
}

.modal-title {
  font-family: 'Julius Sans One', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-details {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.1);
}

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

.nav-arrows:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
}

.prev-btn {
  left: 2rem;
  z-index: 5;
}

.next-btn {
  right: 2rem;
  z-index: 5;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet (992px and below) */
@media (max-width: 991.98px) {
  .page-header {
    padding: 80px 0 60px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .gallery-grid {
    columns: 2;
    column-gap: 1.5rem;
  }
  
  .artwork-card:hover {
    transform: translateY(-5px);
  }
  
  .modal-image {
    max-height: 70vh;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .modal-details {
    font-size: 0.95rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 767.98px) {
  .page-header {
    padding: 60px 0 40px;
  }
  
  .page-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .page-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .gallery-grid {
    columns: 2;
    column-gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .artwork-card {
    margin-bottom: 1rem;
    border-radius: 10px;
  }
  
  .artwork-card:hover {
    transform: translateY(-3px);
  }
  
  .artwork-info {
    padding: 1rem;
  }
  
  .artwork-title {
    font-size: 0.85rem;
  }
  
  .artwork-details {
    font-size: 0.75rem;
  }
  
  .modal-content-wrapper {
    max-width: 95vw;
    padding: 0 10px;
  }
  
  .modal-image {
    max-height: 60vh;
    border-radius: 6px;
  }
  
  .modal-info {
    margin-top: 1.5rem;
    padding: 0 15px;
  }
  
  .modal-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .modal-details {
    font-size: 0.85rem;
  }
  
  .close-btn, .nav-arrows {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .close-btn {
    top: 1rem;
    right: 1rem;
  }
  
  .prev-btn {
    left: 1rem;
  }
  
  .next-btn {
    right: 1rem;
  }
}

/* Small mobile (576px and below) */
@media (max-width: 575.98px) {
  .page-header {
    padding: 50px 0 30px;
  }
  
  .page-title {
    font-size: 1.6rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .gallery-grid {
    columns: 1;
    column-gap: 0;
    padding: 1rem 0;
  }
  
  .artwork-card {
    margin-bottom: 1.5rem;
  }
  
  .artwork-info {
    padding: 1.2rem;
  }
  
  .artwork-title {
    font-size: 0.9rem;
  }
  
  .artwork-details {
    font-size: 0.8rem;
  }
  
  .modal-image {
    max-height: 55vh;
  }
  
  .modal-title {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  
  .modal-details {
    font-size: 0.8rem;
  }
  
  .close-btn, .nav-arrows {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  
  .close-btn {
    top: 0.8rem;
    right: 0.8rem;
  }
  
  .prev-btn {
    left: 0.8rem;
  }
  
  .next-btn {
    right: 0.8rem;
  }
}

/* Extra small devices (400px and below) */
@media (max-width: 400px) {
  .page-title {
    font-size: 1.4rem;
  }
  
  .page-subtitle {
    font-size: 0.85rem;
  }
  
  .artwork-title {
    font-size: 0.85rem;
  }
  
  .artwork-details {
    font-size: 0.75rem;
  }
  
  .modal-image {
    max-height: 50vh;
  }
  
  .modal-title {
    font-size: 0.95rem;
  }
  
  .modal-details {
    font-size: 0.75rem;
  }
  
  .close-btn, .nav-arrows {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}