/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding-top: 90px;
  background-color: #f4f4f9;
}

html, body { scroll-behavior: smooth; height: 100%; } 

h2, h3 {
  color: #333;
}

section {
  padding: 60px 0;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

/* Navbar */
 @media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0;
    }
  }
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7); /* Fundal alb, 70% opac */
  backdrop-filter: blur(10px); /* Efect de blur pentru un look modern */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Linie subtilă */
  padding: 15px 0;
}
.navbar:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Stilizarea fontului */
.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  position: relative;
  text-decoration: none;
  padding: 5px 0;
}

/* Linie animată la hover */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease-in-out;
}

.navbar-nav .dropdown-toggle::after {
  display: none;
}
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 10px); /* Se ajustează 10px în jos */
  display: none;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  min-width: 200px;
  text-align: center;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Logo */
.logo-navbar {
  height: 50px; /* Poți ajusta între 40px - 60px în funcție de design */
}

/* Ajustare distanță între elemente */
.navbar-nav {
  display: flex;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  background: url('../images/hero_bg.png') no-repeat center center;
  background-size: cover;

  
  color: white;
  padding: 120px 0;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
	text-shadow: 
		-0.5px -0.5px 0 black,  
		 0.5px -0.5px 0 black,  
		-0.5px  0.5px 0 black,  
		 0.5px  0.5px 0 black;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 3px;

}

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Portfolio */
.portfolio .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio .card:hover .card-img-top {
  transform: scale(1.1);
}

.card-body {
  padding: 20px;
}

.card-body h5 {
  font-size: 1.25rem;
  font-weight: bold;
}

/*services card*/
.servicii .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.servicii .card:hover .card-img-top {
  transform: scale(1.1);
}

.card-body {
  padding: 20px;
}

.card-body h5 {
  font-size: 1.25rem;
  font-weight: bold;
}

/* About Us */
.about-us .card {
  margin-bottom: 30px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.card-body:hover {
  background-color: #f1f1f1;
}

.card-title {
  font-size: 1.2rem;
}

.card-text {
  font-size: 1rem;
}

/* Contact Form */
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
}

.contact-form button {
  background-color: #0056b3;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.contact-form button:hover {
  background-color: #f39c12;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scaleUp {
  0% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
/* Modificăm culoarea linkurilor pe întreg site-ul */
a {
  color: #225785; /* Culoarea dorită pentru linkuri */
  text-decoration: none; /* Eliminăm sublinierea implicită */
}

a:hover, a:focus {
  color: #1A4C6D; /* Culoare mai închisă la hover pentru linkuri */
  text-decoration: underline; /* Adăugăm subliniere pe hover */
}

/* Modificăm culoarea navbar linkurilor */
.navbar-dark .navbar-nav .nav-link {
  color: #FFFFFF; /* Culoare albă pentru linkurile din navbar */
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #FFD700; /* Culoare galbenă pentru hover în navbar */
}

/* Modificăm culoarea caruselului pentru indicatori */
.carousel-indicators li {
  background-color: #225785; /* Culoare indicatori */
}

/* Modificăm butoanele pentru carusel */
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: #225785; /* Culoare butoane */
}

/* Modificăm culoarea fundalului caruselului */
.carousel-item img {
  border-radius: 5px;
}

/* Modificăm fundalul butoanelor */
.btn-primary {
  background-color: #225785;
  border-color: #225785;
}

.btn-primary:hover {
  background-color: #1A4C6D;
  border-color: #1A4C6D;
}

/* Modificăm culoarea fundalului pentru footer */
footer {
  background-color: #225785;
  color: white;
}

/* Modificăm linkurile din footer */
footer a {
  color: #FFD700; /* Culoare galbenă pentru linkurile din footer */
}

footer a:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* 3. Hero — mai compact pe mobil */
@media (max-width: 768px) {
  .hero {
    padding: 80px 1rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* 4. Reduce decalajul între secțiuni pe mobil */
@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
}
