/**
 * Internal Linking Styles
 * Styles for breadcrumbs, contextual links, and navigation cards
 */

/* ===== BREADCRUMBS ===== */
.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--skyworld-orange);
}

.breadcrumb-sep {
    color: #444;
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: var(--skyworld-orange);
    font-weight: 600;
}

/* ===== CONTEXTUAL LINKS ===== */
.contextual-links-section {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.contextual-links-title {
    font-family: 'SkyFont', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--skyworld-orange);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contextual-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.contextual-link-item {
    position: relative;
}

/* Remove default list bullets - we have arrows inside */
.contextual-link-item::before {
    content: none !important;
    display: none !important;
}

.contextual-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contextual-link:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--skyworld-orange);
    transform: translateX(5px);
}

.link-icon {
    color: var(--skyworld-orange);
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.contextual-link:hover .link-icon {
    transform: translateX(3px);
}

.link-text {
    flex: 1;
}

/* ===== NAVIGATION CARDS ===== */
.site-navigation-cards {
    padding: 6rem 2rem;
    background: #0a0a0a;
}

.site-navigation-cards .container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-navigation-cards .section-title {
    font-family: 'SkyFont', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--skyworld-orange);
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navigation-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.nav-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--skyworld-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-card:hover {
    border-color: var(--skyworld-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card-icon {
    color: var(--skyworld-orange);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.nav-card:hover .nav-card-icon {
    opacity: 1;
    transform: scale(1.1);
}

.nav-card-title {
    font-family: 'SkyFont', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-card-description {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.nav-card-arrow {
    color: var(--skyworld-orange);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-card:hover .nav-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RELATED CONTENT SECTION ===== */
.related-content-section {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.related-content-title {
    font-family: 'SkyFont', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--skyworld-orange);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.related-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-content-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-content-card:hover {
    border-color: var(--skyworld-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.15);
}

.related-content-label {
    font-size: 0.75rem;
    color: var(--skyworld-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-content-name {
    font-family: 'SkyFont', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.related-content-meta {
    color: #888;
    font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contextual-links-section {
        padding: 1.5rem;
    }
    
    .contextual-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .site-navigation-cards {
        padding: 4rem 1rem;
    }
    
    .navigation-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-card {
        padding: 2rem 1.5rem;
    }
    
    .related-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8125rem;
    }
    
    .contextual-links-title {
        font-size: 1.125rem;
    }
}

