/* ============================================================
   huanjing.css — 院内环境页面专属样式
   ============================================================ */

/* ============================================================
   Environment Gallery Section（院内环境 Bento 画廊）
   ============================================================ */
.env-gallery-section {
  padding: 6rem 2rem;
  background: var(--surface);
}
.env-gallery-header {
  max-width: 80rem;
  margin: 0 auto 2rem;
}
@media (min-width: 768px) {
  .env-gallery-header {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
  }
}
.env-gallery-header h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--on-surface);
  letter-spacing: -0.025em;
  line-height: 1.2;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .env-gallery-header h2 { margin-bottom: 1rem; }
}
.env-gallery-header .highlight { color: var(--primary); }
.env-gallery-header p {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.7;
  flex: 1;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.filter-tab {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.filter-tab.active {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 15px -3px rgba(197,160,89,0.2);
}
.filter-tab:not(.active) {
  background: var(--surface-container-lowest);
  color: var(--on-surface-variant);
  border-color: rgba(209,197,180,0.1);
}
.filter-tab:not(.active):hover {
  color: var(--primary);
  background: #fff;
}

/* Bento Grid */
.bento-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
  }
  .bento-large  { grid-column: span 2; grid-row: span 2; }
  .bento-medium { grid-column: span 2; }
  .bento-small  { grid-column: span 1; }
}
@media (max-width: 767px) {
  .bento-large, .bento-medium, .bento-small { min-height: 280px; }
}

/* Bento Items */
.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  background: var(--surface-container-lowest);
}
.bento-large { border-radius: var(--radius-4xl); }
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.bento-item:hover img { transform: scale(1.08); }

/* Overlay (large & medium items) */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.bento-item:hover .bento-overlay { opacity: 1; }
.bento-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.bento-overlay h3 {
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.bento-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 28rem;
}

/* Overlay Small */
.bento-overlay-sm {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.bento-item:hover .bento-overlay-sm { opacity: 1; }
.bento-overlay-sm h3 {
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.bento-overlay-sm .bento-cat {
  color: var(--primary-fixed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   Spotlight Section（特色亮点 — 非对称布局）
   ============================================================ */
.spotlight-section {
  padding: 6rem 2rem;
  background: var(--surface-container-low);
  overflow: hidden;
}
.spotlight-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .spotlight-inner {
    flex-direction: row;
    gap: 6rem;
  }
}
.spotlight-img-wrap {
  position: relative;
  flex: 1;
  max-width: 36rem;
}
.spotlight-img-wrap img {
  width: 100%;
  border-radius: var(--radius-4xl);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.spotlight-img-wrap img:hover { transform: rotate(-1deg) scale(1.02); }

.spotlight-text {
  flex: 1;
}
.spotlight-text h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--on-surface);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.spotlight-text .highlight { color: var(--primary); }
.spotlight-text > p {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.spotlight-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: var(--on-surface);
  font-size: 1.0625rem;
}
.spotlight-list .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.5rem;
  font-variation-settings: 'FILL' 1;
  flex-shrink: 0;
}
