/**
 * C Color Spectrum Synopsis Page Styles
 * Page-specific styles only - base patterns are in home-sections.css
 * Note: Section padding is centralized in layout.css
 */

/* Black page background lets the colored sections sit inset within dark margins */
body {
  background-color: #000;
}

/* Most non-hero sections are inset 1140px so the body's black shows on the sides.
   The quote section is intentionally excluded — it stretches edge-to-edge on live. */
.tagline-strip,
.sub-tagline-section,
.spectrum-synopsis-intro,
.four-spectrums-section,
.understanding-base-section,
.fundamentals-section,
.spectrum-cards-section,
.color-matching-section {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Banner - Page-specific overrides */
.ccolor-banner-section.hero-spectrum-synopsis {
  /* Background image set in page HTML using PHP constants */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.ccolor-banner-section.hero-spectrum-synopsis .container {
  text-align: center;
}

.ccolor-banner-section.hero-spectrum-synopsis .semitransparent-overlay {
  background: rgba(0, 0, 0, 0.8);
  display: inline-block;
  max-width: 750px;
}

.ccolor-banner-section.hero-spectrum-synopsis h1 {
  margin: 0;
  text-transform: uppercase;
  color: #fff;
  font-size: 32px;
}

@media (min-width: 768px) {
  .ccolor-banner-section.hero-spectrum-synopsis {
    min-height: 700px;
    padding: 100px 40px;
  }

  .ccolor-banner-section.hero-spectrum-synopsis h1 {
    font-size: 35.2px;
    line-height: 1.225;
  }
}

@media (min-width: 1920px) {
  .ccolor-banner-section.hero-spectrum-synopsis {
    min-height: 800px;
    padding: 120px 60px;
  }

  .ccolor-banner-section.hero-spectrum-synopsis h1 {
    font-size: 35.2px;
    line-height: 1.225;
  }
}

/* Tagline Strip - Black background strip under hero */
.tagline-strip {
  background-color: #000;
  color: #fff;
  text-align: center;
}

.tagline-strip > .container {
  padding-bottom: 0;
}

.tagline-strip p {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tagline-strip p {
    font-size: 20px;
  }
}

/* Sub-tagline CTA Section */
.sub-tagline-section {
  background-color: #000;
  color: #fff;
  text-align: center;
}

.sub-tagline-section > .container {
  padding-top: 30px; /* 50% smaller gap from tagline strip */
}

.sub-tagline-section p {
  margin: 0 auto 25px;
  font-size: 20px;
  max-width: 700px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .sub-tagline-section p {
    font-size: 22px;
  }
}

/* Light Blue Section - Intro (overrides golden-section) */
.spectrum-synopsis-intro {
  background-color: #9CC6FB !important;
}

.spectrum-synopsis-intro .section-heading {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #292b2c;
}

.spectrum-synopsis-intro .section-tagline {
  font-size: 20px;
  font-weight: 600;
  color: #292b2c;
  margin: 40px 0 20px;
}

.spectrum-synopsis-intro .app-description {
  font-style: normal;
}

@media (min-width: 768px) {
  .spectrum-synopsis-intro .section-heading {
    font-size: 26px;
  }

  .spectrum-synopsis-intro .section-tagline {
    font-size: 26px;
  }
}

/* Four Spectrums Section - Light Blue */
.four-spectrums-section {
  background-color: #9CC6FB;
  color: #292b2c;
  text-align: center;
}

.four-spectrums-section h2 {
  font-size: 30px;
  line-height: 39.5455px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #292b2c;
}

.four-spectrums-section > .container { padding-top: 0; margin-top: -10px; }

/* Spectrum Info Layout - Two column: bars left, text right */
.spectrum-info-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .spectrum-info-layout {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
}

.spectrum-bars {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .spectrum-bars {
    width: 280px;
  }
}

.spectrum-bar-item {
  display: flex;
  flex-direction: column-reverse;
}

.spectrum-bar-item h3 {
  font-size: 24px;
  line-height: 32.4px;
  font-weight: bold;
  margin: 0;
  padding-top: 10px;
  color: #292b2c;
}

.spectrum-bar {
  height: 70px;
  width: 100%;
}

.spectrum-bar-1 {
  background-color: #696f7b;
}

.spectrum-bar-2 {
  background-color: #010133;
}

.spectrum-bar-3 {
  background-color: #384f9f;
}

.spectrum-bar-4 {
  background-color: #333a40;
}

.spectrum-description {
  text-align: left;
}

.spectrum-description p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #292b2c;
}

.spectrum-description p:last-child {
  margin-bottom: 0;
}

/* Understanding Base Section - Light Blue (overrides golden-section) */
.understanding-base-section {
  background-color: #9CC6FB !important;
}

.understanding-base-section .section-heading {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #292b2c;
}

.understanding-base-section .colors-stat {
  font-size: 20px;
  margin-bottom: 30px;
}

.understanding-base-section .woman-glasses-image {
  margin: 30px auto;
  max-width: 800px;
}

.understanding-base-section .woman-glasses-image img {
  width: 100%;
  height: auto;
  display: block;
}

.understanding-base-section .ccs-icon-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
  max-width: 900px;
  flex-wrap: wrap;
}

.understanding-base-section .ccs-icon-row img {
  width: 180px;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .understanding-base-section .ccs-icon-row {
    gap: 10px;
  }
  .understanding-base-section .ccs-icon-row img {
    width: calc(50% - 10px);
  }
}

@media (min-width: 768px) {
  .understanding-base-section .section-heading {
    font-size: 22px;
  }
}

/* Fundamentals Section */
.fundamentals-section {
  background-color: #000;
  color: #fff;
  text-align: center;
}

.fundamentals-section h2 {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #fff;
}

.fundamentals-list {
  max-width: 900px;
  margin: 0 auto;
}

.fundamental-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .fundamental-item {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
}

.fundamental-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .fundamental-image {
    width: 200px;
    height: 200px;
  }
}

.fundamental-text {
  flex: 1;
}

.fundamental-text p {
  color: #fff;
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
}

.fundamentals-note {
  color: #fff;
  font-size: 16px;
  font-style: italic;
  margin-top: 20px;
  text-align: center;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .fundamentals-section h2 {
    font-size: 25.6px;
  }
}

/* Spectrum Cards Section - Black Background */
.spectrum-cards-section {
  background-color: #000;
  color: #fff;
  text-align: center;
}

.spectrum-cards-section h2 {
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #fff;
}

.spectrum-cards-section .section-subtitle {
  font-size: 16px;
  margin-bottom: 40px;
  color: #fff;
}

.spectrum-cards-section .spectrum-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .spectrum-cards-section .spectrum-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Collapse adjacent card borders to single 3px lines instead of doubled 6px */
.spectrum-cards-section .spectrum-card + .spectrum-card {
  border-left: 0;
}

@media (max-width: 767px) {
  .spectrum-cards-section .spectrum-card + .spectrum-card {
    border-left: 3px solid #fff;
  }
  .spectrum-cards-section .spectrum-card:nth-child(odd) + .spectrum-card {
    border-left: 0;
  }
  .spectrum-cards-section .spectrum-card:nth-child(n+3) {
    border-top: 0;
  }
}

.spectrum-cards-section .spectrum-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
  min-height: 220px;
  text-align: center;
  text-decoration: none;
  border: 3px solid #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spectrum-cards-section .spectrum-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.spectrum-cards-section .card-title {
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  display: block;
  margin-bottom: 8px;
}

.spectrum-cards-section .card-subtitle {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  display: block;
}

.spectrum-cards-section .spectrum-card-1 {
  background-color: #696f7b;
}

.spectrum-cards-section .spectrum-card-2 {
  background-color: #010133;
}

.spectrum-cards-section .spectrum-card-3 {
  background-color: #384f9f;
}

.spectrum-cards-section .spectrum-card-4 {
  background-color: #333a40;
}

@media (min-width: 768px) { /* tablet breakpoint - min */
  .spectrum-cards-section h2 {
    font-size: 26px;
  }

  .spectrum-cards-section .spectrum-card {
    min-height: 280px;
  }

  .spectrum-cards-section .card-title {
    font-size: 24px;
  }

  .spectrum-cards-section .card-subtitle {
    font-size: 20px;
  }
}

.color-matching-section .section-heading {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #0005e0;
}

.color-matching-section .sub-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #292b2c;
}

.color-matching-section .highlight-text {
  font-weight: bold;
  color: #0005e0;
}

.color-matching-section .app-features {
  margin-top: 30px;
  font-style: italic;
}

@media (min-width: 768px) {
  .color-matching-section .section-heading {
    font-size: 26px;
  }

  .color-matching-section .sub-heading {
    font-size: 22px;
  }
}

/* C Color Coordinates Section */
.coordinates-section {
  background-color: #000;
  color: #fff;
  /* padding handled by section > .container rule */
  text-align: center;
}

.coordinates-section h2 {
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #fff;
}

.coordinates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 30px;
}

@media (min-width: 768px) {
  .coordinates-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

.coordinate-item {
  text-align: center;
}

.coordinate-item .swatch-title {
  display: block;
  color: #ffe29e;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.coordinate-item .swatch-title:hover {
  text-decoration: underline;
}

.coordinate-item a img {
  width: 100%;
  max-width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.coordinates-caption {
  font-size: 16px;
  color: #ffe29e;
  margin: 30px auto 0;
  max-width: 700px;
  font-style: italic;
}

@media (min-width: 768px) {
  .coordinates-section h2 {
    font-size: 26px;
  }
}

/* Final CTA Section - White background */
.final-cta-section {
  background-color: #fff;
  color: #292b2c;
  text-align: center;
}

.final-cta-section h2 {
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #292b2c;
}

@media (min-width: 768px) {
  .final-cta-section h2 {
    font-size: 26px;
  }
}
