/* Basic reset and dark theme */
body {
    background-color: #000000;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-weight: 200;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #cccccc;
}

main {
    flex-grow: 1;
}

/* The container for all the service logos */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 1600px;
    margin: 0 auto;
    column-gap: 0.2rem;
    row-gap: 2rem;
}

/* Styling for the links and images */
.service-link {
    display: block;
    border-radius: 16px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    background-color: transparent;
    border: 1px solid transparent;
    opacity: 0.8;

    /* --- CHANGED --- Switched to a widescreen aspect ratio */
    aspect-ratio: 16 / 9;
}

.service-link:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.service-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    box-sizing: border-box;
}

footer {
    text-align: center;
    margin-top: 3rem;
    color: #555;
    font-weight: 300;
}