﻿/* Site Links and Cards Styles */
.site-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 0;
    gap: 20px; /* Adds space between cards */
}

.site-card-link {
    flex: 1 1 calc(33.333% - 40px); /* Adjust the percentage based on the desired number of cards per row */
    text-decoration: none;
    margin: 10px;
    box-sizing: border-box;
}

.site-card {
    display: flex;
    flex-direction: column;
    background-color: #3b4b5c; /* Darker background for a steampunk look */
    border: 2px solid #d4af37; /* Gold border */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: url('/images/texture.png'); /* Background texture to simulate metal */
    background-size: cover;
}

    .site-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
    }

.site-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: transparent; /* Slightly lighter background for contrast */
    border-bottom: 2px solid #d4af37; /* Gold border */
    border-radius: 10px 10px 0 0; /* Rounded corners on top */
}

.site-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.site-details {
    flex: 2;
    padding: 10px;
    color: #f4f4f4;
    background: #1f4939;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
}

.card-site-title {
    margin: 0;
    font-size: 1.5rem;
    color: #d4af37; /* Gold color for the title */
    font-family: 'Times New Roman', serif; /* Elegant, vintage font */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.site-description {
    margin: 10px 0;
    font-size: 1rem;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .site-card-link {
        flex: 1 1 calc(33% - 40px); /* Two cards per row */
    }
}

@media (max-width: 768px) {
    .site-card-link {
        flex: 1 1 calc(50% - 40px); /* One card per row */
    }
}
