/* ==========================================================
   UTILITIES.CSS - Helper classes and reusable utilities
   ========================================================== */

/* ---------------------------------------------------------
   Text utilities
   --------------------------------------------------------- */
.no-wrap {
    white-space: nowrap;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------------------------------------------------------
   Background utilities
   --------------------------------------------------------- */
.custom-bg {
    background: linear-gradient(135deg, #fffefb 0%, #f9f6ef 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a221a 100%);
}

/* ---------------------------------------------------------
   Badge utilities
   --------------------------------------------------------- */
.badge-green {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.35rem 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 400;
    display: inline-block;
}

/* ---------------------------------------------------------
   Shadow utilities
   --------------------------------------------------------- */
.shadow-custom {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------------------
   Hover effects - Reusable
   --------------------------------------------------------- */
/* Generic hover shadow (cards, reviews) */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Hover for cards - Light version */
.hover-card-light {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Hover for cards - Strong version */
.hover-card-strong {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card-strong:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Hover for buttons */
.hover-btn {
    transition: all 0.3s ease;
}

.hover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
