/* ============================================
   EACUS - Renovation Page Styles
   Used by: renovation.html
   ============================================ */

/* Constraint: page-hero spans full width, everything else 1100px */
.site-wrapper > section:not(.page-hero),
.site-wrapper > footer {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero / Slideshow --- */
.hero-section {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 50px 60px;
}

.hero-text {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text .line {
  display: block;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.25;
}

/* --- Page Hero --- */
.page-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 50vh;
  min-height: 320px;
  max-height: 500px;
  overflow: hidden;
}

.page-hero img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px 60px;
}

.page-hero-title {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Works Section --- */
.section-works { padding: 60px 40px; }
.work-item { margin-bottom: 55px; }

.work-item-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.work-item-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.work-item-gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }

.work-item-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.work-item-gallery a:hover img { transform: scale(1.05); opacity: 0.85; }

.work-item-meta {
  font-size: 10px;
  color: var(--color-gray-500);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

/* --- CTA Section --- */
.cta-section {
  margin: 20px 40px 60px;
  border: 1px solid var(--color-gray-300);
  padding: 40px 30px;
  text-align: center;
}

.cta-title { font-size: 16px; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 6px; }
.cta-subtitle { font-size: 14px; color: var(--color-gray-500); margin-bottom: 14px; }
.cta-link { font-size: 12px; color: var(--color-gray-700); }
.cta-link a { text-decoration: underline; transition: opacity 0.3s; }
.cta-link a:hover { opacity: 0.6; }
.cta-divider { width: 40px; height: 1px; background: var(--color-gray-300); margin: 18px auto 0; }

/* ============================================
   CONCEPT SECTION
   ============================================ */
.concept-section {
  padding: 80px 40px;
  text-align: center;
  background: var(--color-white);
}

.concept-inner { max-width: 680px; margin: 0 auto; }

.concept-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-gray-500);
  margin-bottom: 18px;
  display: block;
}

.concept-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  line-height: 1.4;
}

.concept-body {
  font-size: 15px;
  line-height: 2;
  color: var(--color-gray-700);
  margin-bottom: 36px;
}

.pc-br { display: inline; }

.concept-cta {
  display: inline-block;
  border: 1px solid var(--color-black);
  padding: 14px 40px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-black);
  text-decoration: none;
  transition: all 0.3s;
}

.concept-cta:hover { background: var(--color-black); color: var(--color-white); }

/* ============================================
   STRENGTH SECTION
   ============================================ */
.strength-section {
  padding: 80px 40px;
  background: var(--color-gray-100);
  text-align: center;
}

.strength-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-gray-500);
  margin-bottom: 14px;
  display: block;
}

.strength-heading {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.strength-card {
  background: var(--color-white);
  padding: 36px 28px;
  border: 1px solid var(--color-gray-200);
}

.strength-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-gray-300);
  display: block;
  margin-bottom: 12px;
}

.strength-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  line-height: 1.6;
}

.strength-desc {
  font-size: 13px;
  color: var(--color-gray-700);
  line-height: 1.9;
}

/* ============================================
   COLUMN PREVIEW SECTION
   ============================================ */
.column-preview-section {
  padding: 80px 40px;
  background: var(--color-white);
  text-align: center;
}

.column-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.column-preview-card {
  text-decoration: none;
  color: var(--color-black);
  display: block;
  transition: opacity 0.2s;
}

.column-preview-card:hover { opacity: 0.75; }

.column-preview-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-gray-200);
  margin-bottom: 16px;
}

.column-preview-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}

.column-preview-card:hover .column-preview-img img { transform: scale(1.05); }

.column-preview-cat {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.column-preview-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.column-skeleton {
  background: var(--color-gray-200);
  aspect-ratio: 16/9;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.column-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: var(--color-gray-500);
  font-size: 13px;
}

/* ============================================
   CTA TAG + BUTTONS
   ============================================ */
.cta-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  background: var(--color-black);
  color: var(--color-white);
  display: inline-block;
  padding: 4px 16px;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-white);
  padding: 16px 48px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-btn-primary:hover { opacity: 0.75; }

.cta-btn-secondary {
  display: inline-block;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  padding: 16px 48px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-btn-secondary:hover { background: var(--color-black); color: var(--color-white); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero-slideshow { height: 50vh; min-height: 280px; }
  .hero-overlay { padding: 30px 25px; }
  .hero-text .line { font-size: 26px; }

  .page-hero { height: 35vh; min-height: 220px; }
  .page-hero-overlay { padding: 25px 25px; }

  .section-works { padding: 40px 20px; }
  .work-item-gallery { gap: 6px; }
  .cta-section { margin: 20px 20px 40px; padding: 28px 20px; }

  .concept-section { padding: 60px 20px; }
  .pc-br { display: none; }
  .strength-section { padding: 60px 20px; }
  .strength-grid { grid-template-columns: 1fr; gap: 16px; }
  .column-preview-section { padding: 60px 20px; }
  .column-preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-btn-primary, .cta-btn-secondary { width: 100%; max-width: 320px; text-align: center; }
}
