@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;700&display=swap');

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

body {
  font-family: 'Maven Pro', sans-serif;
  background-color: #ffffff;
  color: #222222;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 20px;
}

nav {
  width: 100%;
  background-color: #ffffff;
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-container .logo {
  font-size: 24px;
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
    min-width: 180px;
    animation: dropdownFade 0.3s ease;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 12px 24px;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
  }

  .nav-links li a:hover {
    color: #ffc200;
  }

  .menu-toggle {
    display: flex;
  }
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}


.nav-container .nav-links li a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-container .nav-links li a:hover {
  color: #ffc200;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding-top: 40px;
  padding-bottom: 40px;
  flex: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px 20px;
}

.blog {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
}

.blog:hover {
  transform: translateY(-5px);
}

.blog-image {
  position: relative;
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-image .date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 13px;
  border: 1px solid #ddd;
}

.blog-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000;
  font-weight: 600;
}

.blog-content p {
  color: #444;
  margin-bottom: 10px;
  font-size: 15px;
  flex-grow: 1;
}

.blog-content a {
  color: #ffc200;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.blog-content a:hover {
  text-decoration: underline;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.blog-card-link:hover .blog {
  transform: translateY(-5px);
}

.read-more {
  color: #ffc200;
  font-weight: 500;
  font-size: 14px;
}


footer {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-container p {
  color: #444;
  font-size: 16px;
}


