body {
   margin: 0;
   font-family: sans-serif;
   margin: 0;
   padding-top: 60px !important;
 }
 .df{
  display: flex;
  align-items: flex-end;
 }



 footer{background-color: #666;}
 
 .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}


.product-card {
  
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
  border-radius: 1px;
  background: #fdfdfd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: border 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.02); /* optional, pentru efect vizual ușor */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}


.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}


#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  color: white;
  padding: 15px;
  z-index: 1000;
  font-size: 14px;
}
.cookie-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-buttons button {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  background: #00a651;
  color: white;
  border-radius: 4px;
}
.cookie-buttons button:last-child {
  background: #888;
}

/* Footer general */
.site-footer {
  background-color: #333;
  color: white;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Carduri din footer */
.site-footer .procuct_card {
  flex: 1;
  min-width: 200px;
}

.site-footer h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
}

/* Linkuri din footer */
.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Secțiunea de jos cu copyright */
.site-footer > div:last-child {
  text-align: left;
  margin-top: 30px;
  font-size: 14px;
  color: #ccc;
}

.product-cards-container {
  display: flex;
  justify-content: center;         /* centrează pe orizontală */
  align-items: stretch;            /* aliniere pe verticală (egală) */
  flex-wrap: wrap;                 /* permite trecerea pe rând nou dacă ecranul e mic */
  gap: 40px;                       /* distanță între carduri */
  margin: 40px auto;               /* margini verticale și centru orizontal */
  max-width: 1200px;               /* pentru control pe lățime */
}
.prices_calculated{
  margin-top: 0; 
  font-size: 0.9rem; 
  color: #555;
}
  .market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 1px auto;
    width: 80%;
  }

  .market {
    text-align: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .market img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
  }

  .market h3 {
    font-size: 1.2rem;
    margin-top: 10px;
  }

/* /* 
  .contacte {
    width: 100%;
    border-collapse: collapse;
  } */



  iframe {
    width: 100%;
    height: 250px;
    margin-bottom: 15px;
    border: 0;
  }
  
  
  .banner {
    position: relative;
    width: 100%;
    height: 100%;        /* ocupă toată înălțimea div-ului din dreapta */
    overflow: hidden;
    background: #fff;    /* fundal alb pentru claritate */
    display: flex;
    align-items: center; /* centrează vertical */
    justify-content: center; /* centrează orizontal */
}

.banner img {
    max-width: 90%;      /* logo să nu iasă din lățimea containerului */
    max-height: 80%;     /* logo să nu depășească înălțimea */
    object-fit: contain;
    position: absolute;
    opacity: 0;
    animation: fade 20s infinite;
}

.banner img:nth-child(1) { animation-delay: 0s; }
.banner img:nth-child(2) { animation-delay: 4s; }
.banner img:nth-child(3) { animation-delay: 8s; }
.banner img:nth-child(4) { animation-delay: 12s; }
.banner img:nth-child(5) { animation-delay: 16s; }

@keyframes fade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { opacity: 0; }
    100% { opacity: 0; }
}

.page {
  min-height: 1000px;
}

/* Banner general */
.banner {
  display: flex;
  width: 100%;
  height: 350px;
  padding: 0 10px;
}

/* Stânga */
.banner-left {
  flex: 0 0 80%;
  background: url('/img/face.jpg') center/cover no-repeat;
  position: relative;
  height: 350px;
}

/* Dreapta */
.banner-right {
  flex: 0 0 20%;
  border: 0.5px solid #999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-right img {
  max-width: 90%;
  height: auto;
}

/* Credits */
.credits-container {
  position: absolute;
  left: 100px;
  top: 30px;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.credits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  bottom: -100%;
  animation: rollCredits 12s linear infinite;
}

.credits h1 {
  margin: 20px 0;
  color: white;
  font-size: 32px;
  -webkit-text-stroke: 1px black;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

@keyframes rollCredits {
  0%   { bottom: -100%; }
  100% { bottom: 100%; }
}

/* Spațiu între secțiuni */
.spacer {
  height: 64px;
}

/* Grid carduri */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 70%;
  margin: auto;
}

.card {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.card-img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px; /* înălțime fixă, uniformă pentru toate siglele */
  padding: 10px;
}

.card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}


.card-img.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body {
  padding: 15px;
}

.card-body h2 {
  margin: 0 0 10px;
}

.card-body p {
  margin: 0;
}

/* Carduri care ocupă 2 coloane */
.card.span2 {
  grid-column: span 2;
}

.brands-banner{
  flex: 0 0 20%; 
   display:flex; align-items:center;
   justify-content:center;
}
.face{
  flex: 0 0 80%; 
  background: url('/img/face.jpg') center/cover no-repeat;
  position:relative;
  height: auto"
}
.brands-container{
  display: flex;
  flex-wrap: wrap; 
  gap: 20px;
  width: 80%;
  margin: auto;
  justify-content: center;

}

.boxshadow {
  background: #fff;
  width:200px ;
  height: auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boxshadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-img {
  display: flex;                 /* facem containerul flex */
  align-items: center;           /* vertical pe mijloc */
  justify-content: center;       /* orizontal pe mijloc */
  height: 200px;                 /* înălțime fixă a zonei pentru logo */       
  padding: 15px;
}

.card-img img {
  max-width: 100%;               /* nu depășește lățimea containerului */
  max-height: 100%;              /* nu depășește înălțimea containerului */
  object-fit: contain;           /* păstrează proporțiile */
}


.card-body {
  padding: 20px;
  text-align: center;
}

.card-body h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #222;
}

.card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.header-picture{
 display: flex; 
 width: 100%;
 height: 350px;

}
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* elimină scroll orizontal */
}

.home-page {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.contact-list{
  font-weight: bold;
}
.contact-header{
  width:80%; 
   margin:auto; 
   background-color: #00a651;
   color:#fff;
   padding:0 20px;

}
.contact-body {
  width:80%; 
  margin:auto; 
  display: flex;           /* pune div-urile orizontal */
  gap: 20px;               /* spațiu între tabel și hărți */
  align-items: flex-start; /* aliniază sus ambele coloane */
}
.contact-table {
  flex: 0 0 50%;   
  padding-right: 50px;        /* tabelul ocupă ~40% din lățime */
}
.contact-map{
  flex: 1; 

  flex-direction: row;
}





.contacte th, .contacte td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid #ddd;
} 

.category-filters label {
  display: block;
  padding: 5px;
  cursor: pointer;
}

.category-filters label.active-category {
  font-weight: bold;
  color: #fff;       /* albastru */
  background-color: #007BFF; /* fundal deschis */

  text-align: center;
}
.nav-left{
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}


.service {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 20px;
}

/* Coloane */
.service aside {
  width: 30%;
  padding: 40px;
  background: #f9f9f9;
  box-sizing: border-box;
}

.service section {
  width: 70%;
  padding: 40px;
  box-sizing: border-box;
  background: #fff;
  border-left: 1px solid #ddd;
}

/* Banner */
#service-banner-banner {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

#service-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 1s ease-in-out;
}

/* Tabel servicii */
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.service-table th, .service-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.service-table tr:hover{
background-color: #dddddd;
}



/* Butoane de paginare */
.pagination a {
  padding: 8px 14px;
  margin: 3px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
}

.pagination a:hover {
  background: #007BFF;
  color: white;
}

