body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Hero section with background image */
header.hero {
  background: url('images/jenny.jpg') center/cover no-repeat;
  height: 60vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: #0074d9;
  margin-bottom: 20px;
}

.profile-pic {
  max-width: 160px;
  border-radius: 50%;
  margin: 10px auto 20px;
  display: block;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
  font-size: 1.1em;
}

/* Cards for articles and products */
.card {
  background: white;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #0074d9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.1em;
  margin: 10px 0;
}

.card h3 a {
  color: #0074d9;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

.card p {
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  background: #0074d9;
  color: white;
  padding: 10px 16px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  font-size: 0.9em;
  text-align: center;
}

.btn:hover {
  background: #005fa3;
}

/* Product grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 40px 20px;
  background: #f2f2f2;
}

.product-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  max-height: 200px;
}

.products .card h3 {
  margin: 10px 0 5px;
  font-size: 1.1em;
}

.products .card p {
  font-size: 0.95em;
  color: #555;
  flex-grow: 1;
}

/* Pinterest Button */
.contact .btn {
  background-color: #e60023;
}

.contact .btn:hover {
  background-color: #bf0811;
}

/* Topbar Menu */
.topbar {
  background: #0074d9;
  padding: 10px 0;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.site-logo {
  height: auto;
  width: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

/* Larger logo on PC */
@media (min-width: 768px) {
  .site-logo {
    max-height: 160px;
  }
}

.topbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.topbar nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.topbar nav a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  font-size: 0.9em;
}

/* Pinterest section */
.pinterest {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.pinterest h2 {
  margin-bottom: 20px;
  color: #e60023;
}

/* Blog post layout */
.blog-post {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
  background: #ffffff;
}

.blog-post h1 {
  font-size: 2em;
  color: #0074d9;
  margin-bottom: 20px;
}

.blog-featured-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 6px;
  object-fit: contain;
}

.blog-post p {
  font-size: 1.05em;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-post .btn {
  display: inline-block;
  background: #0074d9;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

.blog-post .btn:hover {
  background-color: #005fa3;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  section {
    padding: 30px 15px;
  }

  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar nav ul {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .card {
    padding: 15px;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .site-logo {
    max-height: 100px;
  }

  .blog-post h1 {
    font-size: 1.5em;
  }

  .blog-featured-img {
    max-height: 240px;
    object-fit: cover;
  }

  .blog-post p {
    font-size: 1em;
  }
}
