

@font-face {
  font-family: 'League Spartan';
  src: url('../assets/fonts/LeagueSpartan-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}



/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY & TEXT */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #111;
  line-height: 1.8;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR FINAL - stil din index */
/* NAVBAR TRANSPARENT & SCROLL BLUR */
/* Bara de navigație fixă */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(5, 0, 36, 0.742),rgba(6, 0, 37, 0.742),rgba(8, 0, 53, 0.742), rgba(8, 0, 53, 0.742));
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
  z-index: 999;
}

.navbar.scrolled {
  background: linear-gradient(to bottom, rgba(5, 0, 36, 0.742),rgba(6, 0, 37, 0.742),rgba(8, 0, 53, 0.742), rgba(8, 0, 53, 0.742));
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.74);
}

/* --- LOGO STÂNGA --- */
/* === STRUCTURĂ GENERALĂ === */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 2300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  width: 100%;
}

.navbar-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

/* === MENIU === */


.nav-menu li a {
  font-family: 'Decalotype', sans-serif;
  font-weight: normal;       /* nu bold */
  font-style: normal;        /* nu italic */
  font-size: 27px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}


.navbar.scrolled .nav-menu li a {
  color: rgb(255, 255, 255);
}

.nav-menu li a.active,
.nav-menu li a:hover {
  color: #ffffff;
}

/* === LOGO === */
.logo {
  height: 70px;
  margin-top: 6px; /* ajustează aici după preferință */
}

.navbar-right {
  display: flex;
  align-items: right;
  gap: 1rem; /* spațiere între iconițe */
}

.navbar-right a img {
  height: 35px;
  transition: transform 0.2s ease;
}

.navbar-right a:hover img {
  transform: scale(1.2);
}


.social-sticky .share-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  color: white;
  font-weight: bold;
}

.social-sticky a img {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1); /* face iconițele albe */
}

.social-sticky a:hover img {
  transform: scale(1.2);
}


/* HERO BANNER */
.hero-banner {
  background-color: #f0f0f2;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.hero-banner img {
  width: 100%;
  max-width: 1100px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

/* BLOG CONTAINER */
.blog-container {
  background-color: #fff;
  max-width: 1000px;
  margin: 2rem auto 4rem;
  margin-top: 150px;
  padding: 0 4rem 5rem; /* ⬅️ Eliminăm paddingul de sus pentru ca imaginea să rămână lipită */
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.03);
}

/* COVER IMAGE rămâne întinsă complet */
.cover-image-full {
  position: relative;
  width: calc(100% + 8rem); /* 4rem pe fiecare parte (pentru că .blog-container are 4rem padding lateral) */
  height: 620px;
  margin-left: -4rem;
  margin-right: -4rem;
  margin-top: -3rem;
  margin-bottom: 3rem;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.cover-image-full img {
  width: 100%;
  height: 100%; /* sau `auto` dacă vrei înălțime dinamică */
  display: block;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}


/* BLOG HEADER INFO */
.blog-article .category {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: .75rem;
}

.blog-article .main-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  color: #111;
}

.blog-article .subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* AUTHOR INFO */
.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #333;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
}

/* BLOG CONTENT */
.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
  text-align: justify;
  line-height: 1.9;
  color: #222;
}

/* PRIMA LITERĂ MARE LA PRIMUL PARAGRAF */
.blog-content p:first-of-type::first-letter {
  float: left;
  font-size: 4.1rem;
  line-height: 1;
  padding-right: 0.2rem;
  font-weight: bold;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-container {
    padding: 2rem 1rem;
  }

  .cover-image-full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    height: 280px;
  }

  .cover-image-full img {
    border-radius: 0;
  }

  .blog-article .main-title {
    font-size: 2rem;
  }
    
}


/* Footer */
.gov-footer {
  position: relative;
  background-color: #0b1320;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'League Spartan', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Watermark cu fade aplicat doar pe imagine */
.gov-footer::after {
  content: '';
  position: absolute;
  bottom: -90px;
  right: 20px;
  width: 1100px;
  height: 400px;
  background-image: url('../images/Logo Timisoara.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  -webkit-mask-image: linear-gradient(to top, rgb(255, 255, 255), transparent);
  mask-image: linear-gradient(to top, rgb(255, 255, 255), transparent);

  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* TOP FOOTER - aliniere pe linie */
.footer-top {
  display: flex;
  justify-content: space-between; /* 🔁 spațiere automată între cele 3 secțiuni */
  align-items: center;
  gap: 500px; /* 🔧 poți ajusta: 60px, 80px, 120px */
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 30px;
  z-index: 1;
}


.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.footer-left {
  justify-content: flex-start;
  gap: 12px;
}

.footer-logo {
  width: 120px;
}

.footer-desc {
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-center a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
}

.footer-right {
  justify-content: flex-end;
  gap: 16px;
}

.footer-right a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-right img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(1) invert(0);
  transition: transform 0.2s ease;
}

.footer-right a:hover img {
  transform: scale(1.2);
}

/* BOTTOM FOOTER */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background: #444;
  margin: 10px auto;
  max-width: 1500px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-left, .footer-center, .footer-right {
    justify-content: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }

  .footer-right {
    gap: 1rem;
  }

  .footer-logo {
    max-width: 120px;
    height: auto;
  }
}

/* Meniu mobil și hamburger */
@media screen and (max-width: 991px) {
  .hero-banner {
    background-size: 100%; /* zoom pe lățime */
    background-position: center top;
    background-repeat: no-repeat;
  }
}

@media (max-width: 768px) {
  .blog-content {
    padding: 0 1rem;
  }

  .blog-title {
    font-size: 1.5rem; /* ajustat pentru mobil */
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .blog-content p {
    text-align: justify;
    padding: 0 0 1.4rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #222;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .blog-content p:first-of-type::first-letter {
    float: left;
    font-size: 3rem;
    line-height: 1;
    padding-right: 0.5rem;
    font-weight: bold;
    color: #000;
  }
}

@media (max-width: 768px) {
  .blog-hero-content .subtitle {
    font-size: 0.9rem;     /* mai mic decât 1.2rem default */
    opacity: 0.75;
    text-align: center;
  }

  .blog-hero-content h1 {
    font-size: 1.6rem;     /* titlu principal – adaptat pentru mobil */
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.4rem;
  }

  .blog-hero-content .description {
    font-size: 0.85rem;    /* subtitlu de sub h1 */
    opacity: 0.7;
    text-align: center;
    padding: 0 1rem;
  }
}


@media (max-width: 768px) {
  .blog-article .main-title {
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
  }

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }

  .mobile-menu ul li {
    margin: 1rem 0;
  }

body {
  font-family: 'League Spartan', sans-serif;
}

h1, h2, h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
}


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY & TEXT */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #111;
  line-height: 1.8;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR FINAL - stil din index */
/* NAVBAR TRANSPARENT & SCROLL BLUR */
/* Bara de navigație fixă */


.navbar.scrolled {
  background: linear-gradient(to bottom, rgba(5, 0, 36, 0.742),rgba(6, 0, 37, 0.742),rgba(8, 0, 53, 0.742), rgba(8, 0, 53, 0.742));
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.74);
}


/* === LOGO === */
.logo {
  height: 70px;
  margin-top: 6px; /* ajustează aici după preferință */
}

.navbar-right {
  display: flex;
  align-items: right;
  gap: 1rem; /* spațiere între iconițe */
}

.navbar-right a img {
  height: 35px;
  transition: transform 0.2s ease;
}

.navbar-right a:hover img {
  transform: scale(1.2);
}

/* === SOCIAL STICKY === */
.social-sticky {
  position: fixed;
  top: 35%;
  right: 0;
  background: #c00; 
  border-radius: 12px 0 0 12px;
  padding: 0.6rem 0.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.594);
  font-family: 'Decalotype', sans-serif !important;
}

.social-sticky .share-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  color: white;
  font-weight: bold;
}

.social-sticky a img {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1); /* face iconițele albe */
}

.social-sticky a:hover img {
  transform: scale(1.2);
}


/* HERO BANNER */
.hero-banner {
  background-color: #f0f0f2;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.hero-banner img {
  width: 100%;
  max-width: 1100px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

/* BLOG CONTAINER */
.blog-container {
  background-color: #fff;
  max-width: 1000px;
  margin: 2rem auto 4rem;
  margin-top: 150px;
  padding: 0 4rem 5rem; /* ⬅️ Eliminăm paddingul de sus pentru ca imaginea să rămână lipită */
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.03);
}

/* COVER IMAGE rămâne întinsă complet */
.cover-image-full {
  position: relative;
  width: calc(100% + 8rem); /* 4rem pe fiecare parte (pentru că .blog-container are 4rem padding lateral) */
  height: 620px;
  margin-left: -4rem;
  margin-right: -4rem;
  margin-top: -3rem;
  margin-bottom: 3rem;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.cover-image-full img {
  width: 100%;
  height: 100%; /* sau `auto` dacă vrei înălțime dinamică */
  display: block;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}


/* BLOG HEADER INFO */
.blog-article .category {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: .75rem;
}

.blog-article .main-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  color: #111;
}

.blog-article .subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* AUTHOR INFO */
.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #333;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
}

/* BLOG CONTENT */
.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
  text-align: justify;
  line-height: 1.9;
  color: #222;
}

/* PRIMA LITERĂ MARE LA PRIMUL PARAGRAF */
.blog-content p:first-of-type::first-letter {
  float: left;
  font-size: 4.1rem;
  line-height: 1;
  padding-right: 0.2rem;
  font-weight: bold;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-container {
    padding: 2rem 1rem;
  }

  .cover-image-full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    height: 280px;
  }

  .cover-image-full img {
    border-radius: 0;
  }

  .blog-article .main-title {
    font-size: 2rem;
  }
    
}


/* Footer */
.gov-footer {
  position: relative;
  background-color: #0b1320;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'League Spartan', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Watermark cu fade aplicat doar pe imagine */
.gov-footer::after {
  content: '';
  position: absolute;
  bottom: -90px;
  right: 20px;
  width: 1100px;
  height: 400px;
  background-image: url('../images/Logo Timisoara.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  -webkit-mask-image: linear-gradient(to top, rgb(255, 255, 255), transparent);
  mask-image: linear-gradient(to top, rgb(255, 255, 255), transparent);

  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* TOP FOOTER - aliniere pe linie */
.footer-top {
  display: flex;
  justify-content: space-between; /* 🔁 spațiere automată între cele 3 secțiuni */
  align-items: center;
  gap: 500px; /* 🔧 poți ajusta: 60px, 80px, 120px */
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 30px;
  z-index: 1;
}


.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.footer-left {
  justify-content: flex-start;
  gap: 12px;
}

.footer-logo {
  width: 120px;
}

.footer-desc {
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-center a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
}

.footer-right {
  justify-content: flex-end;
  gap: 16px;
}

.footer-right a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-right img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(1) invert(0);
  transition: transform 0.2s ease;
}

.footer-right a:hover img {
  transform: scale(1.2);
}

/* BOTTOM FOOTER */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background: #444;
  margin: 10px auto;
  max-width: 1500px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-left, .footer-center, .footer-right {
    justify-content: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }

  .footer-right {
    gap: 1rem;
  }

  .footer-logo {
    max-width: 120px;
    height: auto;
  }
}

/* Meniu mobil și hamburger */
@media screen and (max-width: 991px) {
  .hero-banner {
    background-size: 100%; /* zoom pe lățime */
    background-position: center top;
    background-repeat: no-repeat;
  }
}

@media (max-width: 768px) {
  .blog-content {
    padding: 0 1rem;
  }

  .blog-title {
    font-size: 1.5rem; /* ajustat pentru mobil */
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .blog-content p {
    text-align: justify;
    padding: 0 0 1.4rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #222;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .blog-content p:first-of-type::first-letter {
    float: left;
    font-size: 3rem;
    line-height: 1;
    padding-right: 0.5rem;
    font-weight: bold;
    color: #000;
  }
}

@media (max-width: 768px) {
  .blog-hero-content .subtitle {
    font-size: 0.9rem;     /* mai mic decât 1.2rem default */
    opacity: 0.75;
    text-align: center;
  }

  .blog-hero-content h1 {
    font-size: 1.6rem;     /* titlu principal – adaptat pentru mobil */
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.4rem;
  }

  .blog-hero-content .description {
    font-size: 0.85rem;    /* subtitlu de sub h1 */
    opacity: 0.7;
    text-align: center;
    padding: 0 1rem;
  }
}


@media (max-width: 768px) {
  .blog-article .main-title {
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
  }

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }

  .mobile-menu ul li {
    margin: 1rem 0;
  }

  .mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
  }

  #mobileMenuClose {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
}

  .hamburger span {
    height: 3px;
    width: 100%;
    background: white;
    display: block;
    border-radius: 2px;
  } }
  #mobileMenuClose {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
}

  .hamburger span {
    height: 3px;
    width: 100%;
    background: white;
    display: block;
    border-radius: 2px;
  } }

  #mobileMenu ul li a {
  font-family: 'Decalotype', sans-serif !important;
  font-weight: 700;
}

.mobile-menu a {
  font-family: 'Decalotype', sans-serif !important;
}
