/* ==== Reset & Font ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Exo 2', sans-serif;
  background-color: #FADF14;
  color: black;
  scroll-behavior: smooth;
}

/* ==== Navbar ==== */
.navbar {
  padding: 1% 0;
  background-color: #000;
}

.navbar-brand,
.nav-item a {
  color: #FADF14;
  font-weight: bold;
}

.nav-item a:hover {
  color: white;
}

/* ==== Home Section ==== */
#home {
  background: url("resources/images/mobilebanner.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  display: table;
  height: 100vh;
  width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.landing-text {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.landing-text h1 {
  font-size: 6rem;
  font-weight: bold;
  color: #FADF14;
  animation: pulse 3s infinite;
}

.landing-text h3 {
  color: #FADF14;
  font-weight: bold;
  padding-bottom: 30px;
}

.phone-number {
  color: #FADF14;
  font-weight: bold;
}

.landing-text2 a {
  color: #FADF14;
  font-size: 1.2rem;
  margin: 0 15px;
  text-decoration: none;
}

.landing-text2 i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* ==== Banner Split (Imagine între secțiuni) ==== */
.banner-split {
  background: url("resources/images/customer-banner.jpg") no-repeat center center;
  background-attachment: scroll;
  background-size: cover;
  height: 500px;
  width: 100%;
}
.last-banner-split {
  background: url("resources/images/thirdbanner.jpg") no-repeat center center;
  background-attachment: scroll;
  background-size: cover;
  height: 500px;
  width: 100%;
}

/* ==== Carousel ==== */
#carusel-section {
  background: transparent;
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

#carusel-section .overlay {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: black;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-cards {
  display: flex;
  transition: transform 0.2s ease-in-out;
}

.card {
  min-width: 400px;
  margin: 0 15px;
  background: #FADF14;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.2s;
  box-shadow: 0 0 20px 5px rgba(250, 223, 20, 1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.card h5 {
  margin-top: 10px;
  font-weight: bold;
  color: black;
}

.card.active {
  transform: scale(1.05);
  z-index: 2;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: black;
  transition: background-color 0.3s;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: whitesmoke;
}

/* ==== General Padding Section ==== */
.padding {
  padding: 80px 0;
}

/* ==== Filtru + Dece Section ==== */
#firstP,
#secondP {
  font-size: 1.1rem;
  font-weight: 600;
  color: black;
}

#secondP h2,
#firstP h2 {
  color: black;
  font-weight: bold;
}
#filtru {
  background-color: #FADF14;
  padding: 80px 0;
}
.dropdown-menu{
  background-color: black;
  }
.dropdown-menu li a:hover {
  color: black;
}
.container-filtru {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  flex-wrap: wrap;
}

.text-filtru {
  flex: 1;
  max-width: 500px;
  font-family: 'Exo 2', sans-serif;
  color: #000;
}

.text-filtru h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
  font-weight: bold;
}

.text-filtru p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.img-filtru {
  flex: 1;
  max-width: 500px;
}

.img-filtru img {
  width: 100%;
  height: auto;
}
#avantaje {
  background-color: #FADF14;
  padding: 80px 0;
}

.container-avantaje {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  flex-wrap: wrap;
}

.text-avantaje {
  flex: 1;
  max-width: 500px;
  font-family: 'Exo 2', sans-serif;
  color: #000;
}

.text-avantaje h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
  font-weight: bold;
}

.text-avantaje p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.img-avantaje {
  flex: 1;
  max-width: 500px;
}

.img-avantaje img {
  width: 100%;
  height: auto;
}
.phone-link {
  color: #fce700;
  /* galbenul tău personalizat */
  font-weight: bold;
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
}

.phone-link:hover {
  text-decoration: underline;
}
/* ==== Footer ==== */
footer {
  background-color: #000;
  color: #FADF14;
  padding: 40px 20px;
  font-size: 2rem;
}

footer h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

footer i {
  margin-right: 8px;
}

footer .fa-brands {
  font-size: 5rem;
  color:white;
  margin: 10px;
}

footer .fa-brands:hover {
  color: #FADF14;
}

.icon {
  max-width: 100%;
  margin: 5px;
}


/* ==== Animations ==== */
@keyframes pulse {
  0% {
    text-shadow: 0 0 10px black;
  }

  50% {
    text-shadow: 0 0 30px black;
  }

  100% {
    text-shadow: 0 0 10px black;
  }
}
    /* CENTRARE FILTRU ȘI AVANTAJE PE TELEFON */
    .container-filtru,
    .container-avantaje {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
    }
  
    .text-filtru,
    .text-avantaje {
      max-width: 100%;
    }
  
    .img-filtru,
    .img-avantaje {
      max-width: 280px;
      margin-top: 20px;
    }
  
    .img-filtru img,
    .img-avantaje img {
      width: 100%;
      height: auto;
    }
/* ==== Responsive ==== */
@media (max-width: 768px) {
  .landing-text h1 {
    font-size: 2.5rem;
  }
  .carousel-dots {
    display: none;
  }
  .carousel-cards {
    flex-wrap: nowrap;
  }
  
  #home {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    padding: 160px 0 160px 0;

  }

  #filtru,
  #avantaje,
  #carusel-section {
    padding: 60px 0;
  }

  #carusel-section .overlay {
    padding: 40px 10px;
  }

  .container-filtru,
  .container-avantaje {
    padding: 0 20px;
    gap: 30px;
  }
  .banner-split {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;


  }
  .last-banner-split {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;


  }
  .card {
    min-width: 260px;
    margin: 0 10px;
  }
}