/* ===================================
   Barbershop List & Detail Styles
   =================================== */

/* --- Hero Section --- */
.barbershop-hero {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 100px 0 50px;
    text-align: center;
}

.barbershop-hero h1 {
    font-weight: 700;
}

.barbershop-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Barbershop Card --- */
.barbershop-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.barbershop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.barbershop-card-image-link {
    display: block;
    height: 200px;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.barbershop-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barbershop-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ced4da;
    font-size: 3.5rem;
}

.barbershop-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.barbershop-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #343a40;
}

.barbershop-card-info {
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.barbershop-card-info i {
    color: #d4af37;
}

.barbershop-card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.barbershop-card-rating .stars {
    color: #d4af37;
}

.barbershop-card-rating .review-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.barbershop-card-actions {
    margin-top: auto; /* Pushes buttons to the bottom */
    display: flex;
    gap: 10px;
}

.btn-barbershop-primary {
    background-color: #d4af37;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    flex: 1;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn-barbershop-primary:hover {
    background-color: #c5a02d;
    color: #333;
}

.btn-barbershop-secondary {
    background-color: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-barbershop-secondary:hover {
    background-color: #d4af37;
    color: white;
}



/* --- Service Item --- */
.service-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease;
}

.service-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.service-item-name {
    font-weight: 600;
    color: #343a40;
    font-size: 1.15rem;
}

.service-item-price {
    background-color: #d4af37;
    color: #333;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

.service-item-description {
    color: #6c757d;
    margin-bottom: 10px;
}

.service-item-duration {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Review Item --- */
.review-item {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.review-item:first-child {
    padding-top: 0;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-item-customer {
    font-weight: 600;
    color: #343a40;
}

.review-item-rating .stars {
    color: #d4af37;
}

.review-item-comment {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 10px;
}

.review-item-date {
    color: #6c757d;
    font-size: 0.9rem;
}

/* --- Sidebar Widgets --- */
.sidebar-widget {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.sidebar-widget-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-widget-title i {
    color: #d4af37;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #495057;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list i {
    color: #d4af37;
    width: 20px;
    margin-top: 4px;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    color: #e9ecef;
    margin-bottom: 15px;
}


/* --- No Barbershops Found --- */
.no-barbershops {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-barbershops i {
    font-size: 4rem;
    color: #e9ecef;
    margin-bottom: 20px;
}
