/* blog1.css */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;500;700&display=swap');

:root {
  --primary-color: #d7cba4;
  --text-color: #222;
  --background-color: #f9f9f9;
  --accent-color: #c5b88e;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
}

.container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  animation: fadeIn 1.5s ease-in-out;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--accent-color);
}

p {
  font-size: 1rem;
  margin-bottom: 18px;
  text-align: justify;
}

img.blog-image {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  transition: transform 0.3s ease;
}

img.blog-image:hover {
  transform: scale(1.02);
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    margin: 20px;
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 10px 20px;
  }
}
