{
    box-sizing: border-box;
    margin: 0;
    Padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI' , sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header */
header {
    background-color: #222;
    color: #fff;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

header .logo {
    font-size: 1.5rem; /*changes main header font*/
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none; /*puts menu options in horizontal format*/
    display: flex;
    gap: 1rem;
    justify-content: right;
    flex-wrap: wrap;
}

nav a {
    color: #fff; /*changes font of menu options*/
    text-decoration: none;
    font-weight: bold;
}

/*Hero Section*/
.hero {
    background-color: #f1f1f1;
    padding: 2rem 0;
    text-align: center;
}

.hero h2 {
    margin-bottom: 0.5rem;
}

/* Blog Feed */
.blog-feed {
    padding: 2rem 0;
}

/* Indiviual blog Post styling*/
.blog-post {
    background: white;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0,0.5);
    max-width: 650px;/*limits width to keep it readable */
    text-align: center;/*Center titles inside the card*/
}

/* Post Title*/
.blog-post h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: #111;
    font-size: 2rem;
    text-align: center;/*Explicitly center title text*/
}

.blog-post h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #e07a5f;
    margin: 0.5rem auto 1rem;
    border-radius: 2px;
}

/* Post Meta(date)*/
.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

/* Post content Paragraph */
.blog-post p {
    text-align: left;/* left align paragraph for readibility*/
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: #222;
    color:#ccc;
    text-align: center;
    padding:1rem 0;
    margin-top: 2rem;
}

.about-section {
  max-width: 700px;
  margin: 2rem auto;
  padding-bottom: 3rem;
}

.about-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px; /* adjust as needed */
    width: auto;
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #000; /* adjust to fit your theme */
}

.subscribe {
  background-color: #fff3e0;
  padding: 2rem 0;
  text-align: center;
  margin-top: 2rem;
  border-radius: 8px;
}

.subscribe input,
.subscribe button {
  padding: 0.8rem;
  margin: 0.5rem;
  font-size: 1rem;
}

.subscribe {
    background-color: #f1f1f1;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.subscribe h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.subscribe p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.subscribe input[type="email"] {
    padding: 0.5rem;
    font-size: 1rem;
    width: 250px;
    max-width: 100%;
    margin-right: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.subscribe button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #e07a5f;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.subscribe button:hover {
    background-color: #d15c40;
}

.subscribe-top {
  background: #f5f5f5;
  padding: 2rem 0;
  margin-top: -1rem;
  border-top: 1px solid #ddd;
  text-align: center;
}

.subscribe-top input[type="email"] {
  padding: 0.5rem;
  width: 250px;
  max-width: 90%;
  margin-right: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.subscribe-top button {
  padding: 0.55rem 1rem;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.subtle-subscribe {
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: #444;
}

.subtle-subscribe .subscribe-intro {
  margin-bottom: 0.8rem;
  font-style: italic;
  color: #666;
}

.subtle-subscribe input[type="email"] {
  padding: 0.45rem;
  width: 220px;
  max-width: 80%;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.subtle-subscribe button {
  padding: 0.48rem 1rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.subtle-subscribe button:hover {
  background-color: #555;
}

@media (max-width: 600px) {
  .subtle-subscribe form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .subtle-subscribe input[type="email"] {
    width: 90%;
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }

  .subtle-subscribe button {
    width: 90%;
    font-size: 1rem;
  }
}

/* Error styling */
.error-message {
  color: #d9534f;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

input:invalid {
  border-color: #d9534f;
}

input:valid {
  border-color: #28a745;
}

/* Utility class to visually hide labels */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hidden {
  display: none;
}

.thank-you {
  text-align: center;
  margin-top: 1rem;
  padding: 1.2rem;
  background-color: #e6ffe6;
  color: #2e7d32;
  border: 1px solid #b2fab4;
  border-radius: 6px;
  font-size: 1rem;
}

.subtle-subscribe .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subtle-subscribe #form-container,
.subtle-subscribe #thank-you-message {
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.thank-you p {
  margin: 0;
  font-weight: normal;
  line-height: 1.5;
}

.subtle-subscribe .subscribe-message {
  text-align: center;
  margin-bottom: 1rem;
}

.subtle-subscribe .subscribe-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.subtle-subscribe .subscribe-message p {
  font-size: 1rem;
  color: #444;
  margin: 0;
}
