/* Responsive design pentru mobil */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    padding: 15px 3%;
    font-size: 16px;
  }
  .navbar ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    margin-top: 10px;
  }
  .navbar ul li {
    margin: 10px 0 0 0;
  }
  .blog-content-centered {
    max-width: 98vw;
    padding: 0 2vw;
    position: static;
  }
  h1 {
    font-size: 32px;
    margin-top: 20px;
  }
  h2 {
    font-size: 20px;
    margin-top: 10px;
  }
  article {
    max-width: 98vw;
    padding: 10px 2vw;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Centrare conținut blog */
.blog-content-centered {
  text-align: center;
  margin: 40px auto 0 auto;
  max-width: 800px;
  position: relative;
}
.blog-content-centered ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding: 0;
}
.blog-content-centered li {
  text-align: left;
  margin-bottom: 10px;
}
.blog-content-centered h1,
.blog-content-centered ul,
.blog-content-centered li,
.blog-content-centered a {
  text-indent: 0;
}

/* Stiluri pentru articole */
.article-section {
  margin-bottom: 40px;
  text-align: left;
}
.article-section h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #333;
}
.article-section .long-title {
  font-size: 1.5em;
}
.article-section article {
  max-width: 100%;
  padding: 20px;
  margin: 0 auto;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.article-section article p {
  margin-bottom: 15px;
}
.article-section article ul {
  margin-left: 20px;
}
.article-section article li {
  margin-bottom: 5px;
}

/* Buton Back to Home sus/jos */
.back-home {
  display: inline-block;
  margin: 30px auto 10px auto;
  padding: 10px 28px;
  background: rgba(0, 123, 255, 0.7);
  color: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
  text-align: center;
}
.back-home:hover {
  background: rgba(0, 123, 255, 1);
  color: #fff;
}

/* Stiluri pentru home section */
.home {
  padding: 100px 9% 50px;
  text-align: center;
}
.home-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.home-info h1 {
  font-size: 3em;
  margin-bottom: 10px;
}
.home-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
}
.home-info p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.home-img {
  flex: 1;
}
.home-img img {
  max-width: 100%;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .home-flex {
    flex-direction: column;
    text-align: center;
  }
  .home-info h1 {
    font-size: 2em;
  }
  .home-info h2 {
    font-size: 1.5em;
  }
}

body {
  font-family: Georgia, serif;
  background: #87ceeb;
  color: #333;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 25px 9%;
  background: skyblue;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.navbar .logo {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.navbar .logo img {
  vertical-align: middle;
  margin-right: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

img {
  max-width: 100%;
  border-radius: 6px;
  margin: 20px 0;
}

p {
  margin-bottom: 20px;
}

pre {
  background: #282c34;
  color: #f8f8f2;
  padding: 15px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 20px;
}

code {
  font-family: Consolas, monospace;
  font-size: 0.95em;
}

footer {
  text-align: center;
  padding: 20px;
  background: #f8f8f8;
  margin-top: 40px;
}