/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px 20px 80px 20px;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.header p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 20px;
}

.header .tagline {
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

/* Content */
.content {
    padding: 50px 40px;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Initiatives Grid */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.initiative-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef5 100%);
    border: 2px solid #1e3c72;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.initiative-card:hover {
    box-shadow: 0 8px 16px rgba(30, 60, 114, 0.15);
    transform: translateY(-5px);
    border-color: #2a5298;
}

.initiative-card h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 12px;
}

.initiative-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.initiative-card a {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.initiative-card a:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.25);
}

/* Supporters Section */
.supporters-section {
    background: #f9fafb;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.supporters-section h2 {
    border: none;
    padding-bottom: 0;
    margin-bottom: 30px;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.supporter-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.supporter-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 60px;
}

.supporter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.supporter-card h4 {
    font-size: 16px;
    color: #1e3c72;
    margin-bottom: 8px;
    font-weight: 700;
}

.supporter-card a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.supporter-card a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.supporter-category {
    font-size: 12px;
    color: #2a5298;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.supporter-card p {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

.supporter-description {
    font-size: 12px;
    color: #999;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.supporter-visit {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #f0f4f8;
    color: #2a5298;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.supporter-visit:hover {
    background: #2a5298;
    color: white;
}

/* About Section */
.about-section {
    background: #f0f4f8;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #1e3c72;
}

.about-section h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.about-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin-top: 60px;
    padding: 40px 20px 20px;
    z-index: 1000;
    border-top: 2px solid #a8d8ff;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #a8d8ff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #e8f0f8;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffffff;
    padding-left: 4px;
    text-decoration: underline;
}

footer a {
    color: #a8d8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(168, 216, 255, 0.3);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.footer-info p {
    font-size: 12px;
    margin: 4px 0;
    opacity: 0.9;
}

.footer-contact p {
    font-size: 12px;
    margin: 0;
}

.footer-contact a {
    color: #a8d8ff;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Areas by Postcode */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.area-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f4f8 100%);
    border: 2px solid #1e3c72;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.area-card:hover {
    box-shadow: 0 8px 16px rgba(30, 60, 114, 0.15);
    transform: translateY(-3px);
    border-color: #2a5298;
}

.area-code {
    display: inline-block;
    background: #1e3c72;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.area-card h3 {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 700;
}

.area-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.area-link {
    display: inline-block;
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.3s ease;
}

.area-link:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.area-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.area-title {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    font-weight: 700;
}

.area-title .postcode {
    font-size: 14px;
    background: #f0f4f8;
    padding: 4px 8px;
    border-radius: 4px;
    color: #2a5298;
    margin-left: 10px;
}

/* Recommendations Section */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.rec-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.rec-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e8eef5 0%, #f0f4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-icon {
    width: 50px;
    height: 50px;
}

.rec-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rec-category {
    font-size: 12px;
    color: #2a5298;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.rec-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.rec-card h3 a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.rec-card h3 a:hover {
    color: #2a5298;
}

.rec-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.rec-visit {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #f0f4f8;
    color: #2a5298;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.rec-visit:hover {
    background: #2a5298;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 40px 20px;
    }

    .header h1 {
        font-size: 28px;
    }

    .header p {
        font-size: 16px;
    }

    .content {
        padding: 30px 20px;
    }

    .supporters-grid {
        grid-template-columns: 1fr;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    body {
        padding: 20px 20px 20px 20px;
    }

    .initiatives-grid {
        grid-template-columns: 1fr;
    }
}
