﻿/* 主圖三標 */
.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    width: fit-content;
}

/* 通用圖形容器 */
.shape-group {
    display: flex;
    position: relative;
    width: 85px;
    height: 40px;
}

/* 通用文字樣式 */
.logo-text {
    position: relative;
    font-weight: 900;

    letter-spacing: -1px;
    line-height: 1;
    white-space: nowrap;
    z-index: 10;
    margin-left: -24px;font-style: italic;
}

/* --- 圓形樣式 (Circle) --- */
.circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.circ-1 { background-color: #; left: 0; z-index: 1; }
.circ-2 { background-color: #; left: 12px; z-index: 2; opacity: 0.6; }
.circ-3 { background-color: #; left: 24px; z-index: 3; opacity: 0.4; }
.circ-4 { background-color: #; left: 36px; z-index: 4; opacity: 0.2; }
.circ-1,.circ-2,.circ-3,.circ-4 { background-color: #1cb0c1;}

/* --- 三角形樣式 (Triangle) --- */
.triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 22px solid black;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.tri-1 { border-bottom-color: #; left: 0; z-index: 1; }
.tri-2 { border-bottom-color: #; left: 12px; z-index: 2; opacity: 0.6; }
.tri-3 { border-bottom-color: #; left: 24px; z-index: 3; opacity: 0.4; }
.tri-4 { border-bottom-color: #; left: 36px; z-index: 4; opacity: 0.2; }
.tri-1,.tri-2,.tri-3,.tri-4 { border-bottom-color: #2c9357;}

/* --- 正方形樣式 (Square) --- */
.square {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.sq-1 { background-color: #; left: 0; z-index: 1; }
.sq-2 { background-color: #; left: 12px; z-index: 2; opacity: 0.6; }
.sq-3 { background-color: #; left: 24px; z-index: 3; opacity: 0.4; }
.sq-4 { background-color: #; left: 36px; z-index: 4; opacity: 0.2; }
.sq-1,.sq-2,.sq-3,.sq-4 { background-color: #ef7d1a;}


/* ================================================================
   Carousel.css  (Carousel_3)
   將 default.aspx（含 JS 動態產生的 HTML）所有 Tailwind CSS
   轉為純 CSS 自訂 class
   ================================================================ */


/* ================================================================
   Section 外層
   ================================================================ */

/* pt-12 pb-12 */
.cr-section {
  padding-top: 1.5rem;
  padding-bottom: 0rem;
}

/* container mx-auto px-6 */
.cr-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* grid grid-cols-1 md:grid-cols-3 gap-6 */
.cr-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ================================================================
   Carousel 欄位外框
   ================================================================ */

/* mb-8 border-l-4 border-gdGold pl-4 */
.cr-col {
  margin-bottom: 0rem;
  border-left: 0px solid #eab308;
  padding-left: 0rem;
}

/* text-gdGold font-bold text-sm tracking-widest uppercase mb-1 block */
.cr-col-label {
  color: #eab308;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: block;
}

/* text-3xl font-black text-gdNavy italic */
.cr-col-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: #1a2e5a;
  margin-bottom: 0.5rem;
}


/* ================================================================
   Carousel 容器與 Track
   ================================================================ */

/* carousel-container
   bg-[#fdfaf5] border border-slate-100 shadow-2xl
   group relative overflow-hidden rounded-lg */
.carousel-container {
  /*background-color: #fdfaf5;
  border: 1px solid #f1f5f9;*/
  aspect-ratio: 4 / 3.05;
  box-shadow: 0 5px 30px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

/* vine-pattern 裝飾層（track-3 專用） */
.cr-vine-layer {
  position: absolute;
  inset: 0;
  opacity: 1;}



/* ================================================================
   左右箭頭按鈕
   ================================================================ */

/* absolute top-1/2 left-4 -translate-y-1/2
   bg-white/70 p-2 rounded-full shadow-sm
   hover:bg-white transition-all duration-300 z-20 */
.cr-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.70);
  padding: 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: all 300ms cubic-bezier(.4, 0, .2, 1);
}
.cr-btn:hover {
  background-color: #fff;
}

.cr-btn-prev { left:  1rem; }
.cr-btn-next { right: 1rem; }

/* w-6 h-6 text-gray-600（lucide icon） */
.cr-btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #4b5563;
  display: block;
}


/* ================================================================
   JS 動態產生的 Slide（Carousel.js renderAndInit 產出）
   ── 不可更動 JS，以下 class 必須與 JS 字串吻合 ──
   ================================================================ */

/* ---- Carousel ---- */
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.carousel-slide { min-width: 100%; flex-shrink: 0; }

/* carousel-slide  w-full p-8 flex flex-col justify-center
                   overflow-hidden relative */
.carousel-slide {
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* relative z-10（slide 內層包裝） */
.carousel-slide > .relative {
  position: relative;
  z-index: 10;
}

/* w-full h-auto rounded shadow-sm（slide 內圖片） */
.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* 暫無內容提示
   flex items-center justify-center h-full w-full text-gray-400 */
.cr-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  color: #9ca3af;
}
