/* MyArtistry.co.uk - Art Supplies & Creative Community */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Caveat:wght@400;700&display=swap');

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

:root {
  --crimson: #e63946;
  --orange: #f4a261;
  --teal: #2a9d8f;
  --navy: #1d3557;
  --cream: #fefae0;
  --lilac: #b5838d;
  --white: #ffffff;
  --grey-100: #f8f9fa;
  --grey-600: #555;
  --grey-800: #222;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--grey-800);
  background: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
header {
  background: var(--white);
  border-bottom: 3px solid var(--crimson);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  text-decoration: none;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--grey-600);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, #fff5f5 50%, #e8f8f5 100%);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.15;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.12;
}

.hero h1 {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--grey-600);
  max-width: 600px;
  margin: 0 auto;
}

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

section:nth-child(even) {
  background: var(--grey-100);
}

h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-family: 'Caveat', cursive;
}

h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--grey-600);
}

/* Cards / Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--crimson);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--navy);
  transform: scale(1.03);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

/* Article */
.article-content {
  max-width: 750px;
  margin: 0 auto;
}

.article-content img {
  width: 100%;
  border-radius: 10px;
  margin: 2rem 0;
}

.article-content h2 {
  margin-top: 2.5rem;
}

/* Feature image */
.feature-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 3rem 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  header nav { flex-wrap: wrap; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.6rem; }
  .brand { font-size: 1.3rem; }
  .grid-3 { grid-template-columns: 1fr; }
}

.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }
