/* Padding between the image-container and the cards */
.container {
    margin-top: 20px;
}

/* Container layout for logos */
.image-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image {
    width: auto;
    height: 100px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Basic styles for the cards */
.tech-card {
    margin: 0 auto;
    padding: 2em;
    background: #ffffff; /* Light card background */
    color: #000000;
    border: none;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

/* Animation properties */
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Animated border */
.tech-card::after,
.tech-card::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(
        from var(--angle),
        var(--border-color, #ff4545) 25%,
        transparent 100%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1; /* Behind the card content */
    padding: 3px;
    border-radius: 10px;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

/* Blur effect for glow */
.tech-card::before {
    filter: blur(1.5rem);
    opacity: 0;
}

/* Hover to trigger animation */
.tech-card:hover::after,
.tech-card:hover::before {
    opacity: 1;
    animation: spin 3s linear infinite;
}

/* Keyframe animation */
@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

/* Dynamic border colors based on status */
.tech-card {
    --border-color: {{ $website->status === 'Online' ? 'cyan' : 'red' }};
}
/* Card content */
.card-logo {
    z-index: 2;
    position: relative;
    max-width: 80px;
    height: 80px;
    object-fit: contain;
}

.tech-card h5 {
    z-index: 2;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 600;
}

.tech-card span {
    z-index: 2;
    font-size: 0.9rem;
}


/* Link card hover effect */
.link-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #2b2d42, #3a3f58);
    border-radius: 15px;
    padding: 20px;
}

.link-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-link {
    text-decoration: none;
}

/* Status indicators */
.status-online {
    color: cyan;
}

.status-offline {
    color: red;
    font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
        gap: 20px;
    }

    .image {
        width: 150px;
    }

    .card-logo {
        max-width: 60px;
        height: 60px;
    }
}
