/* ===== General ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa; /* very light gray */
    color: #2c3e50; /* dark charcoal */
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px 20px;
}

/* ===== Header ===== */
h1 {
    text-align: center;
    color: #1f2a38; /* deeper charcoal */
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

/* ===== Navigation ===== */
nav {
    text-align: center;
    margin-bottom: 40px;
}

nav a {
    display: inline-block;
    background-color: #4a90e2; /* muted professional blue */
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a:hover {
    background-color: #357ABD; /* slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* ===== Club Cards Grid ===== */
.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ===== Cards ===== */
.card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.card h4 {
    margin-top: 0;
    color: #1f2a38;
    font-weight: 600;
}

.card p {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ===== Card Buttons ===== */
.card .btn {
    margin-right: 8px;
    font-size: 0.9em;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.card .btn-primary {
    background-color: #4a90e2;
    border: none;
    color: white;
}

.card .btn-primary:hover {
    background-color: #357ABD;
}

.card .btn-success {
    background-color: #50b67c; /* muted green for professional look */
    border: none;
    color: white;
}

.card .btn-success:hover {
    background-color: #399163;
}

/* ===== Forms ===== */
form input, form textarea, form select, form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 0.95em;
}

form input:focus, form textarea:focus, form select:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 4px rgba(74,144,226,0.3);
}

form button {
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background-color: #357ABD;
    transform: translateY(-1px);
}

/* ===== Alerts ===== */
.alert {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background-color: #50b67c;
    color: white;
}

.alert-danger {
    background-color: #e74c3c;
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    nav a {
        display: block;
        margin-bottom: 10px;
    }
}