/**
 * AKSALAB Memories - Custom Styles
 * ================================
 * Tambahkan custom CSS di sini.
 * File ini akan di-load setelah styles.css,
 * jadi bisa override semua style default.
 * 
 * TIPS:
 * - Override CSS variables untuk mengubah warna
 * - Tambahkan custom fonts
 * - Modifikasi layout sesuai kebutuhan
 */

/* ========================================
   CUSTOM COLOR SCHEME
   Uncomment dan edit untuk mengubah warna
   ======================================== */
/*
:root {
  --color-primary: #your-color;
  --color-secondary: #your-color;
  --color-accent: #your-color;
  --color-background: #your-color;
  --color-text: #your-color;
}
*/

/* ========================================
   CUSTOM FONTS
   Contoh menggunakan Google Fonts
   ======================================== */
/*
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --font-family: 'Poppins', sans-serif;
}
*/

/* ========================================
   CUSTOM HERO BACKGROUND
   ======================================== */
/*
.hero {
  background: url('../assets/hero-bg.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
*/

/* ========================================
   CUSTOM GALLERY STYLES
   ======================================== */
/*
.gallery__grid {
  gap: 20px;
}

.media-item {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
*/

/* ========================================
   TAMBAHKAN CUSTOM STYLES DI BAWAH INI
   ======================================== */

/* Featured Frame - 2 Column Grid (Small Size) */
.gallery__featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm, 8px);
  margin-bottom: var(--spacing-lg, 24px);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.featured-item {
  width: 100%;
  border-radius: var(--border-radius-sm, 8px);
  overflow: hidden;
  background: var(--color-surface, #2D2D2D);
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.3));
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.4)), 0 0 15px rgba(196, 163, 90, 0.2);
  border-color: rgba(196, 163, 90, 0.3);
}

.featured-item__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Loading State */
.gallery__loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted, #888);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-surface, #2D2D2D);
  border-top-color: var(--color-accent, #C4A35A);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error State */
.gallery__error {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted, #888);
  text-align: center;
}

.gallery__error svg {
  color: #e74c3c;
  margin-bottom: 1rem;
}

.gallery__error p {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.gallery__error small {
  opacity: 0.7;
}

/* Empty State */
.gallery__empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted, #888);
  text-align: center;
}

.gallery__empty svg {
  opacity: 0.5;
  margin-bottom: 1rem;
}

.gallery__empty p {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.gallery__empty small {
  opacity: 0.7;
}
