/* ==========================================================================
   CONFIGURATIONS & PAGE BASE LAYOUT
   ========================================================================== */

:root {
  --commissions-cards: #fef1e6;
  --commissions-text-dark: #da7324;
}

body.page-commissions {
  background-color: var(--commissions-cards) !important;
}

#subpage-content * {
  font-family: inherit;
}

#subpage-content {
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--commissions-cards) !important;
}

#subpage-content .container {
  width: 100%;
  max-width: 100%;
  padding: 40px 16px 110px 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 12;
  margin-top: 0px;
  background-color: var(--commissions-cards) !important;
}

/* ==========================================================================
   PARALLAX HERO ARCHITECTURE & SCROLL ANIMATIONS
   ========================================================================== */

#commissions-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: calc(100vh - 100px);
  box-sizing: border-box;
  text-align: center;
  padding: 150px 16px 0px 16px;
  position: relative;
  z-index: 1;
}

#commissions-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(226, 241, 248, 0) 0px,
    rgba(226, 241, 248, 0) calc(100% - 120px),
    rgba(254, 241, 230, 1) 100%
  );
}

.hero-art-wrapper {
  width: 100%;
  max-width: 400px;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

.hero-art {
  width: 100%;
  height: auto;
  max-height: 45vh;
  object-fit: contain;
  filter: drop-shadow(4px 4px 0px var(--color-commissions-text));
}

.hero-text-card {
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
}

.hero-title {
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 650;
  color: var(--color-commissions-text);
}

.hero-tagline {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--commissions-text-dark);
}

.scroll-indicator {
  margin-top: auto;
  width: 100%;
  padding: 40px 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-commissions-text);
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 5;
  background: transparent !important;
}

.scroll-arrow {
  animation: bounceHint 1.6s infinite ease-in-out;
}

/* Scroll Animation Frameworks */
.comms-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.comms-showcase.show-grid {
  opacity: 1;
}

.comms-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff !important;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  border: 1.5px solid var(--color-commissions-text);
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.comms-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTIVE COMMISSIONS TIER CAROUSEL SLIDER
   ========================================================================== */

.comms-carousel-section {
  width: 100%;
  margin-bottom: 0px;
}

.carousel-container {
  position: relative;
  background-color: #ffffff;
  border: 1.5px solid var(--color-commissions-text);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(218, 115, 36, 0.05);
  width: 100%;
  padding-bottom: 60px; /* Leaves exact spacing for bottom bar */
}

.carousel-slide {
  display: none;
  width: 100%;
  flex-direction: column;
}

.carousel-slide.active-slide {
  display: flex;
}

.slide-art-box {
  width: 100%;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

.slide-details-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.tier-badge {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--commissions-text-dark);
  margin-bottom: 6px;
}

.slide-details-box h2 {
  font-size: 1.4rem;
  color: var(--color-commissions-text);
  margin: 0 0 8px 0;
}

.tier-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
}

/* Carousel Control Ticker Systems */
.carousel-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-top: 1px solid rgba(218, 115, 36, 0.1);
  background-color: #ffffff;
  z-index: 20;
}

.slider-btn {
  background: transparent;
  border: none;
  color: var(--commissions-text-dark);
  cursor: pointer;
  font-size: 14px;
  padding: 8px 16px;
  font-weight: bold;
  transition:
    transform 0.1s ease,
    opacity 0.2s ease;
}

.slider-btn:hover {
  opacity: 0.6;
}
.slider-btn:active {
  transform: scale(0.9);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(218, 115, 36, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dot.active-dot {
  background-color: var(--commissions-text-dark);
}

/* ==========================================================================
   INTEGRATED ART SHOWCASE GRID CARD
   ========================================================================== */

.examples-card {
  margin-bottom: 0px;
}

.examples-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  width: 100%;
}

.example-item {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid rgba(218, 115, 36, 0.1);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.2s ease;
}

.example-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.example-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-commissions-text);
}

.example-item:hover .example-img {
  transform: scale(1.03);
}

/* Component Text Colors Configuration Mapping */
.examples-card .comms-tag-meta {
  color: var(--commissions-text-dark);
}
.examples-card .comms-card-title {
  color: var(--color-commissions-text);
}
.examples-card .comms-synopsis {
  color: var(--text-primary);
}

/* ==========================================================================
   GUIDELINES, TERMS SECTIONS & ACTION CALL BUTTONS
   ========================================================================== */

.comms-details-box {
  width: 100%;
  padding: 20px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.comms-tag-meta {
  font-family: monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--commissions-text-dark);
  margin-bottom: 4px;
  font-weight: 700;
}

.comms-card-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  color: var(--color-commissions-text);
}

.comms-synopsis {
  margin: 0 0 14px 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  box-sizing: border-box;
  font-weight: 600;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
  border: 2px solid var(--color-commissions-text);
}

.btn-vgen {
  background-color: #ff6045; /* Custom VGen Orange Branding */
  color: #ffffff !important;
  border: none;
}

.btn:active {
  transform: translate(2px, 2px);
}

/* ==========================================================================
   INTERACTIVE FULL-SCREEN LIGHTBOX OVERLAY
   ========================================================================== */

.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: 24px;
}

.lightbox-overlay.active {
  display: flex;
}

#lightbox-target-img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: lightboxFadeIn 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* ==========================================================================
   MEDIA QUERIES, UTILITIES & GLOBAL WEB ANIMATIONS
   ========================================================================== */

@keyframes bounceHint {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
} /* Tablet / Desktop Presentation Configuration Rules */
@media (min-width: 768px) {
  .carousel-slide {
    flex-direction: row;
  }
  .slide-art-box {
    width: 50%;
    border-bottom: none;
    border-right: 1px solid rgba(218, 115, 36, 0.1);
  }
  .slide-details-box {
    width: 50%;
    padding: 32px;
  }
} /* Mobile Tweak Rules */
@media (max-width: 480px) {
  .examples-display-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   FIXED SOCIAL LINKS SCROLL ENGINE OVERRIDE
   ========================================================================== */

#sub-page #social-hub {
  position: fixed;
  bottom: 24px;
  left: 0;
  width: 100%;
  z-index: 9999;
  /* 🌟 Force it completely hidden and pushed down beneath your hero view */
  opacity: 0 !important;
  transform: translateY(60px) !important;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.4s ease-in-out !important;
  pointer-events: none;
}

/* 🌟 The animation ignition trigger activated by your script on scroll */
#sub-page #social-hub.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto; /* Re-enables clicking on your social links */
}

/* Coordinate link text colors against your solid commissions background tray */
#sub-page #social-hub.active .social-link {
  color: var(--commissions-text-dark) !important;
}

#sub-page #social-hub.active .social-link:hover {
  color: var(--color-commissions-text) !important;
}

/* ==========================================================================
   UNIFORM TYPOGRAPHY & WEIGHT SPECIFICATIONS
   ========================================================================== */

/* 1. FORCE ABSOLUTE UNIFORMITY FOR ALL MAIN TITLES */
.slide-details-box h2,
.comms-card-title,
.tos-section h2,
.comms-card h2 {
  font-size: 1.4rem !important; /* Exact same responsive visual size */
  font-weight: 650 !important; /* Exact same semi-bold thickness */
  color: var(--color-commissions-text) !important; /* Unified theme orange */
  margin: 0 0 8px 0 !important; /* Standardized bottom margin gap */
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
}

/* 2. FORCE ABSOLUTE UNIFORMITY FOR ALL PARAGRAPHS & DESCRIPTION TEXT */
.tier-desc,
.comms-synopsis,
.service-desc,
.tos-list li {
  font-size: 0.95rem !important; /* Exact same readable body sizing */
  font-weight: 500 !important; /* Exact same clean book font thickness */
  line-height: 1.5 !important; /* Unified vertical baseline breathing space */
  color: var(--text-primary) !important; /* Unified dark slate teal text */
  margin: 0 0 16px 0 !important; /* Standard spacing beneath blocks */
}

/* 3. FIX SPECIFIC INNER ELEMENT SPACING CONTROLS */
.tos-list {
  list-style-type: none !important;
  margin: 16px 0 24px 0 !important;
  padding: 0 !important;
}

/* Re-apply layout overrides cleanly to your bullet listings */
.tos-list li {
  margin-bottom: 12px !important;
  padding-left: 20px !important;
  position: relative !important;
}

.tos-list li::before {
  content: "✦" !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--commissions-text-dark) !important;
  font-weight: 700 !important;
}
