/* simple-pages.css - Styles for simple static pages (come-back-later, go-home-buddy, confirmation) */

/* ========================================= */
/* FULL HEIGHT LAYOUT */
/* ========================================= */

/* Full height layout for simple pages */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Center main content vertically and horizontally */
main {
  display: grid;
  place-items: center;
  flex: 1;
}

/* ========================================= */
/* CARD STYLING FOR SIMPLE PAGES */
/* ========================================= */

/* Simple page card styling - extends common .card component */
.simple-card {
  max-width: 560px;
  padding: 28px;
  text-align: center;
}

/* ========================================= */
/* LEGO BAR STYLING FOR SIMPLE PAGES */
/* ========================================= */

/* Lego bar layout specific to simple pages */
.simple-lego {
  height: 10px;
  border-radius: 4px;
  margin: 10px 0;
  display: flex;
  gap: 10px;
}

.simple-lego > span {
  flex: 1;
}

/* ========================================= */
/* TEXT STYLING */
/* ========================================= */

/* Paragraph styling for simple pages */
.simple-page p {
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0;
}

/* ========================================= */
/* BUTTON STYLING FOR SIMPLE PAGES */
/* ========================================= */

/* Specific button spacing for simple pages */
.simple-page .btn {
  margin-top: 30px;
  margin-bottom: 20px;
}

/* ========================================= */
/* CONFIRMATION PAGE SPECIFIC STYLES */
/* ========================================= */

/* Override main content width for confirmation page only (keep header full width) */
.confirmation-page main .wrap {
  max-width: 650px;
}

/* Confirmation page card styling */
.confirmation-card {
  padding: 32px;
  text-align: center;
}

/* Order details container */
.order-details {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

/* Individual detail rows */
.detail-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

/* Total row styling */
.total {
  font-weight: 700;
  font-size: 18px;
}

/* Confirmation page lego row */
.confirmation-lego-row {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}

.confirmation-lego-row .lego {
  height: 8px;
  border-radius: 4px;
  flex: 1;
}

/* Button group for confirmation page actions */
.confirmation-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ========================================= */
/* ABOUT PAGE SPECIFIC STYLES */
/* ========================================= */

/* About page layout */
.about-page {
  max-width: 800px;
  margin: 0 auto;
}

/* About hero section */
.about-hero {
  text-align: center;
  margin-bottom: 48px;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.about-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* About content sections */
.about-content {
  line-height: 1.7;
}

.about-section {
  margin-bottom: 48px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--ink);
}

.about-section p {
  margin-bottom: 16px;
  color: var(--ink);
  opacity: 0.9;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.team-member {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-member h3 {
  margin: 0 0 8px 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 16px 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member p:not(.team-role) {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.feature {
  text-align: center;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.feature h3 {
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* CTA section */
.cta-section {
  text-align: center;
  margin-top: 32px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.cta-section p {
  margin: 0 0 24px 0;
  font-size: 1.1rem;
  color: var(--ink);
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-subtitle {
    font-size: 1.1rem;
  }
  
  .about-section h2 {
    font-size: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}