/* Custom styles for AI Learning Lab */

/* Hero image styling */
.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    display: block;
}

.hero-image-large {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-large:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Hero container improvements */
.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 300px;
}

.hero-right {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

/* Resource grid styling */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.resource-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    transition: transform 0.2s ease;
}

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

.resource-card h3 {
    margin-top: 0;
    color: #007bff;
}

.resource-card a {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.resource-card a:hover {
    background: #0056b3;
}

/* Social buttons */
.social-buttons {
    text-align: center;
    margin: 30px 0;
}

.social-icon {
    display: inline-block;
    margin: 0 10px;
    padding: 12px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s ease;
}

.social-icon:hover {
    background: #007bff;
    transform: scale(1.1);
}

/* Table improvements */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f5f5f5;
}

/* Button improvements */
.md-button {
    margin: 10px 5px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.md-button--primary {
    background: #007bff;
    color: white;
}

.md-button--primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .hero-image-large {
        max-width: 100%;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Add some nice animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container,
.resource-grid,
table {
    animation: fadeInUp 0.6s ease-out;
} 