@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* LOGIN / SINGIN HTML */

.navbar {
    padding: 1rem 0;
}

.card {
    border: none;
    border-radius: 15px;
}

.card-body {
    padding: 2rem;
}

.form-control {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px #007bff80;
}



.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.text-muted {
    font-size: 0.9rem;
}

.text-decoration-none {
    color: #007bff;
}

.text-decoration-none:hover {
    text-decoration: underline;
}

.div-span{
    display: flex;
    justify-content: center;
    flex: 1;
    cursor: pointer;
}


/* INDEX,HTML */
.login-btn {
    border: 2px solid white;
    padding: 10px;
    border-radius: 8px;
    transition: all 1s ease-in-out;
}

.login-btn:hover {
    background-color: white;
    color: #007bff !important;
    border-color: #007bff;
}


    /* Search Bar */
    .search-bar {
        max-width: 550px;
        margin: 20px auto;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
      }

      .input-group-text {
        background: linear-gradient(135deg, #007bff, #00c6ff);
        color: white;
        border: none;
      }

 

      /* Product Card */
      .card {
        border: none;
        box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.2);
        transition: transform 1s ease, box-shadow 1s ease;
        border-radius: 12px;
        overflow: hidden;
      }

      .card:hover {
        transform: scale(1.05);
        box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25);
      }

      .card-img-top {
        border-bottom: 2px solid #007bff;
      }

/* Product Cards Styling */
.card {
  transition: transform 1s ease, box-shadow 1s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-image-wrapper {
  overflow: hidden;
}

.card-image-wrapper img {
  transition: transform 1s ease;
}

.card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.quick-actions {
  transform: translateY(100%);
  transition: transform 1s ease;
}

.card:hover .quick-actions {
  transform: translateY(0);
}

.price-badge {
  font-weight: bold;
  padding: 8px 12px;
}

.description-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em;
}

.btn-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  transition: background 1s ease;
}

.btn-light:hover {
  background: #ffffff;
}

/* Add smooth transition for heart icon */
.fa-heart {
  transition: color 1s ease;
}

.text-danger .fa-heart {
  animation: heartBeat 1s ease;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Badge styling */
.badge {
  padding: 0.5em 0.8em;
  font-weight: 500;
}

.bg-light {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Card title */
.card-title {
  font-weight: 600;
  color: #2c3e50;
}

/* Star rating */
.text-warning {
  color: #ffc107 !important;
}

/* Border top */
.border-top {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

