/* ───────────  SIGNATURE WORKS PAGE STYLES  ─────────── */

/* ───────────  BODY STYLES FOR SIGNATURE WORKS PAGE  ─────────── */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* ───────────  NAVIGATION FONT WEIGHT FIX  ─────────── */
body header .navbar .main-menu a,
body .navbar .main-menu a,
.navbar .main-menu a {
  font-weight: 400 !important;
}

/* ───────────  PAGE HEADER  ─────────── */
.page-header {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e0e0e0;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ───────────  SIGNATURE MESSAGE  ─────────── */
.signature-message {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.message-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #f0f0f0;
}

.message-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 16px;
  font-weight: 500;
}

.message-card p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ───────────  GALLERY CONTAINER  ─────────── */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px 30px;
  justify-items: center;
}

/* ───────────  ARTWORK CARDS  ─────────── */
.artwork-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  width: 100%;
  max-width: 400px;
}

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

/* ───────────  ARTWORK IMAGE  ─────────── */
.artwork-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.artwork-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.artwork-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artwork-card:hover .artwork-overlay {
  opacity: 1;
}

.view-details-btn {
  background: white;
  color: #2c3e50;
  border: none;
  padding: 14px 32px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Poppins', sans-serif;
}

.view-details-btn:hover {
  background: #2c3e50;
  color: white;
  transform: scale(1.05);
}

/* ───────────  ARTWORK INFO  ─────────── */
.artwork-info {
  padding: 24px;
  text-align: center;
}

.artwork-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.artwork-description {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.artwork-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  font-family: 'Poppins', sans-serif;
}

/* ───────────  RESPONSIVE DESIGN  ─────────── */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
  .page-title {
    font-size: 3rem;
  }
  
  .artwork-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px 20px;
  }
  
  .artwork-image {
    height: 280px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .page-header {
    padding: 60px 20px 40px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .message-card {
    padding: 30px 20px;
  }
  
  .message-card h3 {
    font-size: 1.5rem;
  }
  
  .artwork-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px 15px;
  }
  
  .artwork-image {
    height: 240px;
  }
  
  .artwork-info {
    padding: 20px;
  }
  
  .artwork-title {
    font-size: 1.2rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .page-header {
    padding: 40px 15px 30px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .signature-message {
    margin: 0 auto 40px;
    padding: 0 15px;
  }
  
  .message-card {
    padding: 25px 15px;
  }
  
  .gallery-container {
    padding: 0 15px 60px;
  }
  
  .artwork-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .artwork-card {
    max-width: 100%;
  }
  
  .artwork-image {
    height: 220px;
  }
  
  .artwork-info {
    padding: 18px;
  }
  
  .artwork-title {
    font-size: 1.1rem;
  }
  
  .artwork-description {
    font-size: 0.9rem;
  }
  
  .view-details-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* ───────────  LOADING ANIMATIONS  ─────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.artwork-card {
  animation: fadeIn 0.6s ease forwards;
}

.artwork-card:nth-child(1) { animation-delay: 0.1s; }
.artwork-card:nth-child(2) { animation-delay: 0.2s; }
.artwork-card:nth-child(3) { animation-delay: 0.3s; }
.artwork-card:nth-child(4) { animation-delay: 0.4s; }
.artwork-card:nth-child(5) { animation-delay: 0.5s; }
.artwork-card:nth-child(6) { animation-delay: 0.6s; }

/* ───────────  ACCESSIBILITY  ─────────── */
.view-details-btn:focus {
  outline: 3px solid #2c3e50;
  outline-offset: 2px;
}

.artwork-card:focus-within {
  box-shadow: 0 0 0 3px #2c3e50;
}
