/**
 * Albums Template Styles
 * Master layout for displaying all gallery albums
 *
 * @package LoboGallery
 */

/* ============================================
   TEMPLATE WRAPPER
   ============================================ */

.albums-template-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: white !important;
  padding-top: 200px;
  padding-bottom: 60px;
}

/* ============================================
   PAGE TITLE
   ============================================ */

.albums-page-title {
  text-align: center;
  margin-bottom: 80px;
}

.albums-page-title h1 {
  margin: 0;
}

.albums-title-text {
  font-size: 48px !important;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.02em;
  margin-bottom: 15px;
}

.albums-page-subtitle {
  font-size: 16px;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* ============================================
   ALBUMS GRID
   ============================================ */

.albums-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center;
}

/* ============================================
   ALBUM CARD
   ============================================ */

.album-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  overflow: visible;
  width: 100%;
  max-width: 300px;
}

.album-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.album-card-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-card:hover .album-card-thumb {
  transform: scale(1.05);
}

.album-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.album-card-placeholder svg {
  width: 60px;
  height: 60px;
  fill: #999;
  opacity: 0.3;
}

.album-card-info {
  padding: 15px 0;
  background: transparent;
  text-align: center;
}

.album-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.albums-empty {
  text-align: center;
  font-size: 18px;
  color: #999;
  padding: 60px 20px;
  font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1400px) {
  .albums-grid {
    gap: 25px;
  }
}

@media (max-width: 1024px) {
  .albums-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .albums-template-wrapper {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .albums-page-title {
    margin-bottom: 50px;
  }

  .albums-title-text {
    font-size: 36px !important;
  }

  .albums-grid {
    gap: 15px;
    padding: 0 15px;
  }

  .album-card {
    max-width: 250px;
  }

  .album-card-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .albums-template-wrapper {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .albums-page-title {
    margin-bottom: 30px;
  }

  .albums-title-text {
    font-size: 28px !important;
  }

  .albums-page-subtitle {
    font-size: 14px;
  }

  .albums-grid {
    gap: 10px;
    padding: 0 10px;
  }

  .album-card {
    max-width: 200px;
  }

  .album-card-info {
    padding: 10px 0;
  }

  .album-card-title {
    font-size: 12px;
  }
}

/* ============================================
   DARK MODE SUPPORT (for future use)
   ============================================ */

@media (prefers-color-scheme: dark) {
  .albums-template-wrapper {
    background: #1a1a1a;
  }

  .albums-title-text,
  .album-title {
    color: #ffffff;
  }

  .albums-page-subtitle,
  .album-description {
    color: #b0b0b0;
  }

  .album-section {
    border-bottom-color: #333333;
  }

  .album-item {
    background: #2a2a2a;
  }

  .album-item-link {
    background: #222222;
  }
}
