.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 800px;
  }
  .carousel-inner {
    display: flex;
    transition: transform 0.6s ease;
  }
  .carousel-item {
    min-width: 100%;
    position: relative;
  }
  .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  .carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 40px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    max-width: 60%;
  }
  .carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 88px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  .carousel-prev:hover, .carousel-next:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
  }
  .carousel-prev:active, .carousel-next:active {
    transform: translateY(-50%) scale(0.95);
  }
  .carousel-prev { 
    left: 0; 
    border-radius: 0 8px 8px 0;
  }
  .carousel-next { 
    right: 0; 
    border-radius: 8px 0 0 8px;
  }

  /* 禁用狀態（只有一張時） */
  .carousel-prev.disabled,
  .carousel-next.disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
    box-shadow: none;
  }
  .carousel-prev.disabled:hover,
  .carousel-next.disabled:hover {
    transform: translateY(-50%);
    box-shadow: none;
    cursor: not-allowed !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  