/* Custom overrides for Dylan Levsey personal website */

/* Hero section on home page */
.hero-section {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-section .tagline {
    font-size: 1.2rem;
    color: var(--pst-color-text-muted);
    margin-bottom: 2rem;
}

/* Download button styling */
.download-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--pst-color-primary);
    color: white !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: var(--pst-color-primary-highlight);
}

/* Card hover effects */
.sd-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card image thumbnails */
.sd-card .sd-card-img-top {
    object-fit: cover;
    max-height: 200px;
}

/* Badge consistency */
.sd-badge {
    font-size: 0.75rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Plotly iframe container */
.plotly-iframe-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    border: 1px solid var(--pst-color-border);
    border-radius: 4px;
    overflow: hidden;
}

.plotly-iframe-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Figure gallery spacing */
.sd-row .sd-col figure {
    margin-bottom: 1rem;
}

.sd-row .sd-col figure figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--pst-color-text-muted);
}
