/* Shared Hero Component Styles */

.hero {
    padding: 5rem 0 1rem;
    position: relative;
    margin-top: 0;
    background: linear-gradient(135deg, rgba(240, 238, 115, 0.08) 0%, rgba(240, 238, 115, 0.03) 100%);
    border-bottom: 1px solid rgba(240, 238, 115, 0.15);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, rgba(240, 238, 115, 0.12) 0%, rgba(240, 238, 115, 0.05) 100%);
    border-bottom: 1px solid rgba(240, 238, 115, 0.2);
}

.hero .container {
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-left: 170px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-content h1 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.hero-content .subtitle {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 400;
    margin: 0;
    background-color: transparent;
    display: block;
    padding: 0;
    border-radius: 0;
    line-height: 1.4;
}

.quick-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
}

.quick-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: transparent;
    opacity: 0.7;
}

.quick-links a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    opacity: 1;
    background-color: rgba(240, 238, 115, 0.15);
    transform: translateY(-1px);
}

.quick-links a:hover img {
    transform: scale(1.05);
}

/* Invert logo colors in dark mode */
[data-theme="dark"] .quick-links a img {
    filter: invert(1);
}

/* Responsive Hero */
@media (max-width: 1105px) {

    /* When hamburger appears, change layout */
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding-left: 0;
    }

    .hero-text {
        align-items: center;
        order: 1;
    }

    .quick-links {
        order: 2;
    }
}

@media (max-width: 768px) {

    /* Extra top padding on mobile for sticky navbar */
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 5.5rem 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.25rem;
    }

    .hero-content .subtitle {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .quick-links a {
        width: 28px;
        height: 28px;
    }

    .quick-links a img {
        width: 20px;
        height: 20px;
    }
}