/* style.css - ServiTecHub Brand Identity Manual Base Styles */

:root {
  --primary-color: #f8f9fa;
  --text-dark: #333333;
  --text-light: #ffffff;
  --font-family-base: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-headings: 'Montserrat', var(--font-family-base);
  --section-padding: 4rem 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 1px;}
h3 { font-size: 1.75rem; }

p {
  margin-bottom: 1rem;
  max-width: 800px;
}

/* Sections (Slide-like behavior) */
section {
  min-height: 100vh;
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center horizontally by default */
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}

section.cover-slide {
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Background Modifiers */
.bg-light {
  background-color: #f8f9fa;
  color: var(--text-dark);
}

.bg-dark {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p {
  color: var(--text-light);
}

/* Logo Display */
.logo-container {
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.05); /* Subtle background for contrast */
  border-radius: 12px;
  margin: 2rem 0;
  display: inline-block;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

/* Color Palette Display */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.color-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
}

.color-swatch {
  height: 150px;
  width: 100%;
}

.color-info {
  padding: 1.5rem;
}

.color-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.color-data {
  font-family: monospace;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

/* Typography Display */
.type-showcase {
  text-align: left;
  margin-top: 2rem;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.type-sample {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

/* Dos and Don'ts */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.do-card {
  border-left: 5px solid #28a745;
  padding: 1.5rem;
  background: #f8f9fa;
}

.dont-card {
  border-left: 5px solid #dc3545;
  padding: 1.5rem;
  background: #f8f9fa;
}

/* Print/PDF Specifics */
@media print {
  @page {
    size: landscape;
    margin: 0;
  }
  
  body {
    background-color: white !important;
  }
  
  section {
    page-break-after: always;
    min-height: 100vh;
    border-bottom: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Prevent page breaks inside cards */
  .color-card, .rules-grid > div {
    page-break-inside: avoid;
  }
}

/* Footer / Contact */
.footer-section {
  padding: 4rem 2rem;
  background-color: #111;
  color: #fff;
}

.brand-credits {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.brand-credits img {
  height: 40px;
  width: auto;
}
