/* 麵包屑導航樣式 */
.breadcrumb-nav {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 2px solid rgba(255, 193, 7, 0.2);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(255, 193, 7, 0.1);
  position: relative;
}

.breadcrumb-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.breadcrumb {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  position: relative;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.8rem;
  color: #FFC107;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0.7;
}

.breadcrumb a {
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  position: relative;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #FFC107;
  background: rgba(255, 193, 7, 0.1);
  transform: translateY(-1px);
}

.breadcrumb a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #FFC107;
  transition: width 0.3s ease;
}

.breadcrumb a:hover::before {
  width: 80%;
}

.breadcrumb li:last-child a {
  color: #FFC107;
  font-weight: 600;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 6px;
  padding: 0.5rem 1rem;
}

/* 響應式麵包屑 */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 1rem 0;
  }
  
  .breadcrumb {
    font-size: 0.9rem;
  }
  
  .breadcrumb li:not(:last-child)::after {
    margin: 0 0.5rem;
    font-size: 1rem;
  }
  
  .breadcrumb a {
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    font-size: 0.85rem;
  }
  
  .breadcrumb li:not(:last-child)::after {
    margin: 0 0.3rem;
  }
  
  .breadcrumb a {
    padding: 0.3rem 0.5rem;
  }
}

/* 頁面橫幅區域樣式 */
.default-banner {
  width: 100%;
  height: 400px;
  position: relative;
  background: linear-gradient(135deg, #FFC107 0%, #FF8F00 50%, #FF6F00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
  background-size: 200px 200px, 300px 300px, 100px 100px;
  animation: patternMove 20s linear infinite;
}

.banner-icon {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.banner-icon i {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: iconFloat 3s ease-in-out infinite;
}

.banner-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: iconGlow 4s ease-in-out infinite;
}

@keyframes patternMove {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-20px) translateY(-10px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes iconGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* 響應式默認橫幅 */
@media (max-width: 768px) {
  .default-banner {
    height: 300px;
  }
  
  .banner-icon i {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .default-banner {
    height: 250px;
  }
  
  .banner-icon i {
    font-size: 2.5rem;
  }
}

/* 圖片網格樣式 */
.gallery-grid {
  margin: 3rem 0;
}

.gallery-item {
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-link:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-link:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.8) 0%, rgba(255, 143, 0, 0.6) 50%, rgba(255, 111, 0, 0.4) 100%);
  background-image: 
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='golden-pattern' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='25' cy='25' r='8' fill='rgba(255,255,255,0.1)'/%3E%3Ccircle cx='75' cy='75' r='6' fill='rgba(255,255,255,0.08)'/%3E%3Cpath d='M10 50 Q25 25 40 50 T70 50' stroke='rgba(255,255,255,0.06)' stroke-width='2' fill='none'/%3E%3Cpath d='M60 20 Q75 5 90 20 T120 20' stroke='rgba(255,255,255,0.04)' stroke-width='1.5' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23golden-pattern)'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(255, 193, 7, 0.8) 0%, rgba(255, 143, 0, 0.6) 50%, rgba(255, 111, 0, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-info {
  text-align: center;
  color: white;
  padding: 1rem;
}

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

.gallery-view {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 載入更多按鈕 */
.load-more-section {
  text-align: center;
  margin: 3rem 0;
}

.load-more-btn {
  background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.load-more-btn:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.load-more-btn:hover .btn-icon {
  transform: rotate(90deg);
}

/* 響應式設計 */
@media (max-width: 768px) {
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-title {
    font-size: 1rem;
  }
  
  .load-more-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid .row {
    margin: 0 -0.5rem;
  }
  
  .gallery-item {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
  }
  
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
  }
}

/* 動畫效果 */
.gallery-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 載入狀態 */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading .btn-icon {
  animation: spin 1s linear infinite;
}

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

/* 空狀態 */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
  color: #495057;
}

.empty-state p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 頁面標題區域樣式 */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid #FFC107;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 300;
  margin: 0;
}

/* 主要內容區域樣式 */
.main-content {
  padding: 4rem 0;
  background: white;
}

/* 響應式頁面標題 */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .main-content {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.5rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
} 