/* ============================================================
   Design Gallery — Dress Blueprint Page Styles
   ============================================================ */

/* ---- HERO ---- */
.designs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF7F2 0%, #F0E8DC 50%, #E8DCC8 100%);
}

.designs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(218, 165, 32, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(139, 0, 0, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.designs-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(139, 119, 87, 0.06) 59px, rgba(139, 119, 87, 0.06) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(139, 119, 87, 0.06) 59px, rgba(139, 119, 87, 0.06) 60px);
}

.designs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.designs-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 500;
  color: #8B7355;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 8px 24px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.designs-hero-title {
  margin: 0 0 28px;
  line-height: 1.1;
}

.designs-hero-title .title-script {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  color: #8B7355;
  font-style: italic;
  transform: rotate(-3deg);
  margin-bottom: -10px;
}

.designs-hero-title .title-serif {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 10vw, 110px);
  font-weight: 300;
  letter-spacing: 8px;
  color: #1B1B1F;
  text-transform: uppercase;
}

.designs-hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: #5a5045;
  max-width: 580px;
  margin: 0 auto 48px;
  font-style: italic;
}

.designs-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.meta-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: #1B1B1F;
  line-height: 1;
}

.meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8B7355;
}

.meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(139, 115, 85, 0.25);
}

.designs-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.designs-scroll-hint span {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8B7355;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, #8B7355 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ---- GALLERY LAYOUT ---- */
.design-gallery {
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.design-card {
  padding: 0 24px;
}

.design-card__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.design-card__inner--reverse {
  direction: rtl;
}

.design-card__inner--reverse > * {
  direction: ltr;
}

/* ---- ILLUSTRATION SIDE ---- */
.design-illustration {
  position: relative;
}

.design-illustration__frame {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(139, 115, 85, 0.1),
    inset 0 0 0 12px rgba(255, 255, 255, 0.3),
    inset 0 0 0 14px rgba(139, 115, 85, 0.15);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.design-illustration__frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 50px 80px -20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(139, 115, 85, 0.15),
    inset 0 0 0 12px rgba(255, 255, 255, 0.3),
    inset 0 0 0 14px rgba(139, 115, 85, 0.2);
}

.design-illustration__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.design-illustration__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

/* Difficulty badge */
.design-difficulty {
  position: absolute;
  top: 24px;
  right: -16px;
  background: #1B1B1F;
  color: #DAA520;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.diff-label {
  display: block;
  font-size: 9px;
  color: rgba(218, 165, 32, 0.6);
  margin-bottom: 2px;
}

.diff-stars {
  font-size: 11px;
  letter-spacing: 2px;
}

/* ---- DETAILS SIDE ---- */
.design-details {
  padding: 20px 0;
}

.design-header {
  margin-bottom: 40px;
}

.design-collection {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(139, 115, 85, 0.3);
}

.design-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  color: #1B1B1F;
  margin: 0 0 8px;
  line-height: 1.1;
  letter-spacing: 1px;
}

.design-client {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: #8B7355;
  margin: 0;
}

.design-section {
  margin-bottom: 36px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: #1B1B1F;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.title-num {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: #DAA520;
  font-weight: 700;
}

.section-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #4a4238;
  margin: 0;
}

/* Fabric chips */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.fabric-chip {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(139, 115, 85, 0.15);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fabric-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.1);
}

.fabric-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.fabric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fabric-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B1B1F;
}

.fabric-role {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #8B7355;
  letter-spacing: 0.5px;
}

.fabric-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5a5045;
  margin: 8px 0 0;
  font-style: italic;
}

.fabric-note strong {
  color: #DAA520;
  font-weight: 600;
}

/* Color palette */
.color-palette {
  display: flex;
  gap: 8px;
}

.color-swatch {
  flex: 1;
  height: 56px;
  border-radius: 4px;
  position: relative;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.color-swatch:hover {
  transform: scale(1.05);
}

.color-hex {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', monospace;
  font-size: 9px;
  color: #8B7355;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.color-palette {
  margin-bottom: 24px;
}

/* Notes list */
.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notes-list li {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #4a4238;
  padding-left: 20px;
  position: relative;
}

.notes-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: #DAA520;
  font-size: 10px;
}

/* Tags */
.design-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.tag--royal {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(218, 165, 32, 0.05));
  color: #B8860B;
  border: 1px solid rgba(218, 165, 32, 0.3);
}

.tag--luxury {
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.1), rgba(139, 115, 85, 0.03));
  color: #6B5344;
  border: 1px solid rgba(139, 115, 85, 0.2);
}

.tag--formal {
  background: linear-gradient(135deg, rgba(27, 27, 31, 0.1), rgba(27, 27, 31, 0.03));
  color: #1B1B1F;
  border: 1px solid rgba(27, 27, 31, 0.2);
}

.tag--romantic {
  background: linear-gradient(135deg, rgba(244, 194, 194, 0.2), rgba(244, 194, 194, 0.05));
  color: #B85C6B;
  border: 1px solid rgba(244, 194, 194, 0.4);
}

.tag--elegant {
  background: linear-gradient(135deg, rgba(245, 245, 240, 0.8), rgba(245, 245, 240, 0.4));
  color: #6B5D50;
  border: 1px solid rgba(139, 115, 85, 0.2);
}

.tag--dramatic {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(139, 0, 0, 0.03));
  color: #8B0000;
  border: 1px solid rgba(139, 0, 0, 0.2);
}

.tag--summer {
  background: linear-gradient(135deg, rgba(144, 183, 125, 0.15), rgba(144, 183, 125, 0.05));
  color: #5A8A4A;
  border: 1px solid rgba(144, 183, 125, 0.3);
}

.tag--cute {
  background: linear-gradient(135deg, rgba(255, 182, 193, 0.2), rgba(255, 182, 193, 0.05));
  color: #DB7093;
  border: 1px solid rgba(255, 182, 193, 0.4);
}

/* ---- CARD VARIANTS ---- */
.design-card--gold {
  background: linear-gradient(180deg, transparent 0%, rgba(218, 165, 32, 0.03) 50%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.design-card--white {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.design-card--dark {
  background: linear-gradient(180deg, transparent 0%, rgba(27, 27, 31, 0.04) 50%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.design-card--pink {
  background: linear-gradient(180deg, transparent 0%, rgba(244, 194, 194, 0.06) 50%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.design-card--red {
  background: linear-gradient(180deg, transparent 0%, rgba(139, 0, 0, 0.04) 50%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---- CTA ---- */
.designs-cta {
  padding: 100px 24px;
  background: linear-gradient(180deg, #FAF7F2 0%, #F0E8DC 100%);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: #1B1B1F;
  margin: 0 0 16px;
  letter-spacing: 1px;
}

.cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: #5a5045;
  margin: 0 0 32px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #1B1B1F, #2D2D35);
  color: #DAA520;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(27, 27, 31, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(27, 27, 31, 0.5);
  color: #F5DEB3;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .design-card__inner,
  .design-card__inner--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }

  .design-gallery {
    gap: 100px;
    padding: 80px 0;
  }

  .design-illustration {
    max-width: 400px;
    margin: 0 auto;
  }

  .fabric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .designs-hero-content {
    padding: 100px 20px 60px;
  }

  .designs-hero-meta {
    gap: 20px;
  }

  .meta-divider {
    display: none;
  }

  .fabric-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .color-palette {
    gap: 4px;
  }

  .color-swatch {
    height: 44px;
  }

  .color-hex {
    font-size: 8px;
  }

  .design-difficulty {
    right: 8px;
    top: 8px;
    padding: 8px 14px;
  }
}
