/* =========================
   LAYOUT GENERAL
========================= */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f8f9fa;
}

main {
  flex: 1;
}


/* =========================
   TIPOGRAFIE
========================= */
h2 {
  font-weight: 700;
  color: #2c3e50;
  font-size: 1.8rem;
}

.card-title {
  font-weight: 600;
}

/* =========================
   COMPONENTE
========================= */

/* Thumbnails */
.thumbnail {
  cursor: pointer;
  transition: transform 0.25s ease;
  border: 2px solid #fff;
  width: 100%;
}
.thumbnail:hover {
  transform: scale(1.08);
  border-color: #0d6efd;
}

/* Carduri */
.card {
  border-radius: 1rem;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover {
  color: inherit;
}
  .card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: 0.2s ease;
  }
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Imagine mașină */
.car-img {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}

/* Lightbox */
#lightbox { 
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.9);
  text-align: center;
}
#lightbox img { 
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,.5);
}
#lightbox .close, 
#lightbox .prev, 
#lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}
#lightbox .close { top: 20px; right: 30px; transform: none; }
#lightbox .prev { left: 20px; }
#lightbox .next { right: 20px; }
#lightbox .prev:hover, 
#lightbox .next:hover, 
#lightbox .close:hover {
  color: #0d6efd;
}

/* Footer */
footer {
  margin-top: auto; /* Împinge footerul jos */
  background: #212529;
  color: #adb5bd;
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: #ffc107;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   ADAPTĂRI MOBILE
========================= */
@media (max-width: 768px) {
  h2 { font-size: 1.4rem; }
  .card-body { font-size: 0.95rem; }
  .navbar-brand { font-size: 1rem; }
}

        .contact-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px 0; /* spațiu sus și jos */
        }

        .contact-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            padding: 25px 35px;
            max-width: 500px;
            width: 100%;
        }

        .contact-card h3 {
            font-weight: bold;
            margin-bottom: 15px;
            text-align: center;
        }

        .contact-item {
            margin: 12px 0;
            font-size: 16px;
        }

        .contact-item i {
            margin-right: 10px;
            color: #007bff;
        }
		