/* CarryCards.com — Brand palette
   Dark green:  #1a5c2e
   Cream:       #f0e6d3
   Gold:        #c9a94e
   Light green: #235c3a
*/

:root {
  --green: #1a5c2e;
  --green-light: #235c3a;
  --green-dark: #113d1f;
  --cream: #f0e6d3;
  --gold: #c9a94e;
  --gold-light: #e3c978;
  --text: #f0e6d3;
  --text-muted: #c4b8a2;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--green);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: var(--green-dark);
  border-bottom: 1px solid rgba(201, 169, 78, 0.3);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--cream);
}

.nav-links a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--cream);
}

.nav-links a:hover {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: transparent;
  color: var(--gold);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--green-dark);
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--cream);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.placeholder-image {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  background: var(--green-light);
  border: 2px dashed rgba(201, 169, 78, 0.4);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
}

.placeholder-image svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  stroke: var(--gold);
}

.placeholder-image p {
  margin: 0;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.alt-bg {
  background: var(--green-dark);
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: var(--green-light);
  border: 1px solid rgba(201, 169, 78, 0.25);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.game-card .suit {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.game-card h3 {
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.game-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--gold);
}

.benefit h3 {
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.benefit p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  background: var(--green-light);
  border: 1px solid rgba(201, 169, 78, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  padding-top: 3.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Use cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.use-case {
  background: var(--green-light);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 78, 0.25);
}

.use-case img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.use-case h3 {
  padding: 1rem 1rem 0.25rem;
  color: var(--gold);
}

.use-case p {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Instructions page */
.instructions-section h2 {
  color: var(--gold);
  margin: 2rem 0 1rem;
  font-size: 1.6rem;
  border-bottom: 1px solid rgba(201, 169, 78, 0.3);
  padding-bottom: 0.4rem;
}

.instructions-section h3 {
  color: var(--cream);
  margin: 1.5rem 0 0.6rem;
  font-size: 1.2rem;
}

.instructions-section p,
.instructions-section li {
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.instructions-section ul,
.instructions-section ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.callout {
  background: var(--green-light);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 6px 6px 0;
}

.callout strong {
  color: var(--gold);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(201, 169, 78, 0.2);
}

.specs-table th {
  color: var(--gold);
  background: var(--green-light);
}

.specs-table td {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  border-top: 1px solid rgba(201, 169, 78, 0.3);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--gold);
}

/* Utility */
.text-center {
  text-align: center;
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-dark);
  border-top: 1px solid rgba(201, 169, 78, 0.4);
  padding: 1rem;
  z-index: 200;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 700px) {
  .cookie-banner .container {
    flex-direction: row;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-banner button {
  background: var(--gold);
  color: var(--green-dark);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.cookie-banner button:hover {
  background: var(--gold-light);
}
