/* /css/keltech.css?v=1 */

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #2b1b22; /* charcoal-plum */
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Wrapper (local to this page only) */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Make the gallery breathe on desktop */
@media (min-width: 1100px) {
  .wrapper {
    max-width: 1600px;
  }
}

/* Header */
.deck-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.back-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.deck-header h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.deck-intro {
  max-width: 42rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Gallery */
.deck-gallery {
  padding: 3rem 0 4rem;
}

.deck-gallery .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.deck-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f1419;
}

/* Footer */
.deck-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.deck-footer p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
}

.deck-footer a {
  color: #ffffff;
  text-decoration: underline;
}

/* Tablet */
@media (min-width: 640px) {
  .deck-gallery .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Laptop & desktop – keep slides big */
@media (min-width: 900px) {
  .deck-gallery .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
  }
}

/* Button (so it looks like a button even without home-new.css) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  background: #7b2236; /* muted burgundy */
  color: #f5f3f2;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover {
  background: #641a2b;
}
