/* ==================================================
   General Styles
   ================================================== */
h1,
h2,
h3,
h4,
h5,
p {
  color: #e8dada !important;
  font-family: "Nunito", sans-serif !important;
  text-align: center;
}

html,
body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* Full height */
}

.text-center {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  font-weight: 800;
}

footer p {
  font-family: "Nunito", sans-serif;
  font-size: 0.7rem;
}

.navbar {
  background-color: rgba(31, 28, 28, 0.736);
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  overflow: visible; /* Allow logo overflow */
}

.navbar-brand {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 150px !important;
  height: auto;
  width: auto;
  position: relative;
  transform: translateY(-5px); /* Adjust position */
}

.navbar-nav {
  text-align: center;
  z-index: 10;
  position: relative;
}

.nav-link {
  font-family: "Nunito", sans-serif;
  color: #cfd5db !important;
  z-index: 10;
}

.nav-item:hover .nav-link {
  text-decoration: underline !important;
  filter: blur(0.5px) !important;
  color: #ebe1e1 !important;
  transition: font-size 0.3s ease, color 0.3s ease;
}

.navbar-toggler {
  border: none;
  color: #9e969693;
  z-index: 15;
}

.navbar-toggler-icon {
  background-color: #9e969693;
  border-radius: 3px;
  width: 2.5rem;
  height: 2rem;
  border: none;
}

.collapse {
  justify-content: flex-end;
}

/* Main Content */
main {
  flex: 1;
  padding: 20px;
  margin: 0;
}

.link-card img {
  border-radius: 5px;
  width: 30%;
  height: auto;
}

.featured-links {
  display: inline-block;
}

.des p {
  color: #e8dada;
}

.main-video-container video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
}

header {
  z-index: 10;
}

/* Card Styles */
.card {
  background-color: rgba(62, 72, 94, 0.397);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.card-img-top {
  opacity: 0.3;
  transition: opacity 0.3s ease-in-out;
  width: 100%; /* Asigură-te că imaginea ocupă întreaga lățime a containerului */
  height: 100%; /* Imaginea va ocupa înălțimea containerului */
  object-fit: cover; /* Asigură că imaginea umple containerul, păstrând proporțiile */
}

.card:hover .card-img-top {
  opacity: 1;
}

.card-body {
  color: #333;
}

.btn {
  background-color: #0a9396;
  color: white;
  border: none;
  transition: background-color 0.3s ease-in-out;
}

.btn:hover {
  background-color: #005f73;
}

footer {
  margin: 0;
  padding: 10px;
  background-color: rgba(31, 28, 28, 0.736);
  height: auto;
  padding-left: 20px;
  width: 100%;
}

.iconFooter a {
  color: #e8dada;
  font-size: 2rem;
  padding-right: 50px;
  transition: font-size 0.3s ease, color 0.3s ease;
}

.iconFooter a:hover {
  font-size: 2.2rem;
  color: #0056b3;
  transition: font-size 0.3s ease, color 0.3s ease;
}

/* Cookie Notice Styles */
#cookie-notice {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(40, 40, 40, 0.95); /* Dark background */
  color: #ffffff; /* White text */
  padding: 20px;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  transition: transform 0.5s ease-in-out;
}

#cookie-notice.hidden {
  transform: translateY(100%);
}

#cookie-notice p {
  margin: 0;
  flex: 1;
  text-align: left;
}

#cookie-notice a {
  color: #4caf50; /* Green for links */
  text-decoration: underline;
}

#cookie-notice a:hover {
  color: #6ecf70;
}

#cookie-notice .buttons {
  display: flex;
  gap: 10px;
}

#cookie-notice .btn {
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#cookie-notice .btn.accept {
  background-color: #4caf50; /* Green Accept button */
  color: #ffffff;
}

#cookie-notice .btn.accept:hover {
  background-color: #6ecf70;
}

#cookie-notice .btn.reject {
  background-color: #ff4d4d; /* Red Reject button */
  color: #ffffff;
}

#cookie-notice .btn.reject:hover {
  background-color: #ff7575;
}

/* ==================================================
   Responsive Styles
   ================================================== */
@media (max-width: 992px) {
  .navbar-brand img {
    max-height: 70px;
  }
  .card {
    width: 100%;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .navbar {
    padding: 5px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 0.9rem;
  }

  .navbar {
    padding: 5px;
    height: auto;
  }
}

@media (max-width: 576px) {
  .logo-img {
    height: 30px;
  }

  .navbar {
    padding: 5px;
    height: auto;
  }

  .nav-link {
    font-size: 0.9rem;
    padding-right: 0;
  }

  footer p {
    font-size: 0.7rem;
  }

  .link-card img {
    width: 100%;
  }
}
