/*
 * Labubu Central – Global styles
 *
 * This stylesheet defines the look and feel of Labubu Central.  The
 * color palette is inspired by the soft, friendly tones found in
 * Labubu collectibles: pastel pinks, blues and creams.  The layout
 * favours generous white‑space, rounded corners and clear typography
 * so that the content is easy to read on mobile or desktop.  All
 * colours are defined at the top to simplify theme tweaking later.
 */

/* Colour palette */
:root {
  --color-bg: #fff8f4;       /* warm cream background */
  --color-primary: #f7d9e3;  /* soft pink for highlights */
  --color-secondary: #dceff8; /* pale blue for accents */
  --color-accent: #e9f5e9;   /* light green accent */
  --color-text: #333333;     /* dark grey for readability */
  --color-link: #c44f8d;    /* muted berry for links */
  --color-border: #e8e1db;  /* subtle border colour */
  --max-width: 960px;       /* max width for page content */
}

/* Global resets */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout */
header {
  background-color: var(--color-primary);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
header .container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--color-text);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
nav li {
  margin: 0;
}
nav a {
  font-weight: 500;
  transition: color 0.2s ease;
  padding-bottom: 0.2rem;
}
nav a:hover {
  color: var(--color-text);
}

/* Active navigation link */
nav a.active {
  color: var(--color-link);
  border-bottom: 2px solid var(--color-link);
}

/* Hero section */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}
.hero h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
.hero p {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.hero .cta {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background-color: var(--color-link);
  color: #ffffff;
  border-radius: 30px;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}
.hero .cta:hover {
  background-color: #b03b70;
}

/* Main content */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0;
}

section {
  margin-bottom: 3rem;
}

h1, h2, h3, h4 {
  color: var(--color-text);
  line-height: 1.25;
  margin-top: 0;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.1rem;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
}
.card-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.card-content p {
  flex: 1;
  font-size: 0.9rem;
  color: #555555;
}
.card-content a {
  align-self: flex-start;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--color-link);
}

/* Footer */
footer {
  background-color: var(--color-secondary);
  color: #444;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
footer a {
  color: var(--color-link);
}
footer a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

/* Tables – used on Resources page */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th, td {
  padding: 0.8rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
th {
  background-color: var(--color-accent);
}

/* Newsletter / subscription box */
.subscribe-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}
.subscribe-box input[type="email"] {
  padding: 0.8rem;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.subscribe-box button {
  padding: 0.8rem 1.2rem;
  background-color: var(--color-link);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}
.subscribe-box button:hover {
  background-color: #b03b70;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero h2 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}