/* General Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6f61;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #ff6f61;
    color: #fff;
    border-radius: 5px;
}

/* Main Section Styling */
main {
    padding: 2rem;
    text-align: center;
    background-color: #f9fafb;
}

.barber-selection-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: #004c99;
    text-transform: uppercase;
}

/* Barber Cards */
.barber-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.barber-card {
    background-color: #fff;
    width: 250px;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.barber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.barber-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.barber-card h3 {
    font-size: 1.4rem;
    color: #004c99;
    margin-bottom: 0.5rem;
}

.barber-card p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* Footer Styling */
footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .barber-list {
        flex-direction: column;
        gap: 20px;
    }

    .barber-card {
        width: 90%;
    }
}
.barber-link {
    text-decoration: none;
    color: inherit; /* Inherit color styles from the parent */
}

.barber-card {
    background-color: #f1f3f5;
    width: 200px;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.barber-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
